-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-wikipedia-cockroackdb-limits
- Loading branch information
Showing
35 changed files
with
349 additions
and
36 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
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,2 @@ | ||
# Enforce and apply Google Java Style formatting (#416) | ||
56e3191bf8df94dcdf226ae814a9aa2c08b931b9 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?xml version="1.0"?> | ||
<parameters> | ||
|
||
<!-- Connection details --> | ||
<type>COCKROACHDB</type> | ||
<driver>org.postgresql.Driver</driver> | ||
<url>jdbc:postgresql://localhost:26257/benchbase?sslmode=disable&ApplicationName=templated&reWriteBatchedInserts=true</url> | ||
<username>root</username> | ||
<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>20,20,10,10,10,10,10<!-- FIXME: ,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> | ||
<transactiontype> | ||
<name>UpdateItemPrice</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>DeleteItem</name> | ||
</transactiontype> | ||
<!-- FIXME: | ||
<transactiontype> | ||
<name>InsertItem</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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,6 +114,6 @@ | |
<transactiontype> | ||
<name>SumRecord10</name> | ||
</transactiontype> | ||
|
||
</transactiontypes> | ||
</parameters> |
Oops, something went wrong.