/
githubmirror
/
tpcc-postgres
Обзор
Документация
Войти
/
githubmirror
/
tpcc-postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
config/postgres/sample_tpcc_config.xml
54 строки
2 KB
Wan Shen Lim
Comment out keying and wait times for default TPC-C configs. (#101)
01 янв 2022, 03:09
Не верифицирован
01 янв 2022, 03:09
8770f8b
Код
Авторство
О чём код?
<?xml version="1.0"?> <parameters> <!-- Connection details --> <type>POSTGRES</type> <driver>org.postgresql.Driver</driver> <url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&ApplicationName=tpcc&reWriteBatchedInserts=true</url> <username>admin</username> <password>password</password> <isolation>TRANSACTION_SERIALIZABLE</isolation> <batchsize>128</batchsize> <!-- 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>