组合索引中列顺序对性能的影响
如下:
create index on t(a,b)
create index on t(b,a)
select count(*) from where a:=? and b:=?
请介绍下。
create index on t(a,b)
create index on t(b,a)
select count(*) from where a:=? and b:=?
请介绍下。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11993314/viewspace-683242/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/11993314/viewspace-683242/