From: Andreas Kretschmer <akretschmer@spamfence.net>
To: pgsql-performance@postgresql.org
Subject: Re: Slow restoration question
Date: Sat, 29 Apr 2006 22:40:53 +0200
Message-ID: <20060429204053.GA31334@KanotixBox> (raw)
In-Reply-To: <6110.1146342203@sss.pgh.pa.us>
References: <444F24E9.2010907@lisasoft.com>
<6110.1146342203@sss.pgh.pa.us>
Tom Lane <tgl@sss.pgh.pa.us> schrieb:
> 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 ...
hehe, yes ;-)
http://people.planetpostgresql.org/devrim/index.php?/archives/44-d-of-pg_dump.html
Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknow)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: akretschmer@spamfence.net
Subject: Re: Slow restoration question
In-Reply-To: <20060429204053.GA31334@KanotixBox>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox