From 6338a385eebeb8d2fbc94a9631c045e15dc19f23 Mon Sep 17 00:00:00 2001 From: Shlomi Noach Date: Mon, 6 Jun 2016 13:01:47 +0200 Subject: [PATCH] some more stuff in README --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fe7efe6..d2be6b8 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,22 @@ WORK IN PROGRESS -Please meanwhile refer to the [docs](doc) for more information. +Please meanwhile refer to the [docs](doc) for more information. No, really, go to the [docs](doc). + +## Usage + +#### Testing on replica + +``` +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 +``` +Please read more on [testing on replica](testing-on-replica.md) + +#### Executing on master + +``` +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 +``` ## What's in a name?