Re: More Praise for 7.4RC2 - Mailing list pgsql-general

From Vivek Khera
Subject Re: More Praise for 7.4RC2
Date
Msg-id x7u156mysa.fsf@yertle.int.kciLink.com
Whole thread Raw
In response to Re: More Praise for 7.4RC2  ("scott.marlowe" <scott.marlowe@ihs.com>)
List pgsql-general
>>>>> "RG" == Rick Gigger <rick@alpinenetworking.com> writes:


RG> Are there any guidelines on how often one should do a reindex?

regularly monitor your index sizes with a query such as this:

SELECT relname,relpages FROM pg_class WHERE relname LIKE 'user_list%' ORDER BY relname;

On my most busy tables, index bloat in PG 7.2 is horrendous.  I have
one index that more than triples in size after about 10 days.  After
reindex it gets to a respectable 22k relpages.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Conservation of OIDs
Next
From: dalgoda@ix.netcom.com (Mike Castle)
Date:
Subject: Re: [HACKERS] Proposal for a cascaded master-slave replication system