分页查询的各种实现、优化假设有表 user,需求是按照 create_time 倒序显示列表。虽然没有在官方文档中说明 limit 是在 server 执行的,不是在 innodb 引擎层。但可以从侧面推测出来,我们知道 innodb 只能处理与索引相关的 where 条件(本例中只能处理与 id 和 create_time 相关的 where 条件),有时还需要依靠 index condition pushdown 才能尽可能的减少回表,如果 where 条件不完全在索引中(比如 where create_time > x a