Oracle 10g - optimize WHERE IS NOT NULL

后端 未结 9 1835
长情又很酷
长情又很酷 2020-12-13 20:56

We have Oracle 10g and we need to query 1 table (no joins) and filter out rows where 1 of the columns is null. When we do this - WHERE OurColumn IS NOT NULL - we get a full

9条回答
  •  一生所求
    2020-12-13 21:14

    Oracle database don't index null values at all in regular (b-tree) indexes, so it can't use it nor you can't force oracle database to use it.

    BR

提交回复
热议问题