/
githubmirror
/
tpcc-postgres
Обзор
Документация
Войти
/
githubmirror
/
tpcc-postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
config/postgres/sample_voter_config.xml
31 строка
843 B
Wan Shen Lim
Update config database from oltpbench to benchbase.
09 авг 2021, 21:02
09 авг 2021, 21:02
94fcde7
Код
Авторство
О чём код?
<?xml version="1.0"?> <parameters> <!-- Connection details --> <type>POSTGRES</type> <driver>org.postgresql.Driver</driver> <url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&ApplicationName=voter&reWriteBatchedInserts=true</url> <username>admin</username> <password>password</password> <isolation>TRANSACTION_SERIALIZABLE</isolation> <batchsize>128</batchsize> <scalefactor>1</scalefactor> <!-- The workload --> <terminals>1</terminals> <works> <work> <time>60</time> <rate>10000</rate> <weights>100</weights> </work> </works> <!-- Voter Procedures declaration --> <transactiontypes> <transactiontype> <name>Vote</name> </transactiontype> </transactiontypes> </parameters>