Skip to content

Commit 1348790

Browse files
committed
Update README.md
1 parent 99d337d commit 1348790

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
1. Build binaries
2-
* cd scr ; make
2+
* `cd scr ; make`
33
( you should have mysql_config available in $PATH)
44

55
2. Load data
66
* create database
7-
mysqladmin create tpcc1000
7+
`mysqladmin create tpcc1000`
88
* create tables
9-
mysql tpcc1000 < create_table.sql
9+
`mysql tpcc1000 < create_table.sql`
1010
* 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`
1212
* populate data
1313
- simple step
14-
tpcc_load 127.0.0.1:33000 tpcc1000 root "" 1000
14+
`tpcc_load 127.0.0.1:33000 tpcc1000 root "" 1000`
1515
|hostname:port| |dbname| |user| |password| |WAREHOUSES|
1616
ref. tpcc_load --help for all options
1717
- load data in parallel
1818
check load.sh script
1919

2020
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`
2222
|hostname| |port| |dbname| |user| |WAREHOUSES| |CONNECTIONS| |WARMUP TIME| |BENCHMARK TIME|
2323
* ref. tpcc_start --help for all options

0 commit comments

Comments
 (0)