Re: problems with large table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: problems with large table
Дата
Msg-id 3345.1189629078@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: problems with large table  ("Phoenix Kiula" <phoenix.kiula@gmail.com>)
Ответы Re: problems with large table
Список pgsql-general
"Phoenix Kiula" <phoenix.kiula@gmail.com> writes:
> Apart from creating a new table, indexing it, then renaming it to
> original table -- is there an alternative to CLUSTER that doesn't
> impose a painful ACCESS EXCLUSIVE lock on the table? We are on
> Postgres 8.2.3 and have a heavy duty table that starts showing its
> limits after a week or so. Autovacuum is on and working. FSM etc is
> fine, maintenance_work_mem is 256MB. But cluster still takes upwards
> of 30 minutes, which is unacceptable downtime for our web service.
> Thanks for any tips!

If you're seeing steady bloat then FSM isn't as fine as you think.

            regards, tom lane

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: problems with large table
Следующее
От: Cultural Sublimation
Дата:
Сообщение: Re: Cannot declare record members NOT NULL