does pg_restore respect CLUSTER ON in the schema?

From: Seth Pollack <seth(at)pollackphoto(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: does pg_restore respect CLUSTER ON in the schema?
Date: 2014-11-06 23:03:08
Message-ID: 97FDAC87-2540-47B9-9F3C-00CA124F3D36@pollackphoto.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a database where several tables have been physically clustered on disk. Those clustering configuration parameters are stored in the schema (via ALTER TABLE mytable CLUSTER ON myindex).

My question is, when i restore a backup of this database using pg_restore, is it restored with that physical clustering, or without? i.e. do i need to run a cluster command immediately after the restore, or is it already done?

Thanks,
Seth

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2014-11-06 23:14:41 Re: does pg_restore respect CLUSTER ON in the schema?
Previous Message Stephen Frost 2014-11-06 22:43:01 Re: Tablespace limit feature