pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedIssues with pg_dump & pg_restore
2+ messages / 2 participants
[nested] [flat]
* Issues with pg_dump & pg_restore
@ 2001-11-26 23:25 Lane Rollins <laner@boyds.com>
2001-11-27 02:48 ` Re: Issues with pg_dump & pg_restore Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Lane Rollins @ 2001-11-26 23:25 UTC (permalink / raw)
To: pgsql-admin
I'm trying to make a copy of a production database that's running on a
RedHat 7.0 machines with posgresql 7.1.2 and moving it to a machine
running RedHat 7.1 with postgresql 7.1.3. The database has blobs so I
first tried
pg_dump -Ft -b docarc >docarc.tar
That failed with
Archiver(tar) could not write to member (18 != 85)
I then tried replacing -Ft with -Fc and that solved the problem. On the
machine I'm try restoring the database to my test machine with
createdb docarc
pg_restore -v -Fc -d docarc docarc.cust
It runs find until the "Create table for BLOBS xrefs" then it slowly
starts eating up all available memory. It eventually gets killed due to
no more memory. The system has 512Mb of memory + 128Mb of swap. The data
base has about 500,000 entries in one table with about a 3k blob for
each entry, the other table has about 1,000,000 rows.
Thanks,
Lane Rollins
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Issues with pg_dump & pg_restore
2001-11-26 23:25 Issues with pg_dump & pg_restore Lane Rollins <laner@boyds.com>
@ 2001-11-27 02:48 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2001-11-27 02:48 UTC (permalink / raw)
To: Lane Rollins <laner@boyds.com>; +Cc: pgsql-admin
"Lane Rollins" <laner@boyds.com> writes:
> It runs find until the "Create table for BLOBS xrefs" then it slowly
> starts eating up all available memory. It eventually gets killed due to
> no more memory. The system has 512Mb of memory + 128Mb of swap. The data
> base has about 500,000 entries in one table with about a 3k blob for
> each entry, the other table has about 1,000,000 rows.
I tried to duplicate this in current sources (7.2b3) and couldn't see
any problem. I think the issue's already fixed (possibly by the changes
I applied 2001-08-03).
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-11-27 02:48 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-11-26 23:25 Issues with pg_dump & pg_restore Lane Rollins <laner@boyds.com>
2001-11-27 02:48 ` Tom Lane <tgl@sss.pgh.pa.us>
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