开发者

MySQL Non Index Queries Analysis

开发者 https://www.devze.com 2022-12-30 20:31 出处:网络
I\'m using the log queries not using index bu开发者_如何学Ct it logs all that use indexes but just more advanced or using IFs.

I'm using the log queries not using index bu开发者_如何学Ct it logs all that use indexes but just more advanced or using IFs.

Is there a parser or a program out there that can analyze the log and give me a literal output of saying "table.column should be a index"

Thanks


Actually, it is a developer who decides where to add indexes and where not to. Because every index decreases write performance (e.g. INSERT/UPDATE) and also requries some storage space. There is no magic program, that will magically design indexes for you.

0

精彩评论

暂无评论...
验证码 换一张
取 消