摘要: mysql中的limit offset,count的原理是先取出offset+count条记录,然后抛弃前面offset条,然后读后面的count条,主要是offset的问题。所以会导致偏移量越大,性能越差。 优化方法: select film_id,description from sakila. 阅读全文
posted @ 2021-06-01 14:51 link_ed 阅读(2375) 评论(0) 推荐(0) 编辑