/
githubmirror
/
tpcc
Обзор
Документация
Войти
/
githubmirror
/
tpcc
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
config/ydb/sample_tpcc_config.xml
51 строка
2 KB
Evgeniy Ivanov
Ability to load initial TPCC data to YDB
14 май 2023, 20:00
14 май 2023, 20:00
9138c60
Код
Авторство
О чём код?
<?xml version="1.0"?> <parameters> <!-- Connection details --> <type>YDB</type> <driver>tech.ydb.jdbc.YdbDriver</driver> <url>jdbc:ydb:grpc://localhost:2135/Root/db1</url> <isolation>TRANSACTION_SERIALIZABLE</isolation> <!-- Scale factor is the number of warehouses in TPCC --> <scalefactor>1</scalefactor> <!-- The workload --> <terminals>1</terminals> <works> <work> <time>60</time> <rate>10000</rate> <weights>45,43,4,4,4</weights> </work> </works> <!-- TPCC specific --> <transactiontypes> <transactiontype> <name>NewOrder</name> <!--<preExecutionWait>18000</preExecutionWait>--> <!--<postExecutionWait>12000</postExecutionWait>--> </transactiontype> <transactiontype> <name>Payment</name> <!--<preExecutionWait>3000</preExecutionWait>--> <!--<postExecutionWait>12000</postExecutionWait>--> </transactiontype> <transactiontype> <name>OrderStatus</name> <!--<preExecutionWait>2000</preExecutionWait>--> <!--<postExecutionWait>10000</postExecutionWait>--> </transactiontype> <transactiontype> <name>Delivery</name> <!--<preExecutionWait>2000</preExecutionWait>--> <!--<postExecutionWait>5000</postExecutionWait>--> </transactiontype> <transactiontype> <name>StockLevel</name> <!--<preExecutionWait>2000</preExecutionWait>--> <!--<postExecutionWait>5000</postExecutionWait>--> </transactiontype> </transactiontypes> </parameters>