认识索引

为什么优化sql 原因:性能低、执行时间长、等待时间长 、sql语句欠佳(链接查询)、索引失败、服务器参数设置不合理(缓冲、线程数) a.sql: 编写顺序: select dinstinct(去重)–> from–> join–> on–> where–> group by–> having–> order by–> limit 编译顺序: from–> on–> join–> where–>
相关文章
相关标签/搜索