Re: Backup and analyse

From: jdassen(at)cistron(dot)nl (J(dot)H(dot)M(dot) Dassen (Ray))
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Backup and analyse
Date: 2001-03-13 16:05:13
Message-ID: slrn9ash6m.e6p.jdassen@odin.cistron-office.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Christopher Sawtell <csawtell(at)xtra(dot)co(dot)nz> wrote:
>a) Does VACUUMing ( with ANALYSE ) in effect perform a file consistency
>check on the database structure as a side effect?

As I understand it, it is more of a cleanup than a file consistency check.

>b) Is it ok to VACUUM while the database is alive and active?

Yes.

>c) Can I backup via pg_dump while the database is alive and active and have
>the backup consistent to the state the database was in when the backup
>started?

The backup is consistent; I assume it's consistent with the state of the
database when pg_dump was started.

HTH,
Ray
--
Pinky, Are You Pondering What I'm Pondering?
I think so Brain, but "instant karma" always gets so lumpy.
Pinky and the Brain in "Brainwashed Part 3: Wash Harder"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-03-13 16:36:18 Re: Execution plans for tpc-h
Previous Message Tom Lane 2001-03-13 16:02:01 Re: Trigger Compile Error