1.查看索引:mysql> show index from tblname; 2.利用索引查询:SELECT * FROM product WHERE ID > =(select id from product limit 866613, 1) limit 20 或者 SELECT * FROM product a JOIN (select id from product limit 866613, 20) b ON a.ID = b.id 3.创建单个索引和联合索引 首先创建一个表:crea…