-
As a continuation of this question: I have been able to run a benchmark and measure the throughput. The following chart shows the TPM over time (measured every second). The first 2 minutes is the ramp-up period. I was wondering if anyone knows why these results fluctuate so much. Is there any way to solve this to ensure a more consistent TPM? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This tends to be a typically frequent question. You can see a number of other questions in discussions with a similar topic of 'why am I not getting consistent result's but do not post any details on the system hardware, OS, database release, database configuration and performance metrics. So without having done any investigation and provided the data it is almost impossible to answer the question. To start troubleshooting, try running the GUI transaction counter at a time interval of 10 seconds, the graph should be flat https://www.hammerdb.com/docs/ch06s07.html. Also, as per the earlier question try running the GUI PostgreSQL metrics e.g. https://www.hammerdb.com/blog/uncategorized/hammerdb-v4-3-new-features-pt1-graphical-metrics-for-postgresql/ - what is the top wait event in the central window? If you can't use the GUI use the PostgreSQL command line to query the performance metrics, so you can see what the database is waiting on. Having said it is almost impossible to answer the question: invariably when this type of question is asked the top event is the WAL/redo/transaction log so here you would be looking for the WALWrite wait event in the GUI or when querying the PostgreSQL statistics manually. You would then look into the I/O configuration where the WAL is installed. |
Beta Was this translation helpful? Give feedback.
This tends to be a typically frequent question. You can see a number of other questions in discussions with a similar topic of 'why am I not getting consistent result's but do not post any details on the system hardware, OS, database release, database configuration and performance metrics. So without having done any investigation and provided the data it is almost impossible to answer the question.
To start troubleshooting, try running the GUI transaction counter at a time interval of 10 seconds, the graph should be flat https://www.hammerdb.com/docs/ch06s07.html.
Also, as per the earlier question try running the GUI PostgreSQL metrics e.g. https://www.hammerdb.com/blog/uncategorized/hamm…