Your SlideShare is downloading. ×
0
MySQL


                 fire9@me.com
        Blog www.archnotes.net
                   Twitter fire9
Sharding




     TCMalloc
DB
MySQL
Master+Slave

           Master


           Slave
Master+Slaves



               Master


       Slave   Slave    Slave
Master+Relay slave+Slaves

               Master



               Relay Slave



       Slave    Slave        Slave
Dual Masters+Slaves
                              Slave


        Master                Master


        Relay Slave



Sl...
-5.1+ support

Range Partitioning
List Partitioning
Hash Partitioning
Key Partitioning
Subpartitioning
CPU Core
   RAID10   IO   NAS   SAN
RAID
64


XFS
      TCP/IP
Google TCMalloc
MyISAM
         B+Tree
InnoDB




         MyISAM
My.cnf


         /
sar,iostat,vmstat,mpstat,uptime
               show global
{processlist,status,variables},information_schema
             ...
SQL


explain          sql
                  sql                     left
(),substr(),to_days()
   sql            mysqldum...
int,varchar
              sql
Q&A
Thank You
MySQL性能调优概要
MySQL性能调优概要
MySQL性能调优概要
Upcoming SlideShare
Loading in...5
×

MySQL性能调优概要

1,136

Published on

MySQL性能调优概要

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

No Downloads
Views
Total Views
1,136
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
84
Comments
0
Likes
11
Embeds 0
No embeds

No notes for slide

Transcript of "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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×