Re: Recommend dba maintenance tasks on a regular bases

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: Fabricio <fabrixio1(at)hotmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Recommend dba maintenance tasks on a regular bases
Date: 2008-09-12 19:55:23
Message-ID: dcc563d10809121255h7675a5e3hf0019e81974fd3ff@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Sep 12, 2008 at 12:51 PM, Fabricio <fabrixio1(at)hotmail(dot)com> wrote:
>
> I have a reindex of my databases periodically
>
> Sorry for the English translation of google
> I have PostgreSQL 8.1.x
> The databases that we have has many updates and were being slow, revising
> found that some index were bigger than it should be, did not agree to the
> size of the table. I made a reindex of the table and consultation is his
> much faster and the index remained very small.
> We therefore began a scheduled task that reidex my batadase periodically.

This is generally a sign you aren't vacuuming aggresively enough.
some usage patterns, however, lend themselves to off hours vacuuming
instead of during the day. If your machine doesn't have enough
bandwidth to handle vacuuming during the day, then it's probably
better in the long run to look at faster I/O subsystems.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2008-09-12 19:55:39 Re: exporting/importing BLOB's (lo_* style)
Previous Message Tom Lane 2008-09-12 19:54:03 Re: exporting/importing BLOB's (lo_* style)