Skip to content

for HammerDB/src/postgresql /pgolap.tcl, can the max thread be more than 256 if wanting to run tproc-h/tpc-h? #772

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

You must be logged in to vote

256 is a soft limit put in place to prevent over-configuring of TPROC-H loads. A load is often limited not by the number of threads loading but the databases ability to manage the load and adding more virtual users can increase the load time, therefore:
set max_threads 256 was added so if the number of virtual users for the load is higher than this then they report they have no data to load.

And yes as a soft limit this setting can be modified in the file pg_olap.tcl and will increase the limit with no other changes needed.

Note that max_connections in postgresql.conf will also need to be increased beyond the default 100 limit.

Also by default there is a 500ms delay i.e. 1/2 a second betw…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@ashkumar20
Comment options

@sm-shaw
Comment options

@ashkumar20
Comment options

@sm-shaw
Comment options

Answer selected by sm-shaw
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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