pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
To: Kris Kiger <kris@musicrebellion.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Upper limit for a dump file?
Date: Wed, 9 Jun 2004 02:42:07 +0100 (BST)
Message-ID: <Pine.LNX.4.58.0406090241360.11051@localhost.localdomain> (raw)
In-Reply-To: <40C630E0.6080901@musicrebellion.com>
References: <40C630E0.6080901@musicrebellion.com>

On Tue, 8 Jun 2004, Kris Kiger wrote:

> I am trying to restore a dump of two independant databases.  Each
> database is the same in table structure (there is only one table that
> consists of 5 integers, a timestamp with time zone, and a boolean).
>  Here are the number of rows:
>     DB1 - 115,539,855 rows
>     DB2 - 118,022,948 rows
>
> There are no keys/indexes/etc on the table.  The uncompressed tar file
> is 5.5GB.  I am running PG 7.4.
>
> When I try to move this data to another database (via pg_dump &
> pg_restore) it fails each time, for each database) with:
>     pg_restore: [archiver (db)] error returned by PQputline
>
> I find it highly unlikely that I have corrupted data in each database,
> since each were generated on different postgres installations on
> different machines.  I can still query the original databases (DB1 &
> DB2) with no problem.  It looks like all of the data is intact.  Any
> ideas what may be the root of the problem or how I can find out more
> about this error PQputline returned?

Perhaps the other machine has a filesystem limit forbidding such large
files? Various filesystems have historically been limited to 2GB

-- 

Sam Barnett-Cormack
Software Developer                           |  Student of Physics & Maths
UK Mirror Service (http://www.mirror.ac.uk)  |  Lancaster University



view thread (2+ messages)

Message-ID: <Pine.LNX.4.58.0406090241360.11051@localhost.localdomain>
Permalink:  ../Pine.LNX.4.58.0406090241360.11051@localhost.localdomain/
Also on:    postgresql.org/message-id/Pine.LNX.4.58.0406090241360.11051@localhost.localdomain

 · 

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: s.barnett-cormack@lancaster.ac.uk, kris@musicrebellion.com
  Subject: Re: Upper limit for a dump file?
  In-Reply-To: <Pine.LNX.4.58.0406090241360.11051@localhost.localdomain>
  References: <40C630E0.6080901@musicrebellion.com> <Pine.LNX.4.58.0406090241360.11051@localhost.localdomain>

* 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