Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 467AA47703A for ; Wed, 15 Jan 2003 11:17:58 -0500 (EST) Received: from thermeoneu.thermeoneurope.com (mail.thermeoneurope.com [193.132.64.89]) by postgresql.org (Postfix) with ESMTP id 1E1E2475DD0 for ; Wed, 15 Jan 2003 10:50:31 -0500 (EST) Received: from gbjk1 (gbjk1.thermeoneurope.com [192.168.234.85]) by thermeoneu.thermeoneurope.com (8.11.6/8.11.6) with SMTP id h0FFoOc02425 for ; Wed, 15 Jan 2003 15:50:24 GMT Reply-To: From: "Gareth Kirwan" To: Subject: pg_dumpall and large flat file Date: Wed, 15 Jan 2003 15:52:43 -0000 Message-ID: <001901c2bcae$24b9e850$55eaa8c0@gbjk1> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001A_01C2BCAE.24B9E850" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-MailScanner: Found to be clean X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/162 X-Sequence-Number: 7004 This is a multi-part message in MIME format. ------=_NextPart_000_001A_01C2BCAE.24B9E850 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_001A_01C2BCAE.24B9E850 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Gareth Stationery
Hey everyone.
 
We've got to re-install a server shor= tly,=20 and I'm trying to do a dry run of reloading their data onto a similar=20 server.
It's Postgres 7.1.3 on Redhat Linux (= 6.2 or=20 7.2 - not too important )
We used pg_dumpall > large to crea= te a=20 file that's just under 1Gb in size.
Obviously there's no vi'ing this and = little=20 hope of cat | less.
We can split the file with split = ;-l=20 100000 if we need to.
 
We want to now reload this database= =20 cluster.
 
The questions:
 
1) Is pg_dumpall the best way of doin= g this=20 ( it's the only way I can find )
2) Is pgsql -f large template1 the be= st way=20 of reloading it
3) How long should it take ( 128mb of= ram,=20 1ghz processor ) - roughly ( hours - days!? :-D )
 
Thanks everyone
 
Gareth=20 Kirwan
Programming & Development,
Thermeon Europe Ltd,
gbjk@thermeoneurope.com
Tel= : +44=20 (0) 1293 864 303
T= hermeon=20 Europe e-Card: gbjk ------=_NextPart_000_001A_01C2BCAE.24B9E850--