/
githubmirror
/
tpcc-postgres
Обзор
Документация
Войти
/
githubmirror
/
tpcc-postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
config/postgres/sample_resourcestresser_config.xml
48 строк
1 KB
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=resourcestresser&reWriteBatchedInserts=true</url> <username>admin</username> <password>password</password> <isolation>TRANSACTION_SERIALIZABLE</isolation> <batchsize>128</batchsize> <!-- Scalefactor in ResourceStresser scales by *100 the number of employees --> <scalefactor>1</scalefactor> <!-- The workload --> <terminals>1</terminals> <works> <work> <time>60</time> <rate>10000</rate> <weights>16.66,16.66,16.66,16.66,16.66,16.7</weights> </work> </works> <!-- R/S Procedures declaration --> <transactiontypes> <transactiontype> <name>CPU1</name> </transactiontype> <transactiontype> <name>CPU2</name> </transactiontype> <transactiontype> <name>IO1</name> </transactiontype> <transactiontype> <name>IO2</name> </transactiontype> <transactiontype> <name>Contention1</name> </transactiontype> <transactiontype> <name>Contention2</name> </transactiontype> </transactiontypes> </parameters>