INNOTOPを使用してMySQLのパフォーマンスを監視
最近MySQLの性能はあまり理想的ではなく、MySQLの主従同期を構築しましたが、データベースをさらに最適化する必要があります.
ボスはserverにinnotopというツールを装着して、多くの状態を検出することができて、上がって使って、とても良いツールです.
参考blog:
MYSQLのパフォーマンスを監視するオープンソースツール-INNOTOP
The innotop MySQL and InnoDB monitor
ボスはserverにinnotopというツールを装着して、多くの状態を検出することができて、上がって使って、とても良いツールです.
Switch to a different mode:
B InnoDB Buffers I InnoDB I/O Info Q Query List
C Command Summary L Locks R InnoDB Row Ops
D InnoDB Deadlocks M Replication Status S Variables & Status
F InnoDB FK Err O Open Tables T InnoDB Txns
Actions:
a Toggle the innotop process k Kill a query's connection
c Choose visible columns n Switch to the next connection
d Change refresh interval p Pause innotop
e Explain a thread's query q Quit innotop
f Show a thread's full query r Reverse sort order
h Toggle the header on and off s Change the display's sort column
i Toggle idle processes x Kill a query
Other:
TAB Switch to the next server group / Quickly filter what you see
! Show license and warranty = Toggle aggregation
# Select/create server groups @ Select/create server connections
$ Edit configuration settings \ Clear quick-filters
Press any key to continue
参考blog:
MYSQLのパフォーマンスを監視するオープンソースツール-INNOTOP
The innotop MySQL and InnoDB monitor