/
githubmirror
/
tpcc-postgres
Обзор
Документация
Войти
/
githubmirror
/
tpcc-postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
config/sqlite/sample_tpcc_config.xml
55 строк
2 KB
Andy Pavlo
Add SQLite Support (#155)
30 май 2022, 16:23
Не верифицирован
30 май 2022, 16:23
01a37b9
Код
Авторство
О чём код?
<?xml version="1.0"?> <parameters> <!-- Connection details --> <type>SQLITE</type> <driver>org.sqlite.JDBC</driver> <url>jdbc:sqlite:tpcc.db</url> <isolation>TRANSACTION_SERIALIZABLE</isolation> <batchsize>128</batchsize> <!-- Scale factor is the number of warehouses in TPCC --> <scalefactor>1</scalefactor> <!-- SQLITE only supports one writer thread --> <loaderThreads>1</loaderThreads> <!-- 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>