Re: Folder size growing.

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Malini_Singaravelu <Malini_Singaravelu(at)mahindrasatyam(dot)com>
Cc: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Folder size growing.
Date: 2010-02-09 10:02:19
Message-ID: 4B7132AB.9050101@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On 09/02/2010 08:54, Malini_Singaravelu wrote:
> Installed postgre sql in my machine. The size of the folder
> 'C:\Program Files\PostgreSQL\8.2\data\base' is increasing day by day
> to the extent of occupying the entire hard disk. Please let me know
> what needs to be done to keep the size at optimum level.

This is really a PostgreSQL question, rather than a pgAdmin one, but anyway:

Have you a lot of inserts and/or updates going on? An update in PG is
the same as an insert+delete. The space wasted by updates is reclaimed
by VACUUMing. Normally the autovacuum daemon should look after this,
though if certain tables are very busy it might not keep up, and so
these tables may need manual vacuuming. I think long-running locks and
transactions can interfere with autovacuum, though I'm not sure of this.

Finally, it may be worth posting to pgsql-general, which is where this
post really belongs. If you do, make sure to include as much detail as
possible - platform, Postgres version, etc etc etc.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Michael Shapiro 2010-02-09 12:02:49 Re: Export the explain diagram?
Previous Message Malini_Singaravelu 2010-02-09 08:54:29 Folder size growing.