Re: pg_dump and cluster

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Angva <angvaw(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump and cluster
Date: 2006-09-10 17:04:38
Message-ID: 20060910170438.GB19961@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Angva wrote:
> Hello,
>
> I have a question regarding pg_dump and table clustering. Each night a
> job runs that basically does the following:
>
> 1) load large amounts of data from flat files into a schema
> 2) cluster the data
> 3) pg_dump that schema
> 4) copy the resulting dmp to several destination databases
> 5) pg_restore the dmp on the destinations
>
> Can anyone tell me if the restored data will remain clustered? That is,
> does the dmp contain the data in clustered order, and if so, does
> pg_restore preserve this order?

Yes.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dino Vliet 2006-09-10 19:00:41 Re: execute in pl/pgsql
Previous Message Lincoln Yeoh 2006-09-10 16:15:17 Re: Is this logical?