Re: slow query performance - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: slow query performance
Date
Msg-id 20031103031211.GI20819@dcc.uchile.cl
Whole thread Raw
In response to Re: slow query performance  (Mark Kirkwood <markir@paradise.net.nz>)
List pgsql-general
On Sat, Nov 01, 2003 at 10:18:14AM +1300, Mark Kirkwood wrote:
>
> Dave Weaver wrote:
>
> >>- clustering the "obs" table on "station"
> >
> >Sorry, I don't understand what you mean by this - can you explain?

> Supposing obs_pkey is on (station, valid_time):
>
> cluster obs_pkey on obs

Be aware that doing this on the 7.1.3 version you are running will drop
the other indexes on the table, and some other metadata about it (grants,
inheritance, foreign key relationships IIRC).

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Coge la flor que hoy nace alegre, ufana. ¿Quién sabe si nacera otra mañana?"

pgsql-general by date:

Previous
From: Ron St-Pierre
Date:
Subject: Re: Constraint Problem
Next
From: CY
Date:
Subject: Please help