Re: Database size with large objects - Mailing list pgsql-admin

From Tom Lane
Subject Re: Database size with large objects
Date
Msg-id 29838.1194222413@sss.pgh.pa.us
Whole thread Raw
In response to Database size with large objects  ("Michael Goldner" <MGoldner@agmednet.com>)
Responses Re: Database size with large objects  (Michael Goldner <mgoldner@agmednet.com>)
List pgsql-admin
"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

pgsql-admin by date:

Previous
From: "Michael Goldner"
Date:
Subject: Database size with large objects
Next
From: Michael Goldner
Date:
Subject: Re: Database size with large objects