Re: pg_dump in stand alone backend - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_dump in stand alone backend
Date
Msg-id 3682.1093359889@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump in stand alone backend  (Ulrich Wisser <ulrich.wisser@relevanttraffic.se>)
List pgsql-general
Ulrich Wisser <ulrich.wisser@relevanttraffic.se> writes:
> I need to to disconnect any other users and do "vacuum full verbose
> analyze" "reindex database" and reindex all tables. And for these I will
> stop the postmaster and run a stand alone backend.

I think the real problem here is stone-age maintenance procedures ;-)
You shouldn't need to do vacuum full on a regular basis, and you
shouldn't need to do reindexing on a regular basis either.  Update
to 7.4, if you aren't using it already, and replace these procedures
by plain vacuums run often enough to keep the DB from bloating (a look
at your FSM parameters would be advisable too).

> I figured that doing a nightly backup would be a good idea and running
> it in stand alone mode will speed up the process drastically.

No it won't.

            regards, tom lane

pgsql-general by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: Python and 8.0 beta
Next
From: Shelby Cain
Date:
Subject: Re: Postgresql 8.0 beta 1 - strange cpu usage statistics and slow vacuuming