Subject | Re: [firebird-support] performance question |
---|---|
Author | Ann W. Harrison |
Post date | 2004-04-17T16:40:13Z |
At 10:45 AM 4/17/2004, Sudheer Palaparambil wrote:
that generates the input records for the report without storing them back
on disk. Dropping the table is more efficient than deleting all the
records, though you might, in time, run into the 32K limit on internal
table ids.
Regards,
Ann
> I am using some tables (like sybase's temporaryThe mechanism best suited to firebird is to construct a stored procedure
>table) for report generation purpose. I usually
>delete all records from the table on calling
>the SP and fill the table again with the data and
>return the result set.
>
> My question is which one is best suited for FB ?
>To create and drop the table each time or delete
>the record each time ?
that generates the input records for the report without storing them back
on disk. Dropping the table is more efficient than deleting all the
records, though you might, in time, run into the 32K limit on internal
table ids.
Regards,
Ann