Monitoring Analysis of mysql index usage bitsCN. commysql index usage monitoring analysis show status like 'handler _ read % ';
Handler_read_first indicates the number of times the index header is read. if the value is very high, it indicates that there are many full index scans. Handler_read_key indicates the number of times an index is used. if we add a new index, we can check whether Handler_read_key has been increased. if so, SQL uses indexes. Handler_read_next indicates that the following indexes are read. generally, range scan occurs. Handler_read_prev indicates the upper column of the index to be read, which usually occurs in order... DESC. Handler_read_rnd indicates reading rows at a fixed position. if the value is very high, it indicates that a large number of result sets are sorted, full table scanning is performed, and no proper KEY is used for associated queries. Handler_read_rnd_next indicates that many table scans are performed and query performance is low. Author gzh0222bitsCN.com
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.