forked from cmu-db/benchbase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
1,778 additions
and
46 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,49 @@ | ||
<?xml version="1.0"?> | ||
<parameters> | ||
|
||
<!-- Connection details --> | ||
<type>MARIADB</type> | ||
<driver>org.mariadb.jdbc.Driver</driver> | ||
<url>jdbc:mariadb://localhost:3306/benchbase?useServerPrepStmts</url> | ||
<username>admin</username> | ||
<password>password</password> | ||
<isolation>TRANSACTION_SERIALIZABLE</isolation> | ||
<batchsize>128</batchsize> | ||
|
||
<!-- Note: these example template reuses TPC-C queries and data as a demonstration, but others are possible. | ||
To test this sample as is, you must first run benchbase with parameters `load=true` and | ||
`config=sample_tpcc_config.xml` to load the TPC-C data to the target database. | ||
Other templated benchmarks need to ensure that the data is loaded manually prior to running the benchmark. | ||
--> | ||
|
||
<query_templates_file>data/templated/example.xml</query_templates_file> | ||
|
||
<!-- The workload --> | ||
<terminals>1</terminals> | ||
<works> | ||
<work> | ||
<time>10</time> | ||
<rate>100</rate> | ||
<weights>30,20,10,30,10</weights> | ||
</work> | ||
</works> | ||
|
||
<!-- Select all templates that are executed. --> | ||
<transactiontypes> | ||
<transactiontype> | ||
<name>GetOrder</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetCust</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetCustNull</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetWarehouse</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetItemByPrice</name> | ||
</transactiontype> | ||
</transactiontypes> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0"?> | ||
<parameters> | ||
|
||
<!-- Connection details --> | ||
<type>MYSQL</type> | ||
<driver>com.mysql.cj.jdbc.Driver</driver> | ||
<url>jdbc:mysql://localhost:3306/benchbase?rewriteBatchedStatements=true&allowPublicKeyRetrieval=True&sslMode=DISABLED</url> | ||
<username>admin</username> | ||
<password>password</password> | ||
<isolation>TRANSACTION_SERIALIZABLE</isolation> | ||
<batchsize>128</batchsize> | ||
|
||
<!-- Note: these example template reuses TPC-C queries and data as a demonstration, but others are possible. | ||
To test this sample as is, you must first run benchbase with parameters `load=true` and | ||
`config=sample_tpcc_config.xml` to load the TPC-C data to the target database. | ||
Other templated benchmarks need to ensure that the data is loaded manually prior to running the benchmark. | ||
--> | ||
|
||
<query_templates_file>data/templated/example.xml</query_templates_file> | ||
|
||
<!-- The workload --> | ||
<terminals>1</terminals> | ||
<works> | ||
<work> | ||
<time>10</time> | ||
<rate>100</rate> | ||
<weights>30,20,10,30,10</weights> | ||
</work> | ||
</works> | ||
|
||
<!-- Select all templates that are executed. --> | ||
<transactiontypes> | ||
<transactiontype> | ||
<name>GetOrder</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetCust</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetCustNull</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetWarehouse</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetItemByPrice</name> | ||
</transactiontype> | ||
</transactiontypes> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0"?> | ||
<parameters> | ||
|
||
<!-- Connection details --> | ||
<type>POSTGRES</type> | ||
<driver>org.postgresql.Driver</driver> | ||
<url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&ApplicationName=templated&reWriteBatchedInserts=true</url> | ||
<username>admin</username> | ||
<password>password</password> | ||
<isolation>TRANSACTION_SERIALIZABLE</isolation> | ||
<batchsize>128</batchsize> | ||
|
||
<!-- Note: these example template reuses TPC-C queries and data as a demonstration, but others are possible. | ||
To test this sample as is, you must first run benchbase with parameters `load=true` and | ||
`config=sample_tpcc_config.xml` to load the TPC-C data to the target database. | ||
Other templated benchmarks need to ensure that the data is loaded manually prior to running the benchmark. | ||
--> | ||
|
||
<query_templates_file>data/templated/example.xml</query_templates_file> | ||
|
||
<!-- The workload --> | ||
<terminals>1</terminals> | ||
<works> | ||
<work> | ||
<time>10</time> | ||
<rate>100</rate> | ||
<weights>30,20,10,30,10</weights> | ||
</work> | ||
</works> | ||
|
||
<!-- Select all templates that are executed. --> | ||
<transactiontypes> | ||
<transactiontype> | ||
<name>GetOrder</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetCust</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetCustNull</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetWarehouse</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetItemByPrice</name> | ||
</transactiontype> | ||
</transactiontypes> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0"?> | ||
<parameters> | ||
|
||
<!-- Connection details --> | ||
<type>SQLITE</type> | ||
<driver>org.sqlite.JDBC</driver> | ||
<url>jdbc:sqlite:tpcc.db</url> | ||
<isolation>TRANSACTION_SERIALIZABLE</isolation> | ||
<batchsize>128</batchsize> | ||
|
||
<!-- Note: these example template reuses TPC-C queries and data as a demonstration, but others are possible. | ||
To test this sample as is, you must first run benchbase with parameters `load=true` and | ||
`config=sample_tpcc_config.xml` to load the TPC-C data to the target database. | ||
Other templated benchmarks need to ensure that the data is loaded manually prior to running the benchmark. | ||
--> | ||
|
||
<query_templates_file>data/templated/example.xml</query_templates_file> | ||
|
||
<!-- The workload --> | ||
<terminals>1</terminals> | ||
<works> | ||
<work> | ||
<time>10</time> | ||
<rate>100</rate> | ||
<weights>30,20,10,30,10</weights> | ||
</work> | ||
</works> | ||
|
||
<!-- Select all templates that are executed. --> | ||
<transactiontypes> | ||
<transactiontype> | ||
<name>GetOrder</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetCust</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetCustNull</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetWarehouse</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetItemByPrice</name> | ||
</transactiontype> | ||
</transactiontypes> | ||
</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
Oops, something went wrong.