From: Mike Darretta <michael.darretta.ctr@metnet.navy.mil>
To: pgsql-admin@postgresql.org
Subject: Re: Data Partition is Growing
Date: Thu, 30 Sep 2004 09:43:12 -0700
Message-ID: <415C37A0.2080602@metnet.navy.mil> (raw)
In-Reply-To: <8082.1096506831@sss.pgh.pa.us>
References: <415B49DA.4000503@metnet.navy.mil>
<8082.1096506831@sss.pgh.pa.us>
Thanks. I'll investigate and let you know how things go....
Mike
Tom Lane wrote:
>Mike Darretta <michael.darretta.ctr@metnet.navy.mil> writes:
>
>
>>I'm an application developer trying to understand a pg data partition
>>issue. We are storing large objects (gifs) at a rate of about 1GIG /day.
>>After about a week, most of the objects are recycled -- that is, an
>>insert triggers a delete of a similar object. The postgres data
>>partition, though, continues to grow, even though the objects are
>>successfully deleted from the application *and* largeobject tables.
>>
>>
>
>You need to check your free-space-map settings --- it sounds like the
>FSM is not large enough to keep track of all the free space in
>pg_largeobject.
>
>If you do a "vacuum verbose" across the whole database, the tail end of
>the (voluminous) printout will tell you something about where you need
>to set the FSM parameters.
>
> regards, tom lane
>
>
>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: michael.darretta.ctr@metnet.navy.mil
Subject: Re: Data Partition is Growing
In-Reply-To: <415C37A0.2080602@metnet.navy.mil>
References: <415B49DA.4000503@metnet.navy.mil> <8082.1096506831@sss.pgh.pa.us> <415C37A0.2080602@metnet.navy.mil>
* 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