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

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 (view raw or flat)
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

pgsql-admin by date

Next:From: Kevin GrittnerDate: 2012-01-18 15:08:04
Subject: Re: CLUSTER command
Previous:From: Sergey KonoplevDate: 2012-01-18 08:38:16
Subject: Re: Interpreting pg_stat_replication values

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