Bug #56263 command to flush key cache
Submitted: 25 Aug 2010 16:49
Reporter: Matthew Lord Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: MyISAM storage engine Severity:S4 (Feature request)
Version:all OS:Any
Assigned to: CPU Architecture:Any

[25 Aug 2010 16:49] Matthew Lord
Description:
Currently, the only way to force a flush of the key buffer/cache is to "restructure" it or change
the size:
http://dev.mysql.com/doc/refman/5.1/en/key-cache-restructuring.html

It would be nice if you could simply use something like mysql> FLUSH KEY CACHE; that
would trigger:
flush_key_blocks(share->key_cache,share->kfile,FLUSH_FORCE_WRITE);

How to repeat:
N/A

Suggested fix:
It would be nice if you could simply use something like mysql> FLUSH KEY CACHE; that
would trigger:
flush_key_blocks(share->key_cache,share->kfile,FLUSH_FORCE_WRITE);