Skip to content

Commit 1e1d8e3

Browse files
authored
Rate parameter (#1995)
1 parent 4225fab commit 1e1d8e3

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

ydb/docs/en/core/reference/ydb-cli/commands/workload/_includes/stock.md

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ See the description of the command to run the data load:
8080
---|---|---
8181
| `--seconds <value>` | `-s <value>` | Duration of the test, in seconds. Default: 10. |
8282
| `--threads <value>` | `-t <value>` | The number of parallel threads creating the load. Default: 10. |
83+
| `--rate <value>` | - | Total rate for all threads, in transactions per second. Default: 0 (no rate limit). |
8384
| `--quiet` | - | Outputs only the total result. |
8485
| `--print-timestamp` | - | Print the time together with the statistics of each time window. |
8586
| `--client-timeout` | - | [Transport timeout in milliseconds](../../../../../best_practices/timeouts.md). |

ydb/docs/en/core/reference/ydb-cli/workload-kv.md

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ Parameter name | Short name | Parameter description
117117
---|---|---
118118
`--seconds <value>` | `-s <value>` | Duration of the test, in seconds. Default: 10.
119119
`--threads <value>` | `-t <value>` | The number of parallel threads creating the load. Default: 10.
120+
`--rate <value>` | - | Total rate for all threads, in requests per second. Default: 0 (no rate limit).
120121
`--quiet` | - | Outputs only the total result.
121122
`--print-timestamp` | - | Print the time together with the statistics of each time window.
122123
`--client-timeout` | - | [Transport timeout in milliseconds](../../best_practices/timeouts.md).

ydb/docs/ru/core/reference/ydb-cli/commands/workload/_includes/stock.md

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ CREATE TABLE `orderLines`(id_order Uint64, product Utf8, quantity Int64, PRIMARY
8080
---|---|---
8181
`--seconds <значение>` | `-s <значение>` | Продолжительность теста, сек. Значение по умолчанию: 10.
8282
`--threads <значение>` | `-t <значение>` | Количество параллельных потоков, создающих нагрузку. Значение по умолчанию: 10.
83+
`--rate <значение>` | - | Суммарная частота запросов всех потоков, в транзакциях в секунду. Значение по умолчанию: 0 (не ограничена).
8384
`--quiet` | - | Выводит только итоговый результат теста.
8485
`--print-timestamp` | - | Печатать время вместе со статистикой каждого временного окна.
8586
`--client-timeout` | - | [Транспортный таймаут в миллисекундах](../../../../../best_practices/timeouts.md).

ydb/docs/ru/core/reference/ydb-cli/workload-kv.md

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ DROP TABLE `kv_test`
117117
---|---|---
118118
`--seconds <значение>` | `-s <значение>` | Продолжительность теста, сек. Значение по умолчанию: 10.
119119
`--threads <значение>` | `-t <значение>` | Количество параллельных потоков, создающих нагрузку. Значение по умолчанию: 10.
120+
`--rate <значение>` | - | Суммарная частота запросов всех потоков, в транзакциях в секунду Значение по умолчанию: 0 (не ограничена).
120121
`--quiet` | - | Выводит только итоговый результат теста.
121122
`--print-timestamp` | - | Печатать время вместе со статистикой каждого временного окна.
122123
`--client-timeout` | - | [Транспортный таймаут в миллисекундах](../../best_practices/timeouts.md).

0 commit comments

Comments
 (0)