From: Bruno Wolff III <bruno@wolff.to>
To: John A Meinel <john@arbash-meinel.com>
Cc: SpaceBallOne <space_ball_one@hotmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Can anyone explain this: duplicate dbs.
Date: Tue, 24 May 2005 22:32:46 -0500
Message-ID: <20050525033246.GB15626@wolff.to> (raw)
In-Reply-To: <4293E553.6070400@arbash-meinel.com>
References: <BAY14-DAV38E580C92EFF811F1266ACC0E0@phx.gbl>
<4293E553.6070400@arbash-meinel.com>
On Tue, May 24, 2005 at 21:39:15 -0500,
John A Meinel <john@arbash-meinel.com> wrote:
>
> By the way, I think doing:
>
> CREATE DATABASE tempdb WITH TEMPLATE = originaldb;
>
> Is a much faster way of doing dump and load. I *think* it would recreate
> indexes, etc. If it just does a copy it may not show the dump/restore
> improvement.
You need to be careful when doing this. See section 18.3 of the 8.0 docs
for caveats.
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: bruno@wolff.to, john@arbash-meinel.com, space_ball_one@hotmail.com
Subject: Re: Can anyone explain this: duplicate dbs.
In-Reply-To: <20050525033246.GB15626@wolff.to>
* 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