Skip to content

Understand measurement of NOPM #533

Answered by sm-shaw
perdelt asked this question in Q&A
Apr 12, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

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

sum 600200
max 3001

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.

sum 642398
max 7318

Looking in the district table I can see my workload selected warehouse 15

d_id	d_w_id	d_next_o_id
1	15	7152
2	15	7249
3	15	7201
4	15	7122
5	15	7145
6	15	7318
7	15	7316
8	15	7301
9	15	7237
10	15	7167

So for 1 warehouse, the max gives the max for one district. The sum gives the total fo…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@perdelt
Comment options

Comment options

You must be logged in to vote
1 reply
@perdelt
Comment options

Answer selected by perdelt
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