在大数据量下有什么分页方法?LIMIT效率不高


在大数据量下有什么分页方法?LIMIT效率不高

php 数据库设计 nosql nosql-分布式 sql

RadMK2 11 years ago

上sphinx ...

哎哟啊van answered 11 years ago

把数据缓存下来吧,或许应该考虑一下重构数据库结构了

 李宇春  answered 11 years ago

$sql = "select *from user where id>{$id} limit 10";$id为上一页最大的值

会说话的老妖精 answered 11 years ago

Your Answer