Re: REINDEX slow?

From: Vivek Khera <khera(at)kcilink(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: REINDEX slow?
Date: 2004-04-13 17:49:42
Message-ID: x7ekqr4vk9.fsf@yertle.int.kciLink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>>>> "TL" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

TL> Edmund Dengler <edmundd(at)eSentire(dot)com> writes:
>> Searching the web, I find lots of references to index bloat, as
>> well as recent discussions concerning index page recovery (such
>> items as reclaiming empty B+-tree pages and such). What is the
>> current state re bloat?

TL> You tell me --- are you still seeing bloat problems with 7.4?
TL> If so, can you provide more details about the index schema and
TL> the table's update patterns?

I had *awful* bloat with 7.2. When I upgraded to 7.4, I noticed less
of it, but it was still there. Then I discovered two programs that
were sleeping for long times inside of a transaction. Restructuring
those to open transactions as needed fixed it all.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera(at)kciLink(dot)com Rockville, MD +1-301-869-4449 x806
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2004-04-13 18:35:39 Join works in 7.3.6, fails in 7.4.2
Previous Message Vivek Khera 2004-04-13 17:44:27 Re: pg_autovacuum won't make on FreeBSD