MySQL is the most widely
used Relational Database Management System in the open
source world. MySQL stepped into the NoSQL world by introducing
the JSON Data Type in MySQL 5.7 release. In this blog post I am
going to explain one of the major advantage of optimisation made
in JSON Replication .
This was done from the MySQL 8.0.3 release.
What happened before 8.0.3 ?
Before MySQL 8.0.3, Whatever changes (Updates) made in JSON
document, it will log as a full document in binary log &
replicate the same into slave. The JSON data is stored as a blob
internally. Below is an example of how it is logged as full
document in binary log ?
Example –
Server version - 5.7.22-log MySQL Community Server (GPL)
My Binlog settings, …
[Read more]