pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gareth Kirwan <gbjk@thermeoneurope.com>
To: pgsql-admin@postgresql.org
Subject: pg_dumpall and large flat file
Date: Wed, 15 Jan 2003 15:52:43 -0000
Message-ID: <001901c2bcae$24b9e850$55eaa8c0@gbjk1> (raw)

Gareth StationeryHey everyone.

We've got to re-install a server shortly, and I'm trying to do a dry run of
reloading their data onto a similar server.
It's Postgres 7.1.3 on Redhat Linux ( 6.2 or 7.2 - not too important )
We used pg_dumpall > large to create a file that's just under 1Gb in size.
Obviously there's no vi'ing this and little hope of cat | less.
We can split the file with split -l 100000 if we need to.

We want to now reload this database cluster.

The questions:

1) Is pg_dumpall the best way of doing this ( it's the only way I can find )
2) Is pgsql -f large template1 the best way of reloading it
3) How long should it take ( 128mb of ram, 1ghz processor ) - roughly (
hours - days!? :-D )

Thanks everyone

Gareth Kirwan
Programming & Development,
Thermeon Europe Ltd,
gbjk@thermeoneurope.com
Tel: +44 (0) 1293 864 303
Thermeon Europe e-Card: gbjk

Message-ID: <001901c2bcae$24b9e850$55eaa8c0@gbjk1>
Permalink:  ../001901c2bcae$24b9e850$55eaa8c0@gbjk1/
Also on:    postgresql.org/message-id/001901c2bcae$24b9e850$55eaa8c0@gbjk1

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: gbjk@thermeoneurope.com
  Subject: Re: pg_dumpall and large flat file
  In-Reply-To: <001901c2bcae$24b9e850$55eaa8c0@gbjk1>
  References: <001901c2bcae$24b9e850$55eaa8c0@gbjk1>

* 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