-
Hi @sm-shaw I am interested in understanding the metric NOPM better. As I have found here #197
So the value is queried at the beginning of benchmarking and at the end, and the difference divided by the number of minutes gives NOPM? Could you please document a bit more about how the metric is derived? Is the above correct? What is Many thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, We also measure the TPM value, which is the database specific transaction rate that is stored in an in-memory table and can be sampled without impact. It is not a requirement of the TPC-C workload that each user transaction should result in one database transaction, nor that the ratio between NOPM and TPM should be constant. For example, some databases may prefer to commit more frequently (resulting in a higher TPM). Therefore, you can use TPM to compare the same database but NOPM should be used to compare between them as the number of new orders is the key workload metric. |
Beta Was this translation helpful? Give feedback.
-
Yes for runtime that is correct. To see why sum instead of max you can check it by testing a build.
I then ran a test with 1 virtual user for 1 minute with the result as follows: 43195 NOPM 97973 TPM I then re-run the query.
Looking in the district table I can see my workload selected warehouse 15
So for 1 warehouse, the max gives the max for one district. The sum gives the total for all districts in that warehouse. |
Beta Was this translation helpful? Give feedback.
Yes for runtime that is correct. To see why sum instead of max you can check it by testing a build.
Here is an example, I built 20 warehouses in SQL Server and the following query returns.
select sum(d_next_o_id), max(d_next_o_id)from district
I then ran a test with 1 virtual user for 1 minute with the result as follows: 43195 NOPM 97973 TPM
I then re-run the query.
Looking in the district table I can see my workload selected warehouse 15
So for 1 warehouse, the max gives the max for one district. The sum gives the total fo…