On 23.08.2007 11:04, Max Zorloff wrote:
> When one postgres process waits for lock to release does it use any cpu?
> And also, when apache waits for query to finish, does it use cpu?
No, but are you sure what you see is not i/o wait? What values does top
display in the %wa columns in the CPU rows? What does iostat -dm 1 say
say under load?
--
Regards,
Hannes Dorbath