Re: PostgreSQL strugling during high load

From: "Steinar H(dot) Gunderson" <sgunderson(at)bigfoot(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: PostgreSQL strugling during high load
Date: 2005-05-13 13:00:37
Message-ID: 20050513130037.GB31454@uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, May 13, 2005 at 03:52:38PM +0300, Mindaugas Riauba wrote:
> Tables are not big (20000-150000 rows each) but have very high
> turnover rate - 100+ updates/inserts/deletes/selects per second.
> So contents of database changes very fast. Problem is that when
> pg_autovacuum does vacuum those changes slows down too much.
> And we keep autovacuum quite aggressive (-v 1000 -V 0.5 -a 1000
> -A 0.1 -s 10) to not bloat database and to avoid bigger impact.
> analyze seems not to impact performance too much.

Are you using the bgwriter?
See http://developer.postgresql.org/~wieck/vacuum_cost/ for details.

/* Steinar */
--
Homepage: http://www.sesse.net/

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2005-05-13 13:42:43 Re: PostgreSQL strugling during high load
Previous Message Mindaugas Riauba 2005-05-13 12:52:38 PostgreSQL strugling during high load