Re: database speed - Mailing list pgsql-general

From Vivek Khera
Subject Re: database speed
Date
Msg-id x7d6cdbdyq.fsf@yertle.int.kciLink.com
Whole thread Raw
In response to Re: database speed  ("Chris Stokes" <ChrisS@BassSoftware.com>)
Responses Re: database speed
List pgsql-general
>>>>> "DM" == Doug McNaught <doug@mcnaught.org> writes:

DM> The index bloat problem can occur when you have a an indexed SERIAL
DM> column whose value always increases, and you delete older rows on a
DM> regular basis.  VACUUM recycles the row storage, but the index never
DM> shrinks.

I get this on tables which are updated a lot, even if I don't do any
mass deletes of older rows.  The indexes on other columns also bloat
rapidly on some tables.  It is a significant problem, especially since
reindex locks the tables for significant amounts of time.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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: Michael Meskes
Date:
Subject: Re: Problem with ecpg
Next
From: Kolus Maximiliano
Date:
Subject: Re: problem with huge joins