Subject | Re: [firebird-support] garbage collect |
---|---|
Author | Ann Harrison |
Post date | 2015-04-05T17:07:57Z |
On Apr 5, 2015, at 11:23 AM, Nick Upson nu@... [firebird-support] <firebird-support@yahoogroups.com> wrote:
is there any effective difference between doing "gbak with gc" and"gbak without gc" and then "gfix -sweep"
Imagine that garbage collection takes enough time for fine thousand transactions to complete and each of those transactions makes three record versions obsolete. Neither gbak nor sweep can remove record versions made obsolete by the completion of a concurrent transaction.
So if you backup without garbage collection, your backup is quicker, sweep starts sooner and takes longer so those 15,000 old record versions continue moldering in your database.
If you backup with garbage collection and then sweep, the backup is slower, but the sweep starts later and can remove those unlovable record versions. Sort of a wash, rinse, repeat thing - if that phrase means anything to those who aren't elderly
Americans.
Cheers,
Ann
From sunny Sint Maarten.