Re: pg_dump in stand alone backend

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump in stand alone backend
Дата
Msg-id 3682.1093359889@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_dump in stand alone backend  (Ulrich Wisser <ulrich.wisser@relevanttraffic.se>)
Список 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 по дате отправления:

Предыдущее
От: Gaetano Mendola
Дата:
Сообщение: Re: Python and 8.0 beta
Следующее
От: Shelby Cain
Дата:
Сообщение: Re: Postgresql 8.0 beta 1 - strange cpu usage statistics and slow vacuuming