mysql源码是什么语言

互联网 19-5-31
mysql的内存管理庞大而先进,这在mem0pool.c文件的开头注释中都有说明,粗略的可以分成四部分,包含9大块:

九大块:

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日志缓冲由redo部分单独管理,bufferpool也就是缓冲池是一个复杂的部分,内容很多,普通池上面说了,除了8,和1,2.其余的都归它管。

以上就是mysql源码是什么语言的详细内容,更多内容请关注技术你好其它相关文章!

来源链接:
免责声明:
1.资讯内容不构成投资建议,投资者应独立决策并自行承担风险
2.本文版权归属原作所有,仅代表作者本人观点,不代表本站的观点或立场
标签: MySQL
上一篇:php获取远程图片并下载保存到本地的方法分析 下一篇:《高性能mysql》怎么样

相关资讯