随笔分类 -  mysql

mysql--优化
摘要:1.深度分页查询优化 优化前:select username,userpassword from user limit 100005,3; 优化后:select username,userpassword from user where id > 100004 limit 0,3; 原理:用到了主键 阅读全文
posted @ 2021-06-23 15:49 程英俊 阅读(40) 评论(0) 推荐(0)