Re: Dump / restore for optimization?

From: Shridhar Daithankar <shridhar(at)frodo(dot)hserus(dot)net>
To: lec <limec(at)streamyx(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Dump / restore for optimization?
Date: 2004-07-01 07:31:23
Message-ID: 40E3BDCB.6050300@frodo.hserus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christopher Cashell 2004-07-01 07:45:08 Re: Problems restarting after database crashed (signal
Previous Message Christopher Cashell 2004-07-01 07:26:25 Re: Problems restarting after database crashed (signal 11).