You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ydb/docs/en/core/reference/ydb-cli/workload-transfer.md
+26-22
Original file line number
Diff line number
Diff line change
@@ -76,32 +76,35 @@ Parameter name | Parameter Description | Default value
76
76
`--consumer-threads`, `-t` | Number of consumer threads | `1`
77
77
`--consumers`, `-c` | Number of consumers | `1`
78
78
`--message-size`, `-m` | Message size in bytes. It is possible to specify in KB, MB, GB by adding suffixes `K`, `M`, `G` respectively | `10240`
79
-
`--message-rate` | Target total write speed. In messages per second. Excludes the use of the `--byte-rate` | `0` parameter
80
-
`--byte-rate` | Target total write speed. In bytes per second. Excludes the use of the --message-rate parameter. It is possible to specify in KB/s, MB/s, GB/s by adding suffixes `K`, `M`, `G` respectively | `0`
79
+
`--message-rate` | Target total write speed. In messages per second. Excludes the use of the `--byte-rate`parameter | `0`
80
+
`--byte-rate` | Target total write speed. In bytes per second. Excludes the use of the `--message-rate` parameter. It is possible to specify in KB/s, MB/s, GB/s by adding suffixes `K`, `M`, `G` respectively | `0`
81
81
`--commit-period` | The period between `COMMIT` calls. In seconds | `10`
82
+
`--commit-messages` | The period between `COMMIT` calls. In number of messages | `1000000`
83
+
`--only-topic-in-tx` | Only topic partitions are forced to participate in transactions. Excludes the use of the `--only-table-in-tx` parameter | `0`
84
+
`--only-table-in-tx` | Only table shards are forced to participate in transactions. Excludes the use of the `--only-topic-in-tx` parameter | `0`
82
85
83
86
For example, the command `{{ ydb-cli }} --profile quickstart workload transfer topic-to-table run` will run a test lasting 60 seconds. The data for the first 5 seconds will not be taken into account in the work statistics. Example of console output:
84
87
85
88
```text
86
-
Window Write speed Write time Inflight Lag Lag time Read speed Full time
@@ -112,7 +115,8 @@ Window Write speed Write time Inflight Lag Lag time
112
115
*`Lag` — the specified percentile of maximum number of messages waiting to be read in the statistics collection window. Messages for all batches are taken into account.
113
116
*`Lag time` — the specified percentile of message delay time in ms.
114
117
*`Read speed` — the speed of reading messages by consumers. In messages per second and in megabytes per second.
115
-
*`Full time` — the specified percentile of the time of complete processing of the message, from writing by the producer to reading by the consumer in ms.
118
+
*`Select time`, `Upsert time`, `Commit time` — the specified percentile of the execution time of Select, Insert, Commit operations in ms.
119
+
<!-- * `Full time` — the specified percentile of the time of complete processing of the message, from writing by the producer to reading by the consumer in ms. -->
Copy file name to clipboardExpand all lines: ydb/docs/ru/core/reference/ydb-cli/workload-transfer.md
+26-22
Original file line number
Diff line number
Diff line change
@@ -81,8 +81,11 @@
81
81
`--consumers`, `-c` | Количество читателей | `1`
82
82
`--message-size`, `-m` | Размер сообщения в байтах. Возможно задание в КБ, МБ, ГБ путем добавления суффиксов `K`, `M`, `G` соответственно | `10240`
83
83
`--message-rate` | Целевая суммарная скорость записи. В сообщениях в секунду. Исключает использование параметра `--byte-rate` | `0`
84
-
`--byte-rate` | Целевая суммарная скорость записи. В байтах в секунду. Исключает использование параметра --message-rate. Возможно задание в КБ/с, МБ/с, ГБ/с путем добавления суффиксов `K`, `M`, `G` соответственно | `0`
85
-
`--commit-period` | Период между вызовами `COMMIT`. В секундах | `10`
84
+
`--byte-rate` | Целевая суммарная скорость записи. В байтах в секунду. Исключает использование параметра `--message-rate`. Возможно задание в КБ/с, МБ/с, ГБ/с путем добавления суффиксов `K`, `M`, `G`, соответственно | `0`
85
+
`--commit-period` | Период между вызовами `COMMIT`. В секундах | `10`
86
+
`--commit-messages` | Период между вызовами `COMMIT`. В количестве сообщений | `1000000`
87
+
`--only-topic-in-tx` | В транзакциях принудительно участвуют только партиции топиков. Исключает использование параметра `--only-table-in-tx` | `0`
88
+
`--only-table-in-tx` | В транзакциях принудительно участвуют только шарды таблиц. Исключает использование параметра `--only-topic-in-tx` | `0`
86
89
87
90
Например, команда
88
91
```bash
@@ -91,25 +94,25 @@
91
94
запустит тест продолжительностью 60 секунд. Данные за первые 5 секунд не будут учитываться в статистике работы. Пример вывода на консоль
92
95
93
96
```text
94
-
Window Write speed Write time Inflight Lag Lag time Read speed Full time
0 commit comments