Oracle 12c In-Memory Option - 9
15. 非"="條件下會發生什麼?
前面講到的where條件中都是=條件,如果是一個範圍,比如lo_custkey > 5641,是否可以從
min/max purning中獲益呢 ?
set timing on
SELECT display_name, value
FROM v$mystat m, v$statname n
WHERE m.statistic# = n.statistic# AND display_name IN
( 'IMC Preds all rows pass minmax',
'IMC Preds some rows pass minmax',
'IMC Preds no rows pass minmax' );
SELECT Max(lo_supplycost) most_expensive_bluk_order
FROM lineorder
WHERE lo_quantity > 42;
SELECT display_name, value
FROM v$mystat m, v$statname n
WHERE m.statistic# = n.statistic# AND display_name IN
( 'IMC Preds all rows pass minmax',
'IMC Preds some rows pass minmax',
'IMC Preds no rows pass minmax' );
取消In-Memory Column Store後,查詢buffer cache得到查詢結果。
ALTER SESSION set inmemory_query = disable;
SELECT /* BUFFER CACHE */
Max(lo_supplycost) most_expensive_bluk_order
FROM lineorder
WHERE lo_quantity > 42;
ALTER SESSION set inmemory_query = enable;
In-Memory Column Store仍然比buffer cache查詢要來的高效,因為它僅僅只需掃描一個列lo_quantity,
儘管where 語句中不是“=”條件,我們還是能使用 In-Memory storage index。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-1081472/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 12c In-Memory Option - 10Oracle
- Oracle 12c In-Memory Option - 8Oracle
- Oracle 12c In-Memory Option - 7Oracle
- Oracle 12c In-Memory Option - 13Oracle
- Oracle 12c In-Memory Option - 6Oracle
- Oracle 12c In-Memory Option - 5Oracle
- Oracle 12c In-Memory Option - 4Oracle
- Oracle 12c In-Memory Option - 3Oracle
- Oracle 12c In-Memory Option - 2Oracle
- Oracle 12c In-Memory Option - 1Oracle
- Oracle 12c新特性:IN-Memory Option - 快取與引數Oracle快取
- Oracle 12C新特性In-MemoryOracle
- Oracle Database In-MemoryOracleDatabase
- 雲和恩墨獨家搶先測試In-Memory Option 特性!
- oracle with * option 理解Oracle
- 12C新特性___In-Memory列式儲存的總結
- Oracle Database In-Memory Certified with EBS 12.2OracleDatabase
- 12c in memory option學習筆記一_基礎篇筆記
- ORACLE WITH CHECK OPTION子句詳解Oracle
- 12c釋出正式版 12.1.0.2 (包括DB In-Memory正式版)
- 12c in memory option學習筆記二_資料訪問筆記
- Oracle檢視授權(with grant option)Oracle
- Oracle ASM新增磁碟組POWER OPTIONOracleASM
- Oracle 12cOracle
- Oracle 18c新特性詳解:In-Memory 專題Oracle
- oracle 12c Deprecation of Oracle StreamsOracle
- Oracle 12C GDSOracle
- Oracle 隱藏引數(9i,10g,11g,12c)Oracle
- Oracle 20c 的 In-Memory 新特性 Spatial 和 Text 支援Oracle
- 【12c Partitioning】Oracle 12c Partitioning特性Oracle
- Oracle 12C安裝Oracle
- Oracle 12c新特性Oracle
- Oracle 12c Relocate PDBOracle
- Oracle 12c Refreshable CloneOracle
- Oracle 12c RAC: MGMTDBOracle
- ORACLE 12C EM ExpressOracleExpress
- Oracle 12C配置EMOracle
- ORACLE 12c Core DocOracle