pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Goldner <MGoldner@agmednet.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database size with large objects
Date: Sun, 04 Nov 2007 19:26:53 -0500
Message-ID: <29838.1194222413@sss.pgh.pa.us> (raw)
In-Reply-To: <C353B72E.17854%mgoldner@agmednet.com>
References: <C353B72E.17854%mgoldner@agmednet.com>

"Michael Goldner" <MGoldner@agmednet.com> writes:
> I have a database with a single table that includes an oid reference to a
> large object.  After loading 100GB of large objects using lo_import(), I
> find that my total database size has grown by about 270GB.  What is the
> reason for the difference in space usage?

Try VACUUM VERBOSE on your table and also on pg_largeobject to get a
sense of where the space went.  I'm wondering whether you allowed for
indexes and for other data in your table.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <29838.1194222413@sss.pgh.pa.us>
Permalink:  ../29838.1194222413@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29838.1194222413@sss.pgh.pa.us

 · 

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, MGoldner@agmednet.com
  Subject: Re: Database size with large objects
  In-Reply-To: <29838.1194222413@sss.pgh.pa.us>

* 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