Indexes and Keys (197)
Although the terms are often used interchangeably, indexes and keys are different.
Indexes are structures actually stored in the database, which users create, alter, and
drop using SQL statements. You create an index to provide a fast access path to table
data. Keys are strictly a logical concept. Keys correspond to another feature of Oracle
called integrity constraints, which enforce the business rules of a database.
Because Oracle uses indexes to enforce some integrity constraints, the terms key and
index are often are used interchangeably. However, do not confuse them with each
other.
索引與鍵
1. 索引是在資料庫中實際儲存的資料結構,使用者可以使用 SQL 語句對其進行建立,修改,或移除.
索引提供了一種快速訪問表資料的途徑.
2. 鍵只是一個邏輯概念.鍵的概念主要在 Oracle 的完整性約束功能中使用.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-982358/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- C - Keys
- Rebuild IndexesRebuildIndex
- ORACLE INDEXESOracleIndex
- Object.keys()Object
- react 列表&keysReact
- codeforces #197(div2)
- 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
- JavaScript 陣列 keys()JavaScript陣列
- 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
- Indexes and Nulls (198)IndexNull
- Codeforces Round#197 前三題
- 批量刪除 redis keysRedis
- EF Core Keys(連結)
- Sparse Indexes vs unique indexIndex
- SKIP_UNUSABLE_INDEXES InitializationIndex
- Choosing Composite IndexesIndex
- 建立Function-Based IndexesFunctionIndex
- How Indexes Grow and PctfreeIndex
- Bitmap Indexes and Nulls (224)IndexNull
- Partitioned Indexes on Composite PartitionsIndex
- 慎用 skip_unused_indexesIndex
- Delete indexes to free database.deleteIndexDatabase
- Unique and Nonunique Indexes (195)Index
- Composite Indexes (196)Index
- Reverse Key Indexes (219)Index