This repository has been archived by the owner on Aug 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 266
SpliceMachine Support #185
Open
Covariants
wants to merge
2
commits into
oltpbenchmark:master
Choose a base branch
from
Covariants:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0"?> | ||
<parameters> | ||
|
||
<!-- Connection details --> | ||
<dbtype>splicemachine</dbtype> | ||
<driver>com.splicemachine.db.jdbc.ClientDriver</driver> | ||
<DBUrl>jdbc:splice://localhost:1527/splicedb</DBUrl> | ||
<username>splice</username> | ||
<password>admin</password> | ||
<isolation>TRANSACTION_READ_COMMITTED</isolation> | ||
|
||
<!-- Scale factor is the number of warehouses in TPCC --> | ||
<scalefactor>16</scalefactor> | ||
|
||
<!-- The workload --> | ||
<terminals>48</terminals> | ||
<works> | ||
<work> | ||
<time>300</time> | ||
<rate>unlimited</rate> | ||
<weights>45,43,4,4,4</weights> | ||
</work> | ||
</works> | ||
|
||
<!-- TPCC specific --> | ||
<transactiontypes> | ||
<transactiontype> | ||
<name>NewOrder</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>Payment</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>OrderStatus</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>Delivery</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>StockLevel</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,48 @@ | ||
<?xml version="1.0"?> | ||
<parameters> | ||
|
||
<!-- Connection details --> | ||
<dbtype>splicemachine</dbtype> | ||
<driver>com.splicemachine.db.jdbc.ClientDriver</driver> | ||
<DBUrl>jdbc:splice://localhost:1527/splicedb</DBUrl> | ||
<username>splice</username> | ||
<password>admin</password> | ||
<isolation>TRANSACTION_READ_COMMITTED</isolation> | ||
|
||
<!-- Scale factor is the number of wikipages *1000 --> | ||
<scalefactor>100</scalefactor> | ||
|
||
<!-- Wikipedia Trace Options --> | ||
<tracefile>config/traces/wikipedia-100k.trace</tracefile> | ||
<traceOut>10</traceOut> | ||
<base_ip>10.1.</base_ip> | ||
|
||
<!-- The workload --> | ||
<terminals>100</terminals> | ||
<works> | ||
<work> | ||
<time>10</time> | ||
<rate>1000</rate> | ||
<weights>0.07,0.07,7.6725,91.2656,0.9219</weights> | ||
</work> | ||
</works> | ||
|
||
<!-- Wikipedia Procedures Declaration --> | ||
<transactiontypes> | ||
<transactiontype> | ||
<name>AddWatchList</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>RemoveWatchList</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>UpdatePage</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetPageAnonymous</name> | ||
</transactiontype> | ||
<transactiontype> | ||
<name>GetPageAuthenticated</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
19 changes: 19 additions & 0 deletions
19
src/com/oltpbenchmark/benchmarks/tpcc/dialects/splicemachine-dialects.xml
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,19 @@ | ||
<?xml version="1.0"?> | ||
<dialects> | ||
<dialect type="splicemachine"> | ||
<procedure name="Delivery"> | ||
<statement name="delivGetOrderIdSQL"> | ||
SELECT NO_O_ID | ||
FROM NEW_ORDER | ||
WHERE NO_D_ID = ? AND NO_W_ID = ? ORDER BY NO_O_ID ASC {LIMIT 1} | ||
</statement> | ||
</procedure> | ||
<procedure name="OrderStatus"> | ||
<statement name="ordStatGetNewestOrdSQL"> | ||
SELECT O_ID, O_CARRIER_ID, O_ENTRY_D | ||
FROM OORDER | ||
WHERE O_W_ID = ? AND O_D_ID = ? AND O_C_ID = ? ORDER BY O_ID DESC {LIMIT 1} | ||
</statement> | ||
</procedure> | ||
</dialect> | ||
</dialects> |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dedcode @dvanaken I don't think we want to include all these things, right?