Re: VACUUM, 24/7 availability and 7.2

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: VACUUM, 24/7 availability and 7.2
Дата
Msg-id m3669kzi4y.fsf@belphigor.mcnaught.org
обсуждение исходный текст
Ответ на Re: VACUUM, 24/7 availability and 7.2  (wsheldah@lexmark.com)
Список pgsql-general
Erwin Lansing <erwin@lansing.dk> writes:

> We are having some trouble with some tables in which we have lots of
> update's (and insert/delete's). "A lot" being several thousands per day
> (I haven't measured the exact numbers recently). VACUUM is running twice
> a day and locks these tables a long time where 10-15 minutes is not
> exceptional. This table has only approx 100k records, but these are
> updated very often and that seems to cause to much rubbish for vacuum

You might try running VACUUM much more often, as it'll run faster with
less work to do.  If running it every hour takes the locked time down
to 30 seconds, you might find that acceptable (depending on the
application of course).

Worth a try until 7.2 is solid...

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863

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

Предыдущее
От: Marc SCHAEFER
Дата:
Сообщение: Re: pop3 server and Postgresql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "Relation x does not exist" error when x does exist