pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Wall <d.wall@computer.org>
To: pgsql-interfaces@postgresql.org
Subject: Backup 7.3 was 19GB, restored on 8.0.3 was only 4GB
Date: Mon, 12 Sep 2005 09:17:20 -0700
Message-ID: <4325AA10.2050103@computer.org> (raw)

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




view thread (2+ messages)  latest in thread

Message-ID: <4325AA10.2050103@computer.org>
Permalink:  ../4325AA10.2050103@computer.org/
Also on:    postgresql.org/message-id/4325AA10.2050103@computer.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: d.wall@computer.org
  Subject: Re: Backup 7.3 was 19GB, restored on 8.0.3 was only 4GB
  In-Reply-To: <4325AA10.2050103@computer.org>

* 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