What is binlog?
In MySQL the binary log record the events that, when ever the
changes happens in the databases.
(eg.create,delete,update,insert)
What is binlog formats?
The format that has been used to record the changes of data in
binlog.
What are the their types?
There are three types of binlog formats.
1) Statement
2) Row
3) Mixed
1) Statement
It is the default binlog format for MySQL5.6. It records the
events in SQL statement in binlog to read easily with
mysqlbinlog. The binlog does not grow so fast than row
format.
Faster to recover from a backup. how it works?
· set the binlog format to statement if you use older version of
MySQL 5.6 in my.cnf file.
· restart MySQL · create a database example india. …
[Read more]