MySQL Performance doctor: OrzDBA_MySQL

Source: Internet
Author: User
MySQL Performance doctor: OrzDBA bitsCN.com

MySQL Performance doctor: OrzDBA

[Root @ even ~] # Svn co http://code.taobao.org/svn/orzdba/trunk

A trunk/orzdba_rt_depend_perl_module.tar.gz

A trunk/orzdba

A trunk/orzdbatool usage instructions

Obtain version 4.

[Root @ even trunk] # chmod + x orzdba

MySQL verification information, such as username, password, host, port, and sock, needs to be configured around Line 3 of the code.

(I) view MySQL response time (rt)

Install tcprstat first

# Wget http://github.com/downloads/Lowercases/tcprstat/tcprstat-static.v0.3.1.x86_64

# Ln-sf/root/tcprstat-static.v0.3.1.x86_64/usr/bin/tcprstat

Add/usr/bin/tcprstat to the default read location around Line 1 of the source code.

Decompress orzdba_rt_depend_perl_module.tar.gz and install the perl module on which rt depends.

[Root @ localhost trunk] #./orzdba-lazy-rt-S/home/mysql55/mysql. sock

Note:

Count: number of requests processed during this interval

Avg: average response time for all completed requests within this interval

95_avg: the average response time of 95% of requests within this interval. the unit is subtle. this value can reflect the average query response time of the MySQL Server.

(Ii) monitor various InnoDB indicators

[Root @ localhost trunk] #./orzdba-innodb-S/home/mysql55/mysql. sock

(Iii) monitor MySQL Server performance

[Root @ localhost trunk] #./orzdba-mysql-S/home/mysql55/mysql. sock

BitsCN.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.