Home > Database > Mysql Tutorial > mysql分布式和分区limitoffset加速_MySQL

mysql分布式和分区limitoffset加速_MySQL

WBOY
Release: 2016-06-01 13:26:48
Original
818 people have browsed it

bitsCN.com

前一段时间在写分页语句。单机的mysql一般使用:

select * from [table] limit [length] offset [offset] 
Copy after login
select * from [table] where column > [pre_column_value] limit [length]
Copy after login
select * from [table] where key_column > [pre_key_column_value] order by key_column limit [length]
Copy after login
bitsCN.com
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template