I’ve been using InnoDB for about a decade now, and up to now have
understood it well enough to make it do what I wanted, most of
the time. However in order to achieve some goals related to
efficiency, I’ve found it necessary to take my understanding to
the next level. Unfortunately, the InnoDB documentation was
pretty lacking in clear explanations of InnoDB’s internal data
structures. Reading the code turned out to be the only way to
find the information I needed.
However I quickly found that the structures and their usage (and
especially their inter-relationships) are way too complex to keep
in your head just based on reading the code. Additionally it’s
only really possible to hope you’ve understood the
structure correctly just based on reading (and for me, there were
a lot of misunderstandings along the way).
An approach I’ve long taken to understanding something that is
complex and poorly documented is the …
[Read more]