Re: More Praise for 7.4RC2

From: Vivek Khera <khera(at)kcilink(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: More Praise for 7.4RC2
Date: 2003-11-14 21:21:41
Message-ID: x7u156mysa.fsf@yertle.int.kciLink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>>>> "RG" == Rick Gigger <rick(at)alpinenetworking(dot)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(at)kciLink(dot)com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Castle 2003-11-14 21:45:58 Re: [HACKERS] Proposal for a cascaded master-slave replication system
Previous Message Lynn.Tilby 2003-11-14 19:15:06 Re: Updated Documentation