Re: CLUSTER command
От | Kevin Grittner |
---|---|
Тема | Re: CLUSTER command |
Дата | |
Msg-id | 4F168BF40200002500044900@gw.wicourts.gov обсуждение исходный текст |
Ответ на | CLUSTER command (Rick Dicaire <kritek@gmail.com>) |
Ответы |
Re: CLUSTER command
|
Список | pgsql-admin |
Rick Dicaire <kritek@gmail.com> wrote: > Hi folks...pgsql 8.1 (we're migrating to 9.1 later this year). Good idea. > 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? To quote the fine documentations at: www.postgresql.org/docs/8.1/interactive/sql-cluster.html | When a table is clustered, PostgreSQL remembers on which index it | was clustered. The form CLUSTER tablename reclusters the table on | the same index that it was clustered before. | | CLUSTER without any parameter reclusters all the tables in the | current database that the calling user owns, or all tables if | called by a superuser. (Never-clustered tables are not included.) > 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 -Kevin
В списке pgsql-admin по дате отправления: