摘要:
在表上创建索引后,如何使用到这些索引需要注意的问题。 1.索引列上不能使用表达式或函数。 例如: select * from users where upper(name)=’ABC'; 改成 select * from users where name=’ABC'; 2.前缀索引和索引列的选择性 索引的选择性越高索引效率越高。 3.联合索引 如何选择索引... 阅读全文
posted @ 2016-10-06 22:07
自由港
阅读(569)
评论(0)
推荐(0)
浙公网安备 33010602011771号