X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EBC4AD8B68 for ; Mon, 12 Sep 2005 13:17:25 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 77890-05 for ; Mon, 12 Sep 2005 16:17:22 +0000 (GMT) Received: from mail2.yozons.com (mail2.yozons.com [206.80.109.180]) by svr1.postgresql.org (Postfix) with ESMTP id 43641D8B2C for ; Mon, 12 Sep 2005 13:17:20 -0300 (ADT) Received: from [192.168.1.51] (soho2.yozons.com [206.80.109.178] (may be forged)) (authenticated bits=0) by mail2.yozons.com (8.12.8/8.12.8) with ESMTP id j8CGHG2m016085 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 12 Sep 2005 09:17:19 -0700 Message-ID: <4325AA10.2050103@computer.org> Date: Mon, 12 Sep 2005 09:17:20 -0700 From: David Wall User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: Backup 7.3 was 19GB, restored on 8.0.3 was only 4GB Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.296 required=5 tests=[AWL=-0.077, DNS_FROM_RFC_ABUSE=0.374] X-Spam-Level: X-Archive-Number: 200509/16 X-Sequence-Number: 5739 I can't see anything wrong with my database, but I was wondering what it might all mean. Under my 7.3 database, before upgrading to 8.0, I did the following: vacuumlo my_db reindexdb -a vacuum analyze; pg_dump --blobs -Fc my_73_db | gzip > dbbackup.gz The resulting dbbackup.gz file was 19GB. Then I moved the dbbackup.gz file to another system that had 8.0.3 installed: gunzip -c dbbackup.gz | pg_restore -v -O -d my_80_db When I ran that same set of commands against the 8.0 database, the backup from that system was only 4GB. I did note a large number of large objects were removed in the vacuumlo command, yet I can't really see any missing blobs, though I'm not sure how to absolutely check this. Is there anything between the two version that would explain why one is so much smaller than the other? Is there any reason why the vacuumlo under 7.3 didn't remove large objects that were then removed under 8.0? Thanks, David