TPC-Council/HammerDB

Only enable job output for TPROC-C timed workloads

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.
HammerDB has the option to run a test workload to which prints all the virtual user output. When jobs are enabled, this fills the SQLite repository with output and also bottlenecks on the SQLite inserts. This output is only beneficial for timed workloads.

Describe the solution you'd like
A better solution would be to automatically disable the SQLite output for a test workload and re-enable it for a timed one.

Describe alternatives you've considered
we currently advise disabling jobs for test workloads https://www.hammerdb.com/docs/ch02s03.html which is an effective workaround, however doing it automatically is better.

Additional context
This enhancement is only applicable when jobs are enabled and should only disable SQLite, so a test workload with text based logging enabled should still write output to hammerdb.log.