| |
Mark Rittman
New Article By Lillian
Hobbs On Materialized View Query Rewrite
Lillian
Hobbs, co-author of the definitive
Oracle 9i Release 2 Data Warehousing book, has written a new
article for OTN on
Query Rewrite. The article explains the different types of query
rewrite scenario, techniques such as aggregate computation and
joinback, and how dimensions and hierarchies can be used to enable a
single materialized view to support multiple levels of rollup. There's
also mention of a useful feature coming in Oracle 10g where, if a
materialized view only contains a subset of the columns required to
satisfy the query rewrite rules, it can retrieve some of the rows from
the materialized view and the rest from the detail table.
Lillian also
put together an interesting article for Oracleworld on the
SQL Access Adviser, a new feature being delivered with Oracle 10g
that builds on the existing Index Tuning Wizard and Summary Adviser
Wizards provided with Oracle 9i. The SQL Access Adviser will be
available either as a GUI, or through the command line, and recommends
and implements the best combination of summaries and indexes for a
particular schema or set of tables, based on current or previous
access patterns.
|
|
|