Received: from ns.boyds.com (ns.boyds.com [209.63.52.253]) by postgresql.org (8.11.3/8.11.4) with SMTP id fAQNS7m38102 for ; Mon, 26 Nov 2001 18:28:07 -0500 (EST) (envelope-from laner@boyds.com) Received: from mail.boyds.com by ns.boyds.com via smtpd (for postgresql.org [64.49.215.8]) with SMTP; 26 Nov 2001 23:28:10 UT Received: from viao (10.0.3.65) by boyds.com with ESMTP (Eudora Internet Mail Server 3.0.2) for ; Mon, 26 Nov 2001 15:28:05 -0800 From: "Lane Rollins" To: Subject: Issues with pg_dump & pg_restore Date: Mon, 26 Nov 2001 15:25:50 -0800 Message-ID: <000801c176d1$af498d00$4103000a@viao> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal X-Archive-Number: 200111/132 X-Sequence-Number: 2657 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