Skip to content

Commit 6338a38

Browse files
author
Shlomi Noach
committed
some more stuff in README
1 parent e75f1e3 commit 6338a38

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,22 @@
1212

1313
WORK IN PROGRESS
1414

15-
Please meanwhile refer to the [docs](doc) for more information.
15+
Please meanwhile refer to the [docs](doc) for more information. No, really, go to the [docs](doc).
16+
17+
## Usage
18+
19+
#### Testing on replica
20+
21+
```
22+
gh-ost --conf=.my.cnf --database=mydb --table=mytable --verbose --alter="engine=innodb" --execute --initially-drop-ghost-table --initially-drop-old-table -max-load=Threads_connected=30 --switch-to-rbr --chunk-size=2500 --cut-over=two-step --exact-rowcount --test-on-replica --verbose
23+
```
24+
Please read more on [testing on replica](testing-on-replica.md)
25+
26+
#### Executing on master
27+
28+
```
29+
gh-ost --conf=.my.cnf --database=mydb --table=mytable --verbose --alter="engine=innodb" --execute --initially-drop-ghost-table --initially-drop-old-table -max-load=Threads_connected=30 --switch-to-rbr --chunk-size=2500 --cut-over=two-step --exact-rowcount --verbose
30+
```
1631

1732
## What's in a name?
1833

0 commit comments

Comments
 (0)