Skip to content

TPC-H configuration HammerDB #335

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

You must be logged in to vote

For Q1. pg_num_tpch_threads this is the number of virtual users to build the TPC-H schema. It will automatically set the number of virtual users for the build based on this value, you do not need to use vu set to set it manually. This can be any value you wish however you should not set it higher than the core count and also note that the virtual users will create and insert data into the same tables at the same time, therefore you may find setting this value too high can reduce the build time. Only testing will show what is right for your environment.

For Q2. This is what HammerDB runs (look at the driver script)
set result [ pg_exec $lda "set max_parallel_workers_per_gather=$degree_of_p…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@sm-shaw
Comment options

@ajithkumarg987
Comment options

@sm-shaw
Comment options

@ajithkumarg987
Comment options

@sm-shaw
Comment options

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