ITPub博客

首页 > Linux操作系统 > Linux操作系统 > index about null

index about null

原创 Linux操作系统 作者:lys198311 时间:2012-11-25 15:46:58 0 删除 编辑
about sql : select * from user_table object_id is null;
 
even though there is index about object_id , execution plan can not invoke index.
 
now you can create index text_id on  user_table(object_id, 'a').
 
exp plain will use index, that will improve performance.
 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22936840/viewspace-749905/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-11-27

  • 博文量
    23
  • 访问量
    12046