17 Commits

Author SHA1 Message Date
805825fa81 --rand-type: remove 'special' from available distributions
Remove the legacy 'special' distribution, because it was unscientific
and hard to explain.

Pareto and Zipfian distributions provide more clearly defined
alternatives.
2020-05-05 11:33:09 +03:00
0bd7771533 --rand-type: use 'uniform' by default
By a popular request, change the default --rand-type value from
'special' to 'uniform'.

Fixes GH-329.
2020-05-05 11:32:42 +03:00
9ef42e269f Remove deprecated options.
--tx-rate, --max-requests, --max-time and --num-threads are no longer
supported. --rate, --events, --time and --threads should be used
instead.
2018-04-20 18:20:29 +03:00
8445775235 Merge branch '1.0' 2018-04-02 13:09:40 +03:00
86235957bb Fix opt_help.t to pass when the binary is not configured with MySQL support. 2018-04-02 11:42:08 +03:00
92b1426276 Use --db-driver=mysql by default, if the MySQL driver is available.
If the MySQL driver is available and --db-driver option was explicitly
specified, assume MySQL and don't compain about multiple DB drivers
being available.

That was a popular request and is likely what most sysbench users want.
2018-04-02 11:20:55 +03:00
6c2e47ecd6 Add Zipfian distribution.
Zipfian distribution is now available and can be controlled via
--rand-type=zipfian, --rand-zipfian-exp.
2017-09-12 10:18:14 +03:00
fd34a95595 fix typo in --rand-pareto-h description 2017-05-27 13:42:03 +03:00
cc23297b2d fix typo in --rand-pareto-h description 2017-05-27 09:59:19 +02:00
463a6c1bf8 corrected opt_help.t to include thread-init-timeout 2017-05-19 09:07:19 -07:00
b33e546fcf Add --luajit-cmd option which is equivalent to 'luajit -j'. 2017-03-29 00:21:45 +03:00
073a1b445f Add --warmup-time option. 2017-02-15 15:53:50 +03:00
7f56e219f7 Rename --num-threads to --threads.
Accept the old name with a warning for compatibility.
2017-02-01 17:42:39 +03:00
788fcbb30b Rename --max-requests to --events, --max-time to --time.
Print warnings if old names are used, but accept them for compatibility.
2017-02-01 17:20:22 +03:00
8f227f64b3 Rename --tx-rate to --rate, keep --tx-rate as a deprecated alias. 2017-02-01 16:28:14 +03:00
2cda228c7e Command line options refactoring:
- add support for 'validator' functions
- add support to define command line options after test
initialization. It is a prerequisite for option definitions in Lua
scripts
- various code cleanups
2017-01-25 19:09:44 +03:00
45e219d038 Change the command line syntax: remove the --test option. 2017-01-25 00:02:59 +03:00