Composite Indexes (196)
A composite index (also called a concatenated index) is an index that you create on
multiple columns in a table. Columns in a composite index can appear in any order
and need not be adjacent in the table.
Composite indexes can speed retrieval of data for SELECT statements in which the
WHERE clause references all or the leading portion of the columns in the composite
index. Therefore, the order of the columns used in the definition is important.
Generally, the most commonly accessed or most selective columns go first.
No more than 32 columns can form a regular composite index. For a bitmap index, the
maximum number columns is 30. A key value cannot exceed roughly half (minus
some overhead) the available data space in a data block.
複合索引(連線索引)
1. 合索引內的列可以任意排列,她們在資料表中也無需相鄰.
2. 如果一個 SELECT 語句的 WHERE 子句中引用了複合索引的全部列或自首列開始且連續的部分列,將有助於提高此查詢的效能
3. 一個常規的複合索引不能超過 32 列,而點陣圖索引不能超過 30 列.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-982357/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Choosing Composite IndexesIndex
- Partitioned Indexes on Composite PartitionsIndex
- 高效的SQL【Composite Indexes(最佳前導列的選擇)】SQLIndex
- composite
- Rebuild IndexesRebuildIndex
- ORACLE INDEXESOracleIndex
- oracle composite partition組合分割槽_composite partition rangeOracle
- 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
- 組合模式(Composite)模式
- composite模式疑問模式
- 【Abaqus】Composite Layup建模
- 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#196 前三題
- composite pattern(組合模式)模式
- SqlTuning&Composite IndexSQLIndex
- Composite模式的疑問模式
- Body SweptSolid Composite GeometrySolid
- B. Composite Coloring
- Sparse Indexes vs unique indexIndex
- SKIP_UNUSABLE_INDEXES InitializationIndex
- 建立Function-Based IndexesFunctionIndex
- How Indexes Grow and PctfreeIndex
- Bitmap Indexes and Nulls (224)IndexNull
- 慎用 skip_unused_indexesIndex