pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedextrem bad performance
3+ messages / 2 participants
[nested] [flat]
* extrem bad performance
@ 2004-07-15 10:24 Stefan <bekraenzter@yahoo.com>
2004-07-17 02:31 ` Re: extrem bad performance Rod Taylor <pg@rbt.ca>
0 siblings, 1 reply; 3+ messages in thread
From: Stefan @ 2004-07-15 10:24 UTC (permalink / raw)
To: pgsql-performance
Hi,
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
Network.
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!
Stefan
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: extrem bad performance
2004-07-15 10:24 extrem bad performance Stefan <bekraenzter@yahoo.com>
@ 2004-07-17 02:31 ` Rod Taylor <pg@rbt.ca>
2004-07-21 16:25 ` Re: extrem bad performance Stefan <bekraenzter@yahoo.com>
0 siblings, 1 reply; 3+ messages in thread
From: Rod Taylor @ 2004-07-17 02:31 UTC (permalink / raw)
To: Stefan <bekraenzter@yahoo.com>; +Cc: pgsql-performance
> 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!
Lets start with an example. Please send us an EXPLAIN ANALYZE of a
couple of the poorly performing queries.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: extrem bad performance
2004-07-15 10:24 extrem bad performance Stefan <bekraenzter@yahoo.com>
2004-07-17 02:31 ` Re: extrem bad performance Rod Taylor <pg@rbt.ca>
@ 2004-07-21 16:25 ` Stefan <bekraenzter@yahoo.com>
0 siblings, 0 replies; 3+ messages in thread
From: Stefan @ 2004-07-21 16:25 UTC (permalink / raw)
To: pgsql-performance
Rod Taylor wrote:
> Lets start with an example. Please send us an EXPLAIN ANALYZE of a
> couple of the poorly performing queries.
thanks for your answer. the problem was solved by using FULL(!) VACUUM.
regards,
Stefan
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2004-07-21 16:25 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-07-15 10:24 extrem bad performance Stefan <bekraenzter@yahoo.com>
2004-07-17 02:31 ` Rod Taylor <pg@rbt.ca>
2004-07-21 16:25 ` Stefan <bekraenzter@yahoo.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox