Skip to content

Commit a7c3b50

Browse files
committed
update CH prepare doc
1 parent 2079671 commit a7c3b50

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,16 @@ If you want to import tpcc data into TiDB, please refer to [import-to-tidb](docs
163163

164164
##### TiDB && MySQL
165165
```bash
166-
# Prepare data
167-
./bin/go-tpc ch prepare
168-
# Prepare data, create tiflash replica, and analyze table after data loaded
166+
# Prepare TP data
167+
./bin/go-tpc tpcc --warehouses 10 run -T 4
168+
# Prepare AP data, create tiflash replica, and analyze table after data loaded
169169
./bin/go-tpc ch --analyze --tiflash prepare
170170
```
171171
##### PostgreSQL
172-
```
172+
``` bash
173+
# Prepare TP data
174+
./bin/go-tpc tpcc prepare -d postgres -U myuser -p '12345678' -D test -H 127.0.0.1 -P 5432 --conn-params sslmode=disable -T 4
175+
# Prepare AP data
173176
./bin/go-tpc ch prepare -d postgres -U myuser -p '12345678' -D test -H 127.0.0.1 -P 5432 --conn-params sslmode=disable
174177
```
175178

0 commit comments

Comments
 (0)