From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Mark Liberman <mliberman@mixedsignals.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Feedback on auto-pruning approach
Date: Tue, 28 Mar 2006 12:28:03 -0600
Message-ID: <1143570483.3625.67.camel@state.g2switchworks.com> (raw)
In-Reply-To: <9D938282F8C6EE43B748B910386DE93E0138B41A@srvgpimail1.GPI.local>
References: <9D938282F8C6EE43B748B910386DE93E0138B41A@srvgpimail1.GPI.local>
On Tue, 2006-03-28 at 12:23, 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?
>
> > 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.
If most of that is text, it should be fairly compressible.
So, how compressible are the data, and have you done some very basic
checks to see how much your postgresql data directory grows when you add
to the database. It's pretty easy to do. Just, as the postgres user:
cd $PGDATA
du -sh base
(load a couple gigs of data)
du -sh base
and compare the difference. It'll at least get you in the ball park.
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: smarlowe@g2switchworks.com, mliberman@mixedsignals.com
Subject: Re: Feedback on auto-pruning approach
In-Reply-To: <1143570483.3625.67.camel@state.g2switchworks.com>
References: <9D938282F8C6EE43B748B910386DE93E0138B41A@srvgpimail1.GPI.local> <1143570483.3625.67.camel@state.g2switchworks.com>
* 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