Re: How long it takes to vacuum a big table

Поиск
Список
Период
Сортировка
От Jan Peterson
Тема Re: How long it takes to vacuum a big table
Дата
Msg-id 72e966b00510280948h15fd8d56qc3aaca7840f2348d@mail.gmail.com
обсуждение исходный текст
Ответ на How long it takes to vacuum a big table  (Csaba Nagy <nagy@ecircle-ag.com>)
Список pgsql-performance
We've also experienced problems with VACUUM running for a long time.
A VACUUM on our pg_largeobject table, for example, can take over 24
hours to complete (pg_largeobject in our database has over 45million
rows).  With our other tables, we've been able to partition them
(using inheritance) to keep any single table from getting "too large",
but we've been unable to do that with pg_largeobject.  Currently,
we're experimenting with moving some of our bulk (large object) data
outside of the database and storing it in the filesystem directly.

I know that Hannu Krosing has developed some patches that allow
concurrent VACUUMs to run more effectively.  Unfortunately, these
patches didn't get into 8.1 so far as I know.  You can search the
performance mailing list for more information.

        -jan-
--
Jan L. Peterson
<jan.l.peterson@gmail.com>

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

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: How long it takes to vacuum a big table
Следующее
От: Rodrigo Madera
Дата:
Сообщение: Best way to check for new data.