Understanding MySQL Internals: Discovering and Improving a Great Database