pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Eric Lam <elam@lisasoft.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Slow restoration question
Date: Sat, 29 Apr 2006 16:23:23 -0400
Message-ID: <6110.1146342203@sss.pgh.pa.us> (raw)
In-Reply-To: <444F24E9.2010907@lisasoft.com>
References: <444F24E9.2010907@lisasoft.com>

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



view thread (23+ messages)  latest in thread

Message-ID: <6110.1146342203@sss.pgh.pa.us>
Permalink:  ../6110.1146342203@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6110.1146342203@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, elam@lisasoft.com
  Subject: Re: Slow restoration question
  In-Reply-To: <6110.1146342203@sss.pgh.pa.us>

* 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