Re: Lost databases

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Lost databases
Дата
Msg-id 20041117112944.GA25482@svana.org
обсуждение исходный текст
Ответ на Re: Lost databases  (Kostis Mentzelos <mentzelos@gmx.net>)
Список pgsql-general
Look at the documentation here:

http://www.postgresql.org/docs/7.4/interactive/maintenance.html

The upshot is that you should vacuum every table in the database at
least once every billion transaction. It doesn't have to be a VACUUM
FULL, just run VACUUM without specifying a table.

There's some info in there about how to work out when it is necessary.

Hope this helps,

On Tue, Nov 16, 2004 at 12:22:46PM +0200, Kostis Mentzelos wrote:
> Only VACUUM FULL solves XID wraparound problem? I mean VACUUM FULL locks
> the entire table.
>
> How can I test if I am close to XID wraparround?
>
> Kostis
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faqs/FAQ.html

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Konstantin Danilov
Дата:
Сообщение: PostgreSQL certification
Следующее
От: David Helgason
Дата:
Сообщение: Re: Controlling maximal on-disk size of a table