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

Re: CLUSTER command

From: Rick Dicaire <kritek(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: CLUSTER command
Date: 2012-01-18 20:09:09
Message-ID: CA+Cc--fK=nPiQDx3qqbiNos+v5syyHju98NoCemMPyfNVUsjZg@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
On Wed, Jan 18, 2012 at 2:17 PM, Scott Ribe <scott_ribe(at)elevated-dev(dot)com> wrote:
> On Jan 18, 2012, at 11:59 AM, Tom Lane wrote:
>
>> AFAIR there is no specified order.  It probably just seqscans pg_class,
>> so whatever physical order those tuples happen to have today is it.
>
> I'm pretty sure he meant: "in the case when CLUSTER was issued in the past to cluster the table on some index, but was not documented, how do I now find out what that index was".

No, I know what the indexes are. The scenario is there's 3 tables in
the db that get clustered. Wanted to know in what order those 3 tables
are reclustered when CLUSTER is exec'd with no args.

Thank you all for your help!

In response to

Responses

pgsql-admin by date

Next:From: Scott RibeDate: 2012-01-18 20:17:06
Subject: Re: CLUSTER command
Previous:From: Scott RibeDate: 2012-01-18 19:17:12
Subject: Re: CLUSTER command

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group