Profiling - Mailing list pgsql-admin

From Werner vd Merwe
Subject Profiling
Date
Msg-id !~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAUwQqaqKa8EeTFMxLtmNJY8KAAAAQAAAARGQLD/jtXE6H0B79aWFZ1QEAAAAA@saicom.co.za
Whole thread Raw
Responses Re: Profiling  (mike g <mike@thegodshalls.com>)
Re: Profiling  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-admin

Good day all!

 

I posted this question in NOVICE some time ago, but have not really had any replies.

 

We are running a PG7.4 database, being accessed through jsp’s called through Tomcat. The problem is, that sometimes the database comes to a complete standstill, sometimes because of deadlocks, but I would venture to say that most times it is because it runs out of resources.

 

The current hardware config is as follows:

 

Dual Xeon 2.4GHz CPU’s

3 GB RAM

3 X WD 73 GB drives in RAID-5

 

My question is, are there any software or apps out there that can monitor CPU, memory and shared buffer usage etc so I can have a pro-active way of monitoring when we need to upgrade hardware, or just tweak the software. I am aware that running complex queries will take a large chunk of CPU time, but it would be good for me to have the normal running load of PG.

 

Hope the question makes sense.

 

Best regards and thank you in advance.

Werner vd Merwe

pgsql-admin by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: pg_autovacuum problem
Next
From: "Eduardo S. Fontanetti"
Date:
Subject: Backup