# About MyISAM's key cache

**URL:** <https://forums.percona.com/t/about-myisams-key-cache/1402>\
**Category:** Other MySQL® Questions\
**Created:** [May 4, 2010, 6:12pm UTC](https://forums.percona.com/t/about-myisams-key-cache/1402 "2010-05-04T18:12:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dizhenxiong](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@dizhenxiong](https://forums.percona.com/u/dizhenxiong)\
**Post date:** [May 4, 2010, 6:12pm UTC](https://forums.percona.com/t/about-myisams-key-cache/1402/1 "2010-05-04T18:12:55Z")

</div>

i have one questions about myisam’s key cache  
1.In mysql’s document,it said “A buffer that is being updated causes sessions that need to use it to wait until the  
update is complete”,My question is “does the update set an global mutex to block all sessions but itself or just set  
an mutex on related cache index”

thanks in advance!

---

<div class="post-metadata">

**Author:** ![xaprb](https://avatars.discourse-cdn.com/v4/letter/x/49beb7/32.png) [@xaprb](https://forums.percona.com/u/xaprb)\
**Post date:** [May 5, 2010, 7:46am UTC](https://forums.percona.com/t/about-myisams-key-cache/1402/2 "2010-05-05T07:46:09Z")

</div>

This blog post, and similar on the same blog, have some good reading.

[http://www.mysqlperformanceblog.com/2008/11/26/using-multipl](http://www.mysqlperformanceblog.com/2008/11/26/using-multipl) e-key-caches-for-myisam-scalability/
