Beruflich Dokumente
Kultur Dokumente
• Scalability Improvements
• Scalability bottlenecks and their elimination in MySQL
Server
• Scalability bottlenecks and their elimination in InnoDB
• Recovery improvements in InnoDB
• Impact of solutions
Multi-Core CPU Development
12000
10000
8000
4000
2000
0
4-core 8-core 12-core 16-core
Scalability bottlenecks in MySQL Server in MySQL
5.1
• LOCK_open mutex
• MDL hash mutex
• The above two are still the main MySQL bottlenecks
although now much less of a bottleneck, can fairly
easily be split into different mutexes for different
tables
• MDL table lock mutex
• LOCK_grant (RW-lock almost always using R-lock,
can be fixed by Read-lock optimized RW-locks)
• THR_LOCK_lock
• Query cache mutexes + Binlog mutexes
Scalability Bottlenecks in MySQL 5.1/InnoDB 1.0.6
35000
30000
25000
20000
RO
RW
15000
10000
5000
0
12-cores 16-cores 24-cores 32-cores
Thank you for your attention
Questions?