0
点赞
收藏
分享

微信扫一扫

mysql5.7 sys schema memory 统计的一个bug

转角一扇门 2022-09-14 阅读 127




目前sys schema中检查内存的表存在bug,已经在mysql 官网上提了。


Bug #84174

memory_global_total in sys schema can not represent a real memory usage

网址:http://bugs.mysql.com/bug.php?id=84174


另外,这里统计的内存,并不是top显示的进程对应的内存,而是server层分配的内存。即server层malloc的时候,统计下。这个可以看下源码,是不是这样。

举报

相关推荐

0 条评论