MySQL 和 InnoDB 性能
MySQL 和 InnoDB 性能
MySQL Architecture
MySQL Server Parser, Optimizer Executor, Caches Storage Engines
Response Time
R=W+S
Response Time
W S Utilization
Response Time
Response Time
R=W+S
W
S Utilization
MySQL Server
InnoDB
Operating Environment
RAM CPU
I/O
Network
Operating Environment
RAM
RAID + BBU Fast SAS Disks SSD / FusionIO XFS Filesystem Deadline Scheduler Up to 100's of GB
I/O
CPU
Fast Up to 24 Cores
Network
MySQL Performance
MySQL Performance
Cache Scalability
Special-Purpose Threads
Buffer Pool
LRU
Hash
Free
Measure Carefully
Instrumentation is Key
The best performance data is INSIDE MySQL
Diagnostics
Current Benchmarks
Other Technologies
Cloud Computing
2 of the 4 critical resources are uncontrollable
NoSQL Databases
It's too soon to be sure
Summary
The operating environment is important MySQL & InnoDB are getting much faster The cloud is not a performance solution You are the key to better performance
Contribute!
Sponsor features you need or want Help improve tools