We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
大明老师好。 原文问题:“使用索引了为什么还是很慢?” 我觉得还有一种可能,就是数据库选错索引,或有索引但是不走索引。比如1. 查询的记录数占总记录数比例过高,且需要回表。2. 数据库统计信息不准确,导致查询成本计算有问题,导致选错索引,可以通过重建表或者更新统计信息。
The text was updated successfully, but these errors were encountered:
赞,确实!
Sorry, something went wrong.
以后你可以直接发合并请求,我会直接合并的
mysql45讲哈哈哈
No branches or pull requests
大明老师好。
原文问题:“使用索引了为什么还是很慢?”
我觉得还有一种可能,就是数据库选错索引,或有索引但是不走索引。比如1. 查询的记录数占总记录数比例过高,且需要回表。2. 数据库统计信息不准确,导致查询成本计算有问题,导致选错索引,可以通过重建表或者更新统计信息。
The text was updated successfully, but these errors were encountered: