MySQL性能调优概要

1,295 views
1,243 views

Published on

MySQL性能调优概要

0 Comments
11 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,295
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
85
Comments
0
Likes
11
Embeds 0
No embeds

No notes for slide

MySQL性能调优概要

  1. 1. MySQL fire9@me.com Blog www.archnotes.net Twitter fire9
  2. 2. Sharding TCMalloc DB
  3. 3. MySQL
  4. 4. Master+Slave Master Slave
  5. 5. Master+Slaves Master Slave Slave Slave
  6. 6. Master+Relay slave+Slaves Master Relay Slave Slave Slave Slave
  7. 7. Dual Masters+Slaves Slave Master Master Relay Slave Slave Slave Slave
  8. 8. -5.1+ support Range Partitioning List Partitioning Hash Partitioning Key Partitioning Subpartitioning
  9. 9. CPU Core RAID10 IO NAS SAN RAID
  10. 10. 64 XFS TCP/IP
  11. 11. Google TCMalloc
  12. 12. MyISAM B+Tree
  13. 13. InnoDB MyISAM
  14. 14. My.cnf /
  15. 15. sar,iostat,vmstat,mpstat,uptime show global {processlist,status,variables},information_schema mysqlreport, innotop, mytop MySQL Monitor, MySQL administrator, cacti, Zenoss, nagios
  16. 16. SQL explain sql sql left (),substr(),to_days() sql mysqldumpsql mysqlsla mysql-log- filter
  17. 17. int,varchar sql
  18. 18. Q&A Thank You

×