CLUSTER command

From: Rick Dicaire <kritek(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: CLUSTER command
Date: 2012-01-18 14:51:33
Message-ID: CA+Cc--epWFt+SedYGu8bFwX_T-eRLoapDUq5FeGdDEbTWj08bA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi folks...pgsql 8.1 (we're migrating to 9.1 later this year).

Two things:

When running CLUSTER with no args, on tables with multiple indexes, do
I understand correctly that the tables' primary key is the default
index used?

Also, I've been tasked with finding and listing all the tables that
get CLUSTER'd when CLUSTER with no args is executed, and in what order
they're CLUSTER'd. Where is information regarding a tables CLUSTER
status/index used/etc stored?

Thanks

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Grittner 2012-01-18 15:08:04 Re: CLUSTER command
Previous Message Sergey Konoplev 2012-01-18 08:38:16 Re: Interpreting pg_stat_replication values