pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Gamache <cgg007@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: CLUSTER strategy
Date: Thu, 10 Jun 2004 08:34:12 -0700 (PDT)
Message-ID: <20040610153412.20577.qmail@web13801.mail.yahoo.com> (raw)
In-Reply-To: <24496.1086878464@sss.pgh.pa.us>

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/ 



Message-ID: <20040610153412.20577.qmail@web13801.mail.yahoo.com>
Permalink:  ../20040610153412.20577.qmail@web13801.mail.yahoo.com/
Also on:    postgresql.org/message-id/20040610153412.20577.qmail@web13801.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: cgg007@yahoo.com
  Subject: Re: CLUSTER strategy
  In-Reply-To: <20040610153412.20577.qmail@web13801.mail.yahoo.com>
  References: <24496.1086878464@sss.pgh.pa.us> <20040610153412.20577.qmail@web13801.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox