问题
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