网站大量收购闲置独家精品文档,联系QQ:2885784924

MySQL培训3(培训教程).ppt

  1. 1、本文档共167页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
* RHEL Clustering Storage Management page:* 恢复 10SQL: 8 WRITE InnoDB 数据文件 TID old_value new_value * RHEL Clustering Storage Management page:* Any SELECT query that MySQL doesn’t serve from the cache is a cache miss A cache miss can occur for any of the following reasons: The query is not cacheable, either because it contains a nondeterministic construct (such as CURRENT_DATE) or because its result set is too large to store The server has never seen the query before, so it never had a chance to cache its result The query’s result was previously cached, but the server removed it This can happen because there wasn’t enough memory to keep it because someone instructed the server to remove it or because it was invalidated * RHEL Clustering Storage Management page:* Query cache memory usage and tuning The query cache for the server is stored completely in memory, and does not persist across mysqld restarts Aside from about 40k of memory used by the query cache, the entire pool of memory is initialized as a single contiguous chunk of memory During query cache operation this chunk of memory is divided up into smaller blocks Each block must be at least the size specified by query_cache_min_res_unit, which defaults to 4 Kb In addition to these blocks containing the result sets of the queries there are two hash tables Query hashes The list of database tables that each cached query reference When a table is modified, this second hash table is consultedto determine which queries should be removed due to query cache invalidation * RHEL Clustering Storage Management page:* Seven system variables are used to control the configuration and memory usage of the query cache The values of these can be seen by using SHOW GLOBAL VARIABLES statement or in the GLOBAL_VARIABLES system view in the INFORMATION_SCHEMA * RHEL Clustering Storage Management page:* Query Cache System Variables * RHEL Clustering Storage Management page:* Query cache status variables There are eight status varia

文档评论(0)

知识的天空 + 关注
实名认证
内容提供者

电子工程技术工程师持证人

推荐自动化、电气、仪表、工程、医学等精品培训教程

领域认证该用户于2023年06月07日上传了电子工程技术工程师

1亿VIP精品文档

相关文档