当前位置:Gxlcms > 数据库问题 > SQL 优化

SQL 优化

时间:2021-07-01 10:21:17 帮助过:5人阅读

不好的sql可能存在的问题:性能低、执行时间长、等待时间长、sql语句欠佳(连接查询)、索引失效、服务器参数设置不合理(缓冲区、线程数)

编写过程:select distinct..  from..  join..on.. where.. group by.. having.. order by..  limit..

解析过程:from.. on.. join.. where.. group by.. having.. select distinct.. order by.. limit.. 

SQL 优化

标签:问题:   mit   好的   缓冲   语句   过程   服务   order by   having   

人气教程排行