linux 下mysql 性能监控和分析工具

[b]Maatkit[/b]
Maatkit is a great set of tools for MySQL Performance Analyses and maintainence. Must know and have for any MySQL User.

[b]mysqladmin[/b]
mysqladmin extended -i100 -r is very nice way to look how MySQL performance counters increment and it can tell you a lot about server run status.

[b]mysqlreport[/b]
MySQL Report is a tool which would look at status variables same as mysqladmin extended but will group them together nicely and provide some hints on what are good and bad values.

[b]vmstat[/b]
vmstat 10 is a great tool to run and understand what system load is looking up. It is not too detailed but great for the glance view.

[b]mysqlsla[/b]
This is nice tool to analyze slow query log. It reads bunch of different log formats and has various stats, and it was there before mk-log-parser appeared.

[b]innotop[/b]
Innotop is great top like tool for MySQL and is helpful even if you do not use Innodb tables. Very nice to watch what happens to server in the real time.

[b]filefrag[/b]
filefrag is the fool to check fragmentation of the file. Ever wondered how fragmented your tablespace or table on the file level ?

[b]iostat[/b]
iostat tool is a great help investigating/troubleshooting IO problems - it will show you amount of IOs happening per device, their type, request size as well as queue size and response time.

[b]mpstat[/b]
mpstat is a great tool to see details on CPU usage - how are different CPUs are being used, how many interrupts the handle etc. Helps to better understand and fine tune the load.

[b]oprofile[/b]
oprofile is usually used for advanced MySQL tuning when the load is CPU bound - it will tell you where exactly inside MySQL or Kernel CPU time is spent.

[b]iohist[/b]
iohist is a little tool to show histogram for IO response time. The main use for it is to see how response time is split for read and write request rather than seeing the average reported by iostat. These can be very different.

[b]drtace[/b]
Dtrace is a great tool for system level performance analyses, with a catch of it being unavailable on Linux which limits it practical use dramatically.

[b]fincore[/b]
fincore is a tool to check how well given file is cached in operation system cache. Very helpful to analyze caching of MyISAM tables for example.

[b]sysbench[/b]
sysbench is a tool to check performance of system and MySQL. Helpful to check different hardware and OS characteristic.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值