Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Equivalent praxis to CLUSTERED INDEX?


  • From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
  • To: Mischa Sandberg <mischa(dot)sandberg(at)telus(dot)net>
  • Cc: pgsql-performance(at)postgresql(dot)org
  • Subject: Re: Equivalent praxis to CLUSTERED INDEX?
  • Date: Thu, 26 Aug 2004 09:16:17 +0800
  • Message-id: <412D39E1.2040304@familyhealth.com.au> <text/plain>

I see that PG has a one-shot CLUSTER command, but doesn't support
continuously-updated clustered indexes.

What I infer from newsgroup browsing is, such an index is impossible,
given the MVCC versioning of records (happy to learn I'm wrong).

I'd be curious to know what other people, who've crossed this same
bridge from MSSQL or Oracle or Sybase to PG, have devised,
faced with the same kind of desired performance gain for retrieving
blocks of rows with the same partial key.

I just run clusterdb each weekend in a cron job...

Chris



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group