Re: Slow restoration question - Mailing list pgsql-performance

From Eric Lam
Subject Re: Slow restoration question
Date
Msg-id 44554A35.7060308@lisasoft.com
Whole thread Raw
In response to Re: Slow restoration question  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
Tom Lane wrote:

>Eric Lam <elam@lisasoft.com> writes:
>
>
>>what is the quickest way of dumping a DB and restoring it? I have done a
>>
>>
>
>
>
>>   "pg_dump -D database | split --line-bytes 1546m part"
>>
>>
>
>Don't use "-D" if you want fast restore ...
>
>            regards, tom lane
>
>
>
thanks, I read that from the doco, the reason why I am using the -D
option is because I was informed by previous people in the company that
they never got a 100% strike rate in database restoration without using
the -D or -d options. If I have enough space on the QA/staging machine
I'll give the no options dump restoration a try.

Anyone have any estimates the time differences between the -D, -d and
[using no option].

regards
Eric Lam

pgsql-performance by date:

Previous
From: "Bert"
Date:
Subject: Re: Easy question
Next
From: Mario Splivalo
Date:
Subject: Lot'sa joins - performance tip-up, please?