Subject | Re: [ib-support] Record Count |
---|---|
Author | Woody |
Post date | 2001-11-07T21:35:48Z |
From: "Paul Reeves" <paul@...>
a report, a few extra seconds isn't really a big deal and no one should
notice it.
to have an accurate count of the number of records being printed.
Woody
> Not necessarily. Count has to literally count all the records. It has todo
> this because the engine cannot tell which records are visible to thecurrent
> transaction without actually visiting each of them. It will be quickerthan
> actually fetching all the records counted, but it might not feel like it.This
> is one of the few downsides of the MGA.So far, even counting thousands of records happens in seconds so while doing
a report, a few extra seconds isn't really a big deal and no one should
notice it.
>are
> That said, why do you need to do a count? What are you counting? The total
> rows in the table, or a subset? Do you know in advance what questions you
> going to ask? And how many users are involved in updating the database?If you want to show an accurate progression while printing reports, you need
to have an accurate count of the number of records being printed.
Woody