Subject Re: [firebird-support] Re: sweep taking a long time
Author Ann W. Harrison
k_smith_000 wrote:
> --- In, "Ann W. Harrison"
> <aharrison@i...> wrote:
>>Don't bother sweeping a newly restored database. It's
>>already clean. And be careful of the -r switch, it
>>will overwrite an existing file.
> As far as I know gbak -g parameter stops garbage collection from
> running during backup, so even if I make restore after backup without
> garbage collection(gbak -b -g), I should perform sweep... (?)
Ah! Gbak gets only the most recent version of records that were
committed when it starts - it doesn't copy old versions, so there's
no need for a sweep.