Load testing

You can use the workload command to run different types of workload against your DB.

General format of the command:

ydb [global options...] workload [subcommands...]

See the description of the command to run the data load:

ydb workload --help

Available subcommands

The following types of load tests are supported at the moment:

Global parameters for all workloads

Parameter name Short name Parameter description
--seconds <value> -s <value> Duration of the test, in seconds. Default: 10.
--threads <value> -t <value> The number of parallel threads creating the load. Default: 10.
--rate <value> - Total rate for all threads, in transactions per second. Default: 0 (no rate limit).
--quiet - Outputs only the total result.
--print-timestamp - Prints the time together with the statistics of each time window.
--client-timeout - Transport timeout in milliseconds.
--operation-timeout - Operation timeout in milliseconds.
--cancel-after - Timeout for canceling an operation in milliseconds.
--window - Statistics collection window, in seconds. Default: 1.