Subject | Re: record versions allways growing |
---|---|
Author | Fabrice Aeschbacher |
Post date | 2004-06-07T12:02:56Z |
> Apparently it does. :-) That is, if you plan to write anapplication that
> just updates the same record thousands and thousands of times.In fact, the actual application executes many different queries; among
>
> On the other hand, if your application updates multiple records in
> different tables, then garbage collection will clean up the old record
> versions and you won't see this slowdown you get by hammering the same
> record over and over.
>
> /heLen
them, there is some UPDATE queries, on a table having few records:
EVENTSUMMARY (140)
Primary pointer page: 254, Index root page: 255
Average record length: 68.75, total records: 12
Average version length: 22.53, total versions: 1461, max versions: 247
I noticed that the number of versions is only growing and never goes
down, that is, the (old) versions are never garbage collected. Hence
the test program I wrote.
I wondered for what reason the garbage collector does not start, given
that I have just one connection, and that I commit all transactions.
Best regards,
Fabrice Aeschbacher