- MySQL ORDER BY / LIMIT性能:晚行查找
- 后排查询:InnoDB
尝试这个:
SELECt p.*, u.*FROM ( SELECt id FROM photo ORDER BY uploaddate DESC, id DESC LIMIT 10 OFFSET 100000 ) piJOIN photo pON p.id = pi.idJOIN user uON u.user_id = p.user_id
欢迎分享,转载请注明来源:内存溢出
尝试这个:
SELECt p.*, u.*FROM ( SELECt id FROM photo ORDER BY uploaddate DESC, id DESC LIMIT 10 OFFSET 100000 ) piJOIN photo pON p.id = pi.idJOIN user uON u.user_id = p.user_id
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)