File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 12
12
13
13
WORK IN PROGRESS
14
14
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
+ ```
16
31
17
32
## What's in a name?
18
33
You can’t perform that action at this time.
0 commit comments