← Back to team overview

maria-developers team mailing list archive

Re: Structure of MariaDB 10.0 binary logs

 

Giuseppe Maxia <g.maxia@xxxxxxxxx> writes:

> Specifically, I would like to know 
> * what are the differences between binary logs in MariaDB  5.5 and 10.0
> * what are the differences between binary logs in MariaDB 10.0 and MySQL 5.6.

I think the difference is mainly the addition of new events. At least, I
cannot think of any other major differences off the top of my head.

Thus, you can check the enum Log_event_type in sql/log_event.h in the
different versions against each other to see which events are added in which
version and missing in the other versions.

At least some of the added events have documentation of the format of the
event data in the comments in sql/log_event.h at the corresponding class
definition.

Unfortunately I am not aware of any systematic documentation for reading
binlog events or differences between versions. It would certainly be a useful
addition.

But you're most welcome to ask if you have any questions, of course.

 - Kristian.


Follow ups

References