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

extrem bad performance

From: Stefan <bekraenzter(at)yahoo(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: extrem bad performance
Date: 2004-07-15 10:24:10
Message-ID: cd5m0t$kvr$ (view raw, whole thread or download thread mbox)
Lists: pgsql-performance

I operate a database server with postgres 7.3.2, 2 Xeon CPU's and 1 GB 
Ram. The database-files reside on a local SCSI-HD, the system runs on 
SuSE Enterprise Server 8.0.

The size of the dumped database is about 300 MB, the database is 
vacuumed (-a -z) every night an reindexed every week.

The database server is used by a lamp applicationsserver over a 100 MBit 

My Problem is, that the DB-Server is unbelievable slow!

I monitor the database with top. When a (small) query is executed, I see 
the postmaster task for 2-3 seconds with 80-100 % CPU load. On other 
systems with the same database but less CPU and RAM power, I see the 
task for one moment with 2-8 % CPU load. The other systems behave normal 
the speed is ok.

Also a restart of the postmaster brings no improvement.

The database grows very slowly. The main load comes from SELECT's and 
not from INSERT's or UPDATE's, but the performance gets slower day by day...

I have no idea where to search for the speed break!



pgsql-performance by date

Next:From: Steinar H. GundersonDate: 2004-07-15 12:08:54
Subject: Re: Odd sorting behaviour
Previous:From: Shridhar DaithankarDate: 2004-07-15 06:21:56
Subject: Re: Insert are going slower ...

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