Indexes and Nulls (198)
NULL values in indexes are considered to be distinct except when all the non-NULL
values in two or more rows of an index are identical, in which case the rows are
considered to be identical. Therefore, UNIQUE indexes prevent rows containing NULL
values from being treated as identical. This does not apply if there are no non-NULL
values—in other words, if the rows are entirely NULL.
Oracle does not index table rows in which all key columns are NULL, except in the case
of bitmap indexes or when the cluster key column value is NULL.
索引與空值
1. 前面這段每看懂 , 哪位大哥看到了 , 明白的話賜教一下.
2. Oracle 不會將索引列全部為 NULL 的資料行加入到索引中.不過點陣圖索引是個例外,簇鍵的列值為 NULL 時也是例外
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-982360/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Bitmap Indexes and Nulls (224)IndexNull
- json_strip_nullsJSONNull
- 分析函式——NULLS FIRST/LAST函式NullAST
- Nulls Indicate Absence of Value (162)Null
- Rebuild IndexesRebuildIndex
- ORACLE INDEXESOracleIndex
- Oracle - Tables/IndexesOracleIndex
- Reverse Key IndexesIndex
- ORACLE -> NULL & INDEXESOracleNullIndex
- Overview of Partitioned IndexesViewIndex
- Local Partitioned IndexesIndex
- Global Nonpartitioned IndexesIndex
- Extents in Indexes (19)Index
- 翻譯(九)——Clustered Indexes: Stairway to SQL Server Indexes Level 3IndexAISQLServer
- Leetcode 198 House RobberLeetCode
- codeforces #198(div2)
- [20140621]Cluster Nulls.txtNull
- skip_unusable_indexesIndex
- The Secrets of Oracle Bitmap IndexesOracleIndex
- Restrictions on Create Bitmap IndexesRESTIndex
- Global Range Partitioned IndexesIndex
- Global Hash Partitioned IndexesIndex
- Maintenance of Global Partitioned IndexesAINaNIndex
- Overview of Indexes (194)ViewIndex
- LeetCode 198. 打家劫舍(Easy)LeetCode
- Sparse Indexes vs unique indexIndex
- SKIP_UNUSABLE_INDEXES InitializationIndex
- Choosing Composite IndexesIndex
- 建立Function-Based IndexesFunctionIndex
- How Indexes Grow and PctfreeIndex
- Partitioned Indexes on Composite PartitionsIndex
- 慎用 skip_unused_indexesIndex
- Delete indexes to free database.deleteIndexDatabase
- Unique and Nonunique Indexes (195)Index
- Composite Indexes (196)Index
- Indexes and Keys (197)Index
- Reverse Key Indexes (219)Index
- Bitmap Indexes (220)Index