Mysql database .frm and .ibd file read to understand
Jeremy Cole in a series of posts explains InnoDB internals and on disk format in particular.
I'd start from https://blog.jcole.us/2013/01/02/on-learning-innodb-a-journey-to-the-core/ . Get his tool innodb_ruby, it's very helpful in the learning.