Skip to content

Commit

Permalink
Update readme: add the -T flag on the prepare and run guide (pi…
Browse files Browse the repository at this point in the history
…ngcap#81)

* update README

Signed-off-by: mahjonp <junpeng.man@gmail.com>

* readme: add the -T flag on tpcc

Signed-off-by: mahjonp <junpeng.man@gmail.com>
  • Loading branch information
mahjonp committed Jun 5, 2021
1 parent 59c3d73 commit 1640d3a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@ For example:
#### Prepare

```bash
# Create 4 warehouses and use 4 partitions by HASH
./bin/go-tpc tpcc --warehouses 4 --parts 4 prepare
# Create 4 warehouses with 4 threads
./bin/go-tpc tpcc --warehouses 4 prepare -T 4
```

#### Run

```bash
# Run TPCC workloads, you can just run or add --wait option to including wait times
./bin/go-tpc tpcc --warehouses 4 run
./bin/go-tpc tpcc --warehouses 4 run -T 4
# Run TPCC including wait times(keying & thinking time) on every transactions
./bin/go-tpc tpcc --warehouses 4 run --wait
./bin/go-tpc tpcc --warehouses 4 run -T 4 --wait
```

#### Check
Expand Down

0 comments on commit 1640d3a

Please sign in to comment.