Skip to content

Understanding Postgresql CPU Utilization #373

Answered by sm-shaw
mamiyaakira asked this question in Q&A
Discussion options

You must be logged in to vote

Of course, but your question is more of a beginners one about how to analyze database performance and identify bottlenecks.

So to start with, CPU utilization - you will likely have multiple cores and CPU utilization will be at the high level user and system - to begin to look into this run the HammerDB CPU metrics and observe the utilization across all cores - is it evenly balanced across cores or for example do you see some cores entirely utilized and others id.e

Also is the CPU utilization productive? This is a very common misunderstanding, you have can 100% CPU utilization not doing productive work. For example one modified database benchmark observed was based on deletes. Analyzing th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sm-shaw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants