Re: vacuum process taking more than 33 hours

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: vacuum process taking more than 33 hours
Дата
Msg-id 20070115145316.GC13011@phlogiston.dyndns.org
обсуждение исходный текст
Ответ на Re: vacuum process taking more than 33 hours  ("Ezequiel Luis Pellettieri" <ezequiel.pellettieri@gmail.com>)
Список pgsql-sql
On Mon, Jan 15, 2007 at 02:44:15PM +0000, Ezequiel Luis Pellettieri wrote:
> Hi Andrew,
> 
> Why don't you try droping all indexes exept but the constraints ones for
> each table.

I don't have the problem, so I don't know whether that will help.

> then you'll free aprox half of DB size. then re-create indexes,  one by one.
> and finally you can perform a full vacuum.
> 
> that worked for me. :)

On some versions of Postgres, it will, but AFAIK the latest versions
don't have the same index bloat problems.  Moreover, if your vacuum
regime is right, you should _never_ have to VACUUM FULL.

A


-- 
Andrew Sullivan  | ajs@crankycanuck.ca
When my information changes, I alter my conclusions.  What do you do sir?    --attr. John Maynard Keynes


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

Предыдущее
От: "Ezequiel Luis Pellettieri"
Дата:
Сообщение: Re: vacuum process taking more than 33 hours
Следующее
От: William Scott Jordan
Дата:
Сообщение: Referencing tables are grinding UPDATE to a halt