File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
1 . Build binaries
2
- * cd scr ; make
2
+ * ` cd scr ; make `
3
3
( you should have mysql_config available in $PATH)
4
4
5
5
2 . Load data
6
6
* create database
7
- mysqladmin create tpcc1000
7
+ ` mysqladmin create tpcc1000 `
8
8
* create tables
9
- mysql tpcc1000 < create_table.sql
9
+ ` mysql tpcc1000 < create_table.sql `
10
10
* create indexes and FK ( this step can be done after loading data)
11
- mysql tpcc1000 < add_fkey_idx.sql
11
+ ` mysql tpcc1000 < add_fkey_idx.sql `
12
12
* populate data
13
13
- simple step
14
- tpcc_load 127.0.0.1:33000 tpcc1000 root "" 1000
14
+ ` tpcc_load 127.0.0.1:33000 tpcc1000 root "" 1000 `
15
15
|hostname: port | |dbname| |user| |password| |WAREHOUSES|
16
16
ref. tpcc_load --help for all options
17
17
- load data in parallel
18
18
check load.sh script
19
19
20
20
3 . start benchmark
21
- * ./tpcc_start -h127.0.0.1 -P33000 -dtpcc1000 -uroot -w1000 -c32 -r10 -l10800
21
+ * ` ./tpcc_start -h127.0.0.1 -P33000 -dtpcc1000 -uroot -w1000 -c32 -r10 -l10800 `
22
22
|hostname| |port| |dbname| |user| |WAREHOUSES| |CONNECTIONS| |WARMUP TIME| |BENCHMARK TIME|
23
23
* ref. tpcc_start --help for all options
You can’t perform that action at this time.
0 commit comments