Re: CLUSTER command

Поиск
Список
Период
Сортировка
От Rick Dicaire
Тема Re: CLUSTER command
Дата
Msg-id CA+Cc--fnt=i34g1k04=pNAqy-u2u-Ab-yoeWhCuO7Wh72heRjg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: CLUSTER command  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: CLUSTER command  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
On Wed, Jan 18, 2012 at 10:08 AM, Kevin Grittner
<Kevin.Grittner@wicourts.gov> wrote:
>> Also, I've been tasked with finding and listing all the tables
>> that get CLUSTER'd when CLUSTER with no args is executed,
>
> http://www.postgresql.org/docs/8.1/interactive/catalog-pg-index.html

select relname as table from pg_class join pg_index on pg_class.oid =
pg_index.indrelid where indisclustered = 't';
select relname as index from pg_class join pg_index on pg_class.oid =
pg_index.indexrelid where indisclustered = 't';

Thanks, this gets me the list.

How do I determine in what order tables are clustered when CLUSTER is
executed with no args?

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: CLUSTER command
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CLUSTER command