MyISAM Key buffer命中率:
100 - ( (Key_reads * 100) / Key_read_requests )
MyISAM Key buffer的使用率:
100 - ( (Key_blocks_unused * key_cache_block_size) * 100 / key_buffer_size )
InnoDB Buffer Pool 的命中率
(Innodb_buffer_pool_read_requests - Innodb_buffer_pool_reads) / Innodb_buffer_pool_read_requests * 100%[@more@]
100 - ( (Key_reads * 100) / Key_read_requests )
MyISAM Key buffer的使用率:
100 - ( (Key_blocks_unused * key_cache_block_size) * 100 / key_buffer_size )
InnoDB Buffer Pool 的命中率
(Innodb_buffer_pool_read_requests - Innodb_buffer_pool_reads) / Innodb_buffer_pool_read_requests * 100%[@more@]
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/124805/viewspace-1025043/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/124805/viewspace-1025043/