Skip site navigation (1) Skip section navigation (2)

PostgreSQL strugling during high load

From: "Mindaugas Riauba" <mind(at)bi(dot)lt>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: PostgreSQL strugling during high load
Date: 2005-05-13 12:52:38
Message-ID: 01cc01c557ba$a4fdb0b0$ (view raw, whole thread or download thread mbox)
Lists: pgsql-performance

  We have problems with one postgresql database with high
data change rate. Actually we are already under pressure
to change postgresql to Oracle.

  I cannot post schema and queries to list but can do this

  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.

  Tables have 2-3 indexes each and one table have foreign key
contraint. Postgresql is 8.0.1. vmstat shows that IO and CPU are
not saturated. DB is on RAID1+0 controller with battery backed write

  What can we tune to improve performance in our case? Please help
to defend PostgreSQL against Oracle in this case :).




pgsql-performance by date

Next:From: Steinar H. GundersonDate: 2005-05-13 13:00:37
Subject: Re: PostgreSQL strugling during high load
Previous:From: Greg StarkDate: 2005-05-13 05:56:44
Subject: Re: Optimize complex join to use where condition before

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group