pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rick Dicaire <kritek@gmail.com>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-admin@postgresql.org
Subject: Re: CLUSTER command
Date: Wed, 18 Jan 2012 13:59:49 -0500
Message-ID: <26230.1326913189@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+Cc--fnt=i34g1k04=pNAqy-u2u-Ab-yoeWhCuO7Wh72heRjg@mail.gmail.com>
References: <CA+Cc--epWFt+SedYGu8bFwX_T-eRLoapDUq5FeGdDEbTWj08bA@mail.gmail.com>
	<4F168BF40200002500044900@gw.wicourts.gov>
	<CA+Cc--fnt=i34g1k04=pNAqy-u2u-Ab-yoeWhCuO7Wh72heRjg@mail.gmail.com>

Rick Dicaire <kritek@gmail.com> writes:
> How do I determine in what order tables are clustered when CLUSTER is
> executed with no args?

AFAIR there is no specified order.  It probably just seqscans pg_class,
so whatever physical order those tuples happen to have today is it.

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <26230.1326913189@sss.pgh.pa.us>
Permalink:  ../26230.1326913189@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26230.1326913189@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, kritek@gmail.com, Kevin.Grittner@wicourts.gov
  Subject: Re: CLUSTER command
  In-Reply-To: <26230.1326913189@sss.pgh.pa.us>

* 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