This repository was archived by the owner on Aug 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 259
Benchmark Modification For Cubrid #188
Open
Qianmin-Jiang
wants to merge
15
commits into
oltpbenchmark:master
Choose a base branch
from
Qianmin-Jiang:cubrid_dev
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
15 commits
Select commit
Hold shift + click to select a range
cdccc9d
tpcc
da91781
ddls
632e5f4
add configuration file for tpch/wikipedia; add AUTO_INCREMENT to cubr…
9d05c27
modify auto_increment constraint
35ad298
fixed auto increment bug
6635d8a
fixed execute batch bug in wikipedia; now it runs
4765c13
Recover accidently deleted file
f1656c6
Unify fix for Wikipedia loading + cleanup
42c9e96
Fix for executeBatch in Cubrid
0b50469
Cubrid TPCC config setting
c4be148
Comments
b28a7ca
the space and tab
Qianmin-Jiang 4b801f2
Merge branch 'cubrid_dev' of https://github.com/Qianmin-Jiang/oltpben…
Qianmin-Jiang cdb5bd6
the space and tab
Qianmin-Jiang ab1c013
add comment to special cubrid prepareStatement method
Qianmin-Jiang 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 hidden or 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>cubrid</dbtype> | ||
| <driver>cubrid.jdbc.driver.CUBRIDDriver</driver> | ||
| <DBUrl>jdbc:cubrid:localhost:33000:tpcc:PUBLIC::</DBUrl> | ||
| <username></username> | ||
| <password></password> | ||
| <isolation>TRANSACTION_READ_COMMITTED</isolation> | ||
|
|
||
| <!-- Scale factor is the number of warehouses in TPCC --> | ||
| <scalefactor>16</scalefactor> | ||
|
|
||
| <!-- The workload --> | ||
| <terminals>64</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 hidden or 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,147 @@ | ||
| <?xml version="1.0"?> | ||
| <parameters> | ||
|
|
||
| <!-- Connection details --> | ||
| <dbtype>cubrid</dbtype> | ||
|
|
||
| <driver>cubrid.jdbc.driver.CUBRIDDriver</driver> | ||
|
|
||
| <DBUrl>jdbc:cubrid:127.0.0.1:33000:tpch:public::</DBUrl> | ||
|
|
||
| <username></username> | ||
|
|
||
| <password></password> | ||
|
|
||
| <isolation>TRANSACTION_READ_COMMITTED</isolation> | ||
|
|
||
| <!-- Location for the files generated by tpch dbgen --> | ||
| <datadir>data/tpch1</datadir> | ||
|
|
||
| <!-- Format of the files that contain the tpch data --> | ||
| <!-- Values: csv or tbl--> | ||
| <fileFormat>tbl</fileFormat> | ||
|
|
||
| <!-- This setting doesn't do anything here --> | ||
| <scalefactor>20</scalefactor> | ||
|
|
||
| <!-- The workload --> | ||
| <terminals>1</terminals> | ||
| <works> | ||
| <work> | ||
| <serial>true</serial> | ||
| <rate>unlimited</rate> | ||
| <weights>all</weights> | ||
| </work> | ||
| <work> | ||
| <serial>true</serial> | ||
| <rate>unlimited</rate> | ||
| <weights>even</weights> | ||
| </work> | ||
| <work> | ||
| <serial>true</serial> | ||
| <rate>unlimited</rate> | ||
| <weights>odd</weights> | ||
| </work> | ||
| </works> | ||
|
|
||
| <transactiontypes> | ||
| <groupings> | ||
| <grouping> | ||
| <name>odd</name> | ||
| <weights>1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0</weights> | ||
| </grouping> | ||
| <grouping> | ||
| <name>even</name> | ||
| <weights>0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1</weights> | ||
| </grouping> | ||
| </groupings> | ||
| <transactiontype> | ||
| <name>Q1</name> | ||
| <id>1</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q2</name> | ||
| <id>2</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q3</name> | ||
| <id>3</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q4</name> | ||
| <id>4</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q5</name> | ||
| <id>5</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q6</name> | ||
| <id>6</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q7</name> | ||
| <id>7</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q8</name> | ||
| <id>8</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q9</name> | ||
| <id>9</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q10</name> | ||
| <id>10</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q11</name> | ||
| <id>11</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q12</name> | ||
| <id>12</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q13</name> | ||
| <id>13</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q14</name> | ||
| <id>14</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q15</name> | ||
| <id>15</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q16</name> | ||
| <id>16</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q17</name> | ||
| <id>17</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q18</name> | ||
| <id>18</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q19</name> | ||
| <id>19</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q20</name> | ||
| <id>20</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q21</name> | ||
| <id>21</id> | ||
| </transactiontype> | ||
| <transactiontype> | ||
| <name>Q22</name> | ||
| <id>22</id> | ||
| </transactiontype> | ||
| </transactiontypes> | ||
| </parameters> |
This file contains hidden or 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,95 @@ | ||
| <?xml version="1.0"?> | ||
|
|
||
| <parameters> | ||
|
|
||
|
|
||
|
|
||
| <!-- Connection details --> | ||
|
|
||
| <dbtype>cubrid</dbtype> | ||
|
|
||
| <driver>cubrid.jdbc.driver.CUBRIDDriver</driver> | ||
|
|
||
| <DBUrl>jdbc:cubrid:127.0.0.1:33000:wikipedia:public::</DBUrl> | ||
|
|
||
| <username></username> | ||
|
|
||
| <password></password> | ||
|
|
||
| <isolation>TRANSACTION_READ_COMMITTED</isolation> | ||
|
|
||
|
|
||
|
|
||
| <!-- Scale factor is the number of wikipages *1000 --> | ||
|
|
||
| <scalefactor>1</scalefactor> | ||
|
|
||
|
|
||
|
|
||
| <!-- Wikipedia Trace Options --> | ||
|
|
||
| <tracefile>config/traces/wikipedia-100k.trace</tracefile> | ||
|
|
||
| <traceOut>10</traceOut> | ||
|
|
||
| <base_ip>10.1.</base_ip> | ||
|
|
||
|
|
||
|
|
||
| <!-- The workload --> | ||
|
|
||
| <terminals>64</terminals> | ||
|
|
||
| <works> | ||
|
|
||
| <work> | ||
|
|
||
| <time>300</time> | ||
|
|
||
| <rate>unlimited</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> |
Binary file not shown.
This file contains hidden or 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.
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.
Can you add a comment to explain why you need this special clause?
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.
Done.