Mysql 收集统计信息

如何收集统计信息 Analyze table收集表和索引统计信息,适用于MyISAM和InnoDB; 对于innodb表,还可使用如下选项 1 表第一次打开的时候mysql 2 表修改的行超过1/16或者20亿条  ./row/row0mysql.c:row_update_statistics_if_needed 3 执行show index/table或者查询information_schema
相关文章
相关标签/搜索