Memsql: why memory usage is so high?

百般思念 提交于 2019-12-11 11:34:30

问题


Firstly, forgive my poor English.

My test environment :

  • [centos 6.5 16G RAM] * 2
  • MemSQL Community:MemSQL Ops Server Version:4.1.10 and MemSQL Version:4.1.2
  • my cluster picgure
  • leaf node,top picgure

Yeah, just one master and one leaf. I set maximum_memory = 10G on the leaf node.

Here is the question: Only 334M memory is used for table data, but the leaf node used 13.34G memory. Why is that?

By the way, my use scenario is just like "Speed Test", batch insert and batch delete.

Thank you very much!

memsql


回答1:


As noted in the info tooltip next to "Memory", that figure includes cached memory used by MemSQL, that was allocated in the past but isn't being actively used. That's the most likely reason why it would be so much higher than your current table size.

To see where exactly MemSQL is using memory, click on the node in Ops and go to the page for the MemSQL node, there are more details on memory usage there.



来源:https://stackoverflow.com/questions/35055552/memsql-why-memory-usage-is-so-high

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!