Subject | Re: Problem - growing DB size |
---|---|
Author | mysha_cz |
Post date | 2005-11-25T09:20:46Z |
It means, that I have still at about 170 trancations opened(not
committed or rolled back)?
--- In firebird-support@yahoogroups.com, Svein Erling Tysvær
<svein.erling.tysvaer@k...> wrote:
committed or rolled back)?
--- In firebird-support@yahoogroups.com, Svein Erling Tysvær
<svein.erling.tysvaer@k...> wrote:
>isn't
> 25000 or 75000 is not a 'massive' amount. I normally work with
> databases containing between 1 and 15 million records, and that
> even enough to be a big database in Firebird terms.architecture
>
> There is no way to turn off Firebirds multi generational
> (keeping several versions of each record), it is a fundamental partof
> the engine. What you should always try to do, is to not havefrom
> long-running transactions (i.e. don't start a transaction and wait
> several hours before committing). Your oldest active transaction is
> 528 and your next is 703, that means that inserts/updates/deletes
> about 170 transactions has to be kept. Now, there is no reason tothat
> worry (unless every transaction updates lots of records, and you
> update considerably less than 10000 records per transaction on
> average), if you committed or rolled back the oldest active
> transaction so that the number increased to e.g. 628, Firebird can
> reuse the space used by record versions from the 100 transactions
> are now obsolete.that
>
> That you have 25000 records and 75000 old versions, does not mean
> the number of old versions neccessarily will be higher when you have
> 2500000 records in your database (though you must take care of your
> transactions). Your indexes also seems fine.
>
> Set
>