buffer pool,
parsed andoptimized SQL statements,
data dictionarycache,
log buffer,
locks for eachtransaction,
hash table forthe adaptive index,
state andbuffers for each SQL query currently being executed,
session foreach user, and
stack for eachOS thread.
9大块通过4部分进行管理
A solution tothe memory management:
1. the bufferpool size is set separately
2. log buffersize is set separately
3. the commonpool size for all the other entries, except 8, is set separately.
也就是缓冲池,redo日志缓冲,普通池和8(用户session信息,可看做一部分)
redo日志缓冲由redo部分单独管理,bufferpool也就是缓冲池是一个复杂的部分,内容很多,普通池上面说了,除了8,和1,2.其余的都归它管。上面这个结构就是mysql内存子系统的完整图景。
所以说是c和c++写的
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)