Home >Database >Mysql Tutorial >MySQL执行计划不准确-概述_MySQL

MySQL执行计划不准确-概述_MySQL

WBOY
WBOYOriginal
2016-06-01 13:01:531021browse

为毛 MySQL优化器的执行计划 好多时候都不准确,不是最优的呢(cpu+io)???

因素太多了::

存在information_schema的信息是定期刷新上去的,好多时候不是最真的,甚至相差好大(非高山峰时好好利用一下analyze table等);

现在一个企业有钱没地方花,买一大堆固态磁盘,碰巧非智能的MySQL不能很好滴跟上硬件优化的节奏,可能超过一部分的选择原理就不怎么准确了(这点相信其他数据库也是痛点吧);


环境因素/

配置因素

等等 ...

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn