Re: database is growing... 1GB per day basis

From: "Karayappalli, Raghunath (Raghu)" <raghunath(at)avaya(dot)com>
To: "Craig Ringer" <craig(at)postnewspapers(dot)com(dot)au>
Cc: <pgsql-questions(at)postgresql(dot)org>
Subject: Re: database is growing... 1GB per day basis
Date: 2011-01-11 17:37:42
Message-ID: D2BE89E426C49F43A3BCE545BD991F03031EBEA8@306181ANEX4.global.avaya.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am using the version 8.2.

I have enabled auto vacuum (assuming that you are referring to the
"autovacuum = on" configuration).

thanks/ regards,
raghu

-----Original Message-----
From: Craig Ringer [mailto:craig(at)postnewspapers(dot)com(dot)au]
Sent: Tuesday, January 11, 2011 2:08 AM
To: Karayappalli, Raghunath (Raghu)
Cc: pgsql-questions(at)postgresql(dot)org
Subject: Re: [GENERAL] database is growing... 1GB per day basis

On 01/11/2011 02:03 PM, Karayappalli, Raghunath (Raghu) wrote:

> 1.We observe that database is growing very fast - many sets of files
> with size more than 1 GB. Please see some sample snippets of the file
> lists:

What version of Pg are you using?

Got lots of connections in 'IDLE IN TRANSACTION' state as listed in
"SELECT * FROM pg_stat_activity;" ?

Is autovacuum enabled? Have you done anything like tuned autovacuum to
hardly ever run?

What're the results of running 'VACUUM ANALYZE VERBOSE;' in the problem
database?

--
Craig Ringer

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2011-01-11 18:01:42 Re: Mixed client_encoding database question
Previous Message Greg Smith 2011-01-11 15:41:19 Re: migrate hashname function from 8.1.x to 8.4