Re: Dump / restore for optimization?

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: Dump / restore for optimization?
Дата
Msg-id 40E3BDCB.6050300@frodo.hserus.net
обсуждение исходный текст
Ответ на Dump / restore for optimization?  (lec <limec@streamyx.com>)
Ответы Re: Dump / restore for optimization?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Dump / restore for optimization?  (Bill Montgomery <billm@lulu.com>)
Список pgsql-general
lec wrote:

> I always have to dump & restore to make a database (which is in use for
> a few months) efficient again.  I have scheduled nightly vacuum analyze,
> but only dump & restore can make the database efficient again.  Has
> anyone experience this?

You could try several things if you want to avoid dump/restore


- Try vacuum full instead of vacuum analyze
- Postgresql versions pre-7.4 had index bloat with vacuum. 7.4.x fixed this. So
try with that.
- Run autovacuum daemon if possible.

HTH

  Shridhar

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

Предыдущее
От: Christopher Cashell
Дата:
Сообщение: Re: Problems restarting after database crashed (signal
Следующее
От: Dirk Försterling
Дата:
Сообщение: Re: Bug in function to_char() !!