CLUSTER strategy - Mailing list pgsql-admin

From Chris Gamache
Subject CLUSTER strategy
Date
Msg-id 20040610153412.20577.qmail@web13801.mail.yahoo.com
Whole thread Raw
In response to Re: "select * from groupes" didn't display any data  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
I need an informed opinion:

The performance boost from clustering is wonderful. But, some tables would have
to clustered several times a day, since there is usually some type of "status"
column that is updated pretty regularly. Clustering is an expensive operation.
If I pulled out that column into another "child" table and linked the tables by
a foreign key to the "parent" I could update the "child" table and it wouldn't
foul up the master table's ordering at all. Create a view on the two tables,
and I'd have a relatively-stable setup as far as ordering goes, yes?

Is this adviseable? In the long-run, will it yield the results that I expect?
Did I miss any details? Should I be looking for any pitfalls?

CG




__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: "select * from groupes" didn't display any data
Next
From: Shanmugasundaram Doraisamy
Date:
Subject: Trouble with locking tables - reg.