-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for multiple drivers in tpcc (#150)
Add support for multiple drivers, can be changed based on DB type. Co-authored-by: Sonal Agarwal <[email protected]>
- Loading branch information
1 parent
0ad0df7
commit 85e7332
Showing
14 changed files
with
297 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0"?> | ||
<parameters> | ||
<dbtype>postgres</dbtype> | ||
<driver>org.postgresql.Driver</driver> | ||
<port>5432</port> | ||
<username>postgres</username> | ||
<DBName>postgres</DBName> | ||
<password>Password321</password> | ||
<isolation>TRANSACTION_REPEATABLE_READ</isolation> | ||
|
||
<sslCert></sslCert> | ||
<sslKey></sslKey> | ||
<jdbcURL></jdbcURL> | ||
|
||
<batchSize>128</batchSize> | ||
<useKeyingTime>true</useKeyingTime> | ||
<useThinkTime>true</useThinkTime> | ||
<enableForeignKeysAfterLoad>true</enableForeignKeysAfterLoad> | ||
<hikariConnectionTimeoutMs>180000</hikariConnectionTimeoutMs> | ||
<useStoredProcedures>true</useStoredProcedures> | ||
<displayEnhancedLatencyMetrics>false</displayEnhancedLatencyMetrics> | ||
<trackPerSQLStmtLatencies>false</trackPerSQLStmtLatencies> | ||
|
||
<transactiontypes> | ||
<transaction> | ||
<name>NewOrder</name> | ||
<weight>45</weight> | ||
</transaction> | ||
<transaction> | ||
<name>Payment</name> | ||
<weight>43</weight> | ||
</transaction> | ||
<transaction> | ||
<name>OrderStatus</name> | ||
<weight>4</weight> | ||
</transaction> | ||
<transaction> | ||
<name>Delivery</name> | ||
<weight>4</weight> | ||
</transaction> | ||
<transaction> | ||
<name>StockLevel</name> | ||
<weight>4</weight> | ||
</transaction> | ||
</transactiontypes> | ||
|
||
<runtime>1800</runtime> | ||
<rate>10000</rate> | ||
<!-- | ||
Set the number of retries to 0 as retrying when the number of warehouses is | ||
high is pointless as it just leads to more failures. | ||
--> | ||
<maxRetriesPerTransaction>2</maxRetriesPerTransaction> | ||
<maxLoaderRetries>2</maxLoaderRetries> | ||
|
||
</parameters> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.