开发者

Does MyISAM load all indexes into memory?

开发者 https://www.devze.com 2023-04-01 19:05 出处:网络
First of all you should already 开发者_Go百科know MyISAM index doesn\'t include the actually data, it only has the address of data.

First of all you should already 开发者_Go百科know MyISAM index doesn't include the actually data, it only has the address of data.

Reconsider my question if you don't know above before.


myisam uses a cache only for keys - http://dev.mysql.com/doc/refman/5.5/en/myisam-key-cache.html - but for innodb keys and data are apparently treated equally - http://dev.mysql.com/doc/refman/5.5/en/innodb-buffer-pool.html

in both cases, the amount of information cached depends on the space available. if there is insufficient space then not all information is cached.

so, no, not always.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号