九大块:
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++开辟的。
MySQL的官方网站http://www.mysql.com/上有源码下载,是C++的
以上就是mysql源码是什么言语的细致内容,更多请关注ki4网别的相干文章!