Re: suggestion - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: suggestion
Date
Msg-id 43FE9B62.70204@familyhealth.com.au
Whole thread Raw
In response to Re: suggestion  ("Jan Cruz" <malebug@gmail.com>)
Responses Re: suggestion
List pgsql-hackers
> Simply because it took me more or less 24 hours to restore the dump when 
> the
> index is already defined. And it would only take less than an hour to 
> restore the
> data without the index then create the index that would only take less 
> than 10 minutes.
> 
> BTW I am using postgresql 8.1.3

You still haven't answered the question - why are you doing separate 
schema and data dumps then loading them.  That will always be very, 
very, very, very slow.

Just do a normal data+schema dump and it will restore quickly.

Chris



pgsql-hackers by date:

Previous
From: "Jan Cruz"
Date:
Subject: Re: suggestion
Next
From: "Jim C. Nasby"
Date:
Subject: Re: fsutil ideas