From: Qingqing Zhou <zhouqq@cs.toronto.edu>
To: pgsql-admin@postgresql.org
Subject: Re: REINDEX Issue - DB Management
Date: Thu, 8 Dec 2005 23:18:34 -0500
Message-ID: <dnb0h1$26gn$1@news.hub.org> (raw)
References: <731083980512080833q47791a2fr@mail.gmail.com>
"Rodrigo Hjort" <rodrigo.hjort@gmail.com> wrote
>- How often do you REINDEX your databases?
> - What do you verify on the database to know that it is time to reindex?
>
There is no unique answer to the first one. You can binary search your
optimal reindex rate. Suppose the workload is steady, then you first set
reindex rate at, say, one time per week, then try twice per week, if it gets
better, then try more frequent reindex. If not, then you can try 1 time per
two-weeks and so on.
Regards,
Qingqing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: zhouqq@cs.toronto.edu
Subject: Re: REINDEX Issue - DB Management
In-Reply-To: <dnb0h1$26gn$1@news.hub.org>
References: <731083980512080833q47791a2fr@mail.gmail.com> <dnb0h1$26gn$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox