Materialized Views in data warehouse environment (185)
In data warehouses, materialized views are used to compute and store aggregated
data such as sums and averages. Materialized views in these environments are
typically referred to as summaries because they store summarized data. They can
also be used to compute joins with or without aggregations. If compatibility is set
to Oracle9i or higher, then materialized views can be used for queries that include
filter selections.
The optimizer can use materialized views to improve query performance by
automatically recognizing when a materialized view can and should be used to
satisfy a request. The optimizer transparently rewrites the request to use the
materialized view. Queries are then directed to the materialized view and not to
the underlying detail tables or views.
資料倉儲環境下的物化檢視
在資料倉儲中,物化檢視常被用於計算和儲存聚合資料,例如彙總,平均等.在資料倉儲環境中,物化檢視也被稱為概要,
因為其中通常儲存的是彙總資料.使用者也可以使用物化檢視儲存多個表連線後的結果集.如果資料庫的相容性引數被設為 Oracle9i 或更高,
物化檢視的查詢中可以包含過濾選擇
最佳化器可以利用物化檢視來提升查詢效能.最佳化器能夠自動地判斷一個儲存彙總資料的物化檢視是否能滿足使用者的查詢要求,
以及使用此物化檢視是否能提高查詢效能.之後最佳化器能夠重寫使用者提交的查詢以便使用相應的物化檢視,而這個重寫過程對使用者是透明的.
此時查詢直接使用物化檢視,而非使用者提交的 SQL 語句中指定的明細資料表或檢視.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-981812/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Materialized Views in data distributed environment (186)ZedView
- Materialized Views in mobile computing environment (187)ZedView
- Data Warehouse Guide閱讀筆記(八):materialized view之一GUIIDE筆記ZedView
- Overview of Materialized Views (184)ViewZed
- Refresh Materialized Views (189)ZedView
- [DW]An article about Materialized Views(zz)ZedView
- Extents in Materialized Views and Their Logs (18)ZedView
- Validating Tables, Indexes, Clusters, and Materialized ViewsIndexZedView
- Oracle Materialized Views Containing Joins OnlyOracleZedViewAI
- Data Warehouse Guide文件筆記(一):Data warehouse和OLTP系統的對比GUIIDE筆記
- About Static Data Dictionary ViewsView
- The Data Warehouse Toolkit 閱讀筆記筆記
- Microsoft & HP Parallel Data Warehouse ApplianceROSParallelAPP
- How To Use DBMS_ADVISOR.TUNE_MVIEW Tuning Materialized ViewsViewZed
- Public Synonyms for Data Dictionary Views (263)View
- PostgreSQL DBA(181) - Using PostgreSQL as a Data WarehouseSQL
- Data Warehouse Guide文件筆記(四):dimensionGUIIDE筆記
- Streaming Data Warehouse 儲存:需求與架構架構
- Building the Data Warehouse - Fourth Edithin - 讀書筆記UI筆記
- Structure of the Data Dictionary : User-Accessible Views (259)StructView
- Step 9: Run Scripts to Build Data Dictionary Views (67)UIView
- [20121101]物化檢視與表(Materialized Views and Tables).txtZedView
- 2.3.1.1.3 Application Containers Use Case: Logical Data WarehouseAPPAI
- Data Warehouse Guide閱讀筆記(七):partition tableGUIIDE筆記
- note of Beginning Oracle SQL-Oracle Data Dictionary ViewsOracleSQLView
- Data Warehouse Guide文件筆記(三):RELY constraintsGUIIDE筆記AI
- Oracle 19c Concepts(06):Data Dictionary and Dynamic Performance ViewsOracleORMView
- Data Warehouse Guide閱讀筆記(六):unique constraint & unique indexGUIIDE筆記AIIndex
- Materialized ViewZedView
- ARC185
- PostgreSQL DBA(185) - watchSQL
- DML ViewsView
- ARC185 A-E
- drop materialized view hung !!!ZedView
- Oracle environment variableOracle
- [Bash] Environment variables
- Oracle WareHouse Builder培訓OracleUI
- User Exits for WM (Warehouse Management)