removed explanations of RBR vs SBR, we now support RBR#3876
removed explanations of RBR vs SBR, we now support RBR#3876sougou merged 3 commits intovitessio:masterfrom
Conversation
Signed-off-by: jvaidya <jitendra.vaidya@gmail.com>
alainjobart
left a comment
There was a problem hiding this comment.
Feel free to merge after change is made.
doc/VitessReplication.md
Outdated
| row based. Vitess supports both these modes. | ||
|
|
||
| For schema changes, if the number of affected rows is greater > 100k (configurable), we don't allow direct application | ||
| of DDLs the recommended tool in such cases is gh-ost |
There was a problem hiding this comment.
of DDLs the recommended tool in such cases is gh-ost
Should probably be:
of DDLs. The recommended tool in such cases is gh-ost.
And link to the gh-ost project.
doc/VitessReplication.md
Outdated
| row based. Vitess supports both these modes. | ||
|
|
||
| For schema changes, if the number of affected rows is greater > 100k (configurable), we don't allow direct application | ||
| of DDLs the recommended tool in such cases is gh-ost |
doc/VitessReplication.md
Outdated
| to provide the same features when possible. See Appendix for our plan. | ||
| When using statement based replication, Vitess helps by rewriting Update statements, | ||
| therefore allowing complex schema changes, while at the same time simplifying the replication stream (so | ||
| slaves can be fast). This is described in detail below. |
There was a problem hiding this comment.
Replace with:
Not all statements are safe for SBR: https://dev.mysql.com/doc/refman/8.0/en/replication-rbr-safe-unsafe.html. Vitess rewrites some of these statements to be safe for SBR, and others are explicitly failed.
|
|
||
| Thus, with statement based replication, it becomes easier to perform offline | ||
| advanced schema changes, or large data updates. Vitess’s solution is called | ||
| schema swap (described below). |
There was a problem hiding this comment.
The schema swap is independent of vitess's statement rewrites.
Signed-off-by: jvaidya <jitendra.vaidya@gmail.com>
sougou
left a comment
There was a problem hiding this comment.
Netlify is complaining about gh-ost link: https://app.netlify.com/sites/vitess/deploys/5ae78de90733d57fa1186006.
|
Are we recommending |
|
Maybe recommend both? |
Signed-off-by: jvaidya <jitendra.vaidya@gmail.com>
Signed-off-by: jvaidya jitendra.vaidya@gmail.com