美奇科技 发表于 2016-10-21 08:30:22

mysql中hash索引存在的奇怪的问题

  create table t1(x char(10), y char(10), key hs using hash(x,y)) engine=myisam

insert into t1 values('fdsfd', 'gdfas'),('fds', 'gasd');

describe select * from t1 where x>'fd'

结果为


1SIMPLEt1indexhshs62 2Using where; Using index


请问hash索引这是怎么了, 支持范围查找了????????????????????????????
  
页: [1]
查看完整版本: mysql中hash索引存在的奇怪的问题