首页 > 其他 > 详细

Flush Tables With Read Lock

时间:2016-01-29 11:45:36      阅读:220      评论:0      收藏:0      [点我收藏+]

Flush Tables With Read Lock

  FLUSH TABLES

  Closes all open tables, forces all tables in use to be closed, and flushes the query cache. FLUSH TABLES also removes all query results from the query cache, like the RESET QUERY CACHE statement.

  

  FLUSH TABLES WITH READ LOCK

  Closes all open tables and locks all tables for all databases with a global read lock. This is a very convenient way to get backups if you have a file system such as Veritas or ZFS that can take snapshots in time. Use UNLOCK TABLES to release the lock.

 

参考:http://dev.mysql.com/doc/refman/5.6/en/flush.html

  

Flush Tables With Read Lock

原文:http://www.cnblogs.com/tekkaman/p/5168305.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!