diff options
author | Aidar Samerkhanov <aidarsamer@yandex-team.ru> | 2022-02-11 17:59:26 +0300 |
---|---|---|
committer | Aidar Samerkhanov <aidarsamer@yandex-team.ru> | 2022-02-11 17:59:26 +0300 |
commit | 84ed4aa29f9177dedab2fc11b10f8239d16ff8de (patch) | |
tree | a4df69dbbf3bbe4cb2e2cff8c9a736bd7c33645e | |
parent | ca5b2156dc494fceba4c633a6d29ae389b334cb8 (diff) | |
download | ydb-84ed4aa29f9177dedab2fc11b10f8239d16ff8de.tar.gz |
KIKIMR-13365. Add max partitions count to stock workload.
KIKIMR-13365. Add max partitions count to stock workload DDL.
ref:839d8d27795dcdc68f68f5e50c28004fd3b15252
-rw-r--r-- | ydb/library/workload/stock_workload.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/library/workload/stock_workload.cpp b/ydb/library/workload/stock_workload.cpp index 1b8a9ffad7..c65b5b392e 100644 --- a/ydb/library/workload/stock_workload.cpp +++ b/ydb/library/workload/stock_workload.cpp @@ -41,9 +41,9 @@ std::string TStockWorkloadGenerator::GetDDLQueries() const { StockPartitionsDdl = "WITH (AUTO_PARTITIONING_BY_LOAD = ENABLED, AUTO_PARTITIONING_MIN_PARTITIONS_COUNT = " + partsNum + ")"; OrdersPartitionsDdl = "WITH (READ_REPLICAS_SETTINGS = \"per_az:1\", AUTO_PARTITIONING_BY_LOAD = ENABLED, AUTO_PARTITIONING_MIN_PARTITIONS_COUNT = " - + partsNum + ", UNIFORM_PARTITIONS = " + partsNum + ")"; + + partsNum + ", UNIFORM_PARTITIONS = " + partsNum + ", AUTO_PARTITIONING_MAX_PARTITIONS_COUNT = 1000)"; OrderLinesPartitionsDdl = "WITH (AUTO_PARTITIONING_BY_LOAD = ENABLED, AUTO_PARTITIONING_MIN_PARTITIONS_COUNT = " - + partsNum + ", UNIFORM_PARTITIONS = " + partsNum + ")"; + + partsNum + ", UNIFORM_PARTITIONS = " + partsNum + ", AUTO_PARTITIONING_MAX_PARTITIONS_COUNT = 1000)"; } static const char TablesDdl[] = R"(--!syntax_v1 |