摘要: 使用联合索引 1.要注意索引时的排列顺序,譬如取最近一周的数据,那么时间作为索引要倒序排列 2.创建联合索引时,索引自身也要注意排序,譬如: select orderId from Order where orderTime>=2018-12-5 and orderTime<=2018-12-12 阅读全文
posted @ 2018-12-10 23:18 当年在远方 阅读(1082) 评论(0) 推荐(0) 编辑