【发布时间】:2014-02-14 06:04:20
【问题描述】:
SELECT * FROM
articlest左外连接category_typecategoryON (t.category_id=category.id) WHERE (t.status = 6 AND t.publish_on
执行此查询需要 1.5 秒以上。
你能给我一些想法吗?如何改进此查询和最短执行时间?
【问题讨论】:
-
添加索引可能会有所帮助,您可以编辑和添加表结构以及
explain输出