Re: Feedback on auto-pruning approach

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Mark Liberman <mliberman(at)mixedsignals(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Feedback on auto-pruning approach
Date: 2006-03-28 18:32:28
Message-ID: 20060328183228.GV75181@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Mar 28, 2006 at 10:23:45AM -0800, Mark Liberman wrote:
> > Probably your biggest issue will be temporary files created by temporary tables, sorts that spill to disk, etc.
>
> Is there any way to monitor this so I can estimate?

Keep an eye on $PGDATA/base/{database_oid}/pgsql_tmp.

> > What I'm confused by is the concern about disk space in the first place.
>
> We provide a device to customers that must run in an unattended fashion for as long as the hardward holds up. So, regardless of the disk size, they will run out at some time. Some of our solutions grow by 3.5 Gigs per day - and 6 months of history is not an unreasonable expectation. We've just decided we want to keep as much history as possible given space limitations.

You might want to take a look at http://rrs.decibel.org, which is
something I created for a similar purpose.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Richard Broersma Jr 2006-03-28 18:42:13 Re: Feedback on auto-pruning approach
Previous Message Scott Marlowe 2006-03-28 18:28:03 Re: Feedback on auto-pruning approach