Subject | Re: SWEEP vs Backup & Restore |
---|---|
Author | Alexander V.Nevsky |
Post date | 2004-05-05T18:08:56Z |
--- In firebird-support@yahoogroups.com, "Jerome Bouvattier"
<JBouvattier@I...> wrote:
If you mean Oldest Transaction movement and garbage collection - on
large databases usually sweep (if there are not TONS of garbage and
transactions gap is'nt measured in millions). For example, my 8Gb
database having several thousands gap is nightly sweeped in ~10
minutes, backup process require ~30 minutes and restore ~4 hours. If
you mean indices rebuilding too, including system ones, you need
backup with garbage collection switched off and restore.
Best regards,
Alexander.
<JBouvattier@I...> wrote:
> Hi again,"should" be
>
> Suppose I have exclusive access to my db, theoretically, what
> the quickest way to achieve a SWEEP : Straight SWEEP or Backup &Restore ?
If you mean Oldest Transaction movement and garbage collection - on
large databases usually sweep (if there are not TONS of garbage and
transactions gap is'nt measured in millions). For example, my 8Gb
database having several thousands gap is nightly sweeped in ~10
minutes, backup process require ~30 minutes and restore ~4 hours. If
you mean indices rebuilding too, including system ones, you need
backup with garbage collection switched off and restore.
Best regards,
Alexander.