---
metadata:
  - name: generator
    content: Diplodoc Platform v5.71.0
alternate:
  - https://ydb.tech/docs/en/reference/ydb-cli/commands/workload/index.md?version=v26.3
  - https://ydb.tech/docs/ru/reference/ydb-cli/commands/workload/index.md?version=v26.3
  - href: https://ydb.tech/docs/en/reference/ydb-cli/commands/workload/index.md?version=v26.3
    type: text/markdown
    title: Markdown version
  - href: https://ydb.tech/docs/en/llms.txt?revision=3d20fc614f8b1a092ebb766518e1c746cda9c005&version=v26.3
    rel: describedby
sourcePath: en/core/reference/ydb-cli/commands/workload/index.md
---
> **Documentation capabilities:** Search, read sources, and browse this documentation: [agent guide](https://ydb.tech/docs/docs-api/agent/overview?project=ydb-platform--ydb&lang=en&version=v26.3).

> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt?revision=3d20fc614f8b1a092ebb766518e1c746cda9c005&version=v26.3

<!-- source: en/reference/ydb-cli/commands/workload/_includes/index.md -->
# Load testing

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

General format of the command:

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

* `global options`: [Global options](https://ydb.tech/docs/en/reference/ydb-cli/commands/global-options.md?version=v26.3).
* `subcommands`: The [subcommands](#subcommands).

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

```bash
ydb workload --help
```

## Available subcommands {#subcommands}

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

* [Stock](https://ydb.tech/docs/en/reference/ydb-cli/commands/workload/stock.md?version=v26.3): An online store warehouse simulator.
* [Key-value](https://ydb.tech/docs/en/reference/ydb-cli/workload-kv.md?version=v26.3): Key-Value load test.
* [ClickBench](https://ydb.tech/docs/en/reference/ydb-cli/workload-click-bench.md?version=v26.3): [ClickBench analytical benchmark](https://github.com/ClickHouse/ClickBench).
* [TPC-C](https://ydb.tech/docs/en/reference/ydb-cli/workload-tpcc.md?version=v26.3): [TPC-C benchmark](https://www.tpc.org/tpcc/).
* [TPC-H](https://ydb.tech/docs/en/reference/ydb-cli/workload-tpch.md?version=v26.3): [TPC-H benchmark](https://www.tpc.org/tpch/).
* [TPC-DS](https://ydb.tech/docs/en/reference/ydb-cli/workload-tpcds.md?version=v26.3): [TPC-DS benchmark](https://www.tpc.org/tpcds/).
* [Topic](https://ydb.tech/docs/en/reference/ydb-cli/workload-topic.md?version=v26.3): Topic load test.
* [Transfer](https://ydb.tech/docs/en/reference/ydb-cli/workload-transfer.md?version=v26.3): Transfer load test.
* [Query](https://ydb.tech/docs/en/reference/ydb-cli/workload-query.md?version=v26.3): Query load test.
* [Fulltext](https://ydb.tech/docs/en/reference/ydb-cli/workload-fulltext.md?version=v26.3): Fulltext load test.
* [Vector](https://ydb.tech/docs/en/reference/ydb-cli/workload-vector.md?version=v26.3): Vector search load test.

## Global parameters for all workloads {#global_workload_options}

| 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](../../../../dev/timeouts.md). |
| `--operation-timeout` | - | [Operation timeout in milliseconds](../../../../dev/timeouts.md). |
| `--cancel-after` | - | [Timeout for canceling an operation in milliseconds](../../../../dev/timeouts.md). |
| `--window` | - | Statistics collection window, in seconds. Default: 1. |
<!-- endsource: en/reference/ydb-cli/commands/workload/_includes/index.md -->
