Understanding Mysql Internals