-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #492 from vitessio/add-fk-benchmarks
Add Foreign Keys TPC-C benchmarks
- Loading branch information
Showing
9 changed files
with
109 additions
and
102 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,16 @@ | ||
{ | ||
"sharded": false, | ||
"foreignKeyMode": "managed", | ||
"tables": { | ||
"customer1": {}, | ||
"district1": {}, | ||
"history1": {}, | ||
"item1": {}, | ||
"new_orders1": {}, | ||
"order_line1": {}, | ||
"orders1": {}, | ||
"stock1": {}, | ||
"warehouse1": {} | ||
} | ||
} | ||
|
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 |
---|---|---|
|
@@ -78,6 +78,6 @@ | |
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
|
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 @@ | ||
## Exec configuration | ||
exec-type: tpcc_fk | ||
exec-schema: "./vitess-benchmark/tpcc_fk_vschema.json" | ||
minimum-version: 18 | ||
|
||
## Ansible | ||
ansible-inventory-file: macrobench_unsharded_inventory.yml | ||
ansible-playbook-file: macrobench.yml | ||
|
||
## Macrobench cmd | ||
macrobench-sysbench-executable: /usr/local/bin/sysbench | ||
macrobench-workload-path: /src/sysbench-tpcc/tpcc.lua | ||
macrobench-skip-steps: | ||
macrobench-type: tpcc | ||
macrobench-working-directory: /src/sysbench-tpcc | ||
|
||
## Sysbench all steps | ||
macrobench_all_mysql-db: main | ||
macrobench_all_mysql-host: 127.0.0.1 | ||
macrobench_all_mysql-port: 13306 | ||
macrobench_all_db-ps-mode: disable | ||
macrobench_all_db-driver: mysql | ||
macrobench_all_luajit-cmd: "off" | ||
macrobench_all_threads: 42 | ||
macrobench_all_tables: 1 | ||
macrobench_all_scale: 1 | ||
macrobench_all_rand-type: uniform | ||
macrobench_all_rand-seed: 1 | ||
macrobench_all_use_fk: 1 | ||
macrobench_all_mysql-ignore-errors: all | ||
|
||
## Sysbench prepare step | ||
macrobench_prepare_time: 60 | ||
macrobench_prepare_report-interval: 10 | ||
|
||
## Sysbench warm up step | ||
macrobench_warmup_time: 60 | ||
macrobench_warmup_report-interval: 10 | ||
|
||
## Sysbench run step | ||
macrobench_run_time: 600 | ||
macrobench_run_report_json: "yes" | ||
macrobench_run_verbosity: 0 |
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 was deleted.
Oops, something went wrong.