Re: slow query - Mailing list pgsql-performance

From Robert Treat
Subject Re: slow query
Date
Msg-id 1046186882.1015.377.camel@camel
Whole thread Raw
In response to Re: slow query  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: slow query
List pgsql-performance
On Mon, 2003-02-24 at 15:50, Tom Lane wrote:
> You'll
> particularly get burnt by indexes that are on OIDs or sequentially
> assigned ID numbers, since the set of IDs in use just naturally tends to
> migrate higher over time.  I don't think that the update rate per se has
> much to do with this, it's the insertion of new IDs and deletion of old
> ones that causes the statistical shift.

Would it be safe to say that tables with high update rates where the
updates do not change the indexed value would not suffer from index
bloat? For example updates to non-index columns or updates that
overwrite, but don't change the value of indexed columns; do these even
need to touch the index?

Robert Treat


pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Query not using the index
Next
From: Stephan Szabo
Date:
Subject: Re: Superfluous merge/sort