/
githubmirror
/
tpcc-postgres
Обзор
Документация
Войти
/
githubmirror
/
tpcc-postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
config/postgres/sample_epinions_config.xml
56 строк
2 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=epinions&reWriteBatchedInserts=true</url> <username>admin</username> <password>password</password> <isolation>TRANSACTION_SERIALIZABLE</isolation> <batchsize>128</batchsize> <!-- Scalefactor in Epinions scales by *2000 the number of users--> <scalefactor>1</scalefactor> <!-- The workload --> <terminals>1</terminals> <works> <work> <time>60</time> <rate>10000</rate> <weights>10,10,10,10,10,10,10,10,20</weights> </work> </works> <!-- Epinions Procedures Declaration --> <transactiontypes> <transactiontype> <name>GetReviewItemById</name> </transactiontype> <transactiontype> <name>GetReviewsByUser</name> </transactiontype> <transactiontype> <name>GetAverageRatingByTrustedUser</name> </transactiontype> <transactiontype> <name>GetItemAverageRating</name> </transactiontype> <transactiontype> <name>GetItemReviewsByTrustedUser</name> </transactiontype> <transactiontype> <name>UpdateUserName</name> </transactiontype> <transactiontype> <name>UpdateItemTitle</name> </transactiontype> <transactiontype> <name>UpdateReviewRating</name> </transactiontype> <transactiontype> <name>UpdateTrustRating</name> </transactiontype> </transactiontypes> </parameters>