Skip to Main Content
Oracle Data Warehouse Tuning for 10g
book

Oracle Data Warehouse Tuning for 10g

by Gavin JT Powell
April 2011
Intermediate to advanced content levelIntermediate to advanced
504 pages
16h 49m
English
Digital Press
Content preview from Oracle Data Warehouse Tuning for 10g
4.5 Making Materialized Views Faster 109
Chapter 4
BEGIN
DBMS_ADVISOR.TUNE_MVIEW(mvname, 'CREATE MATERIALIZED
VIEW sales_by_city ENABLE QUERY REWRITE AS SELECT l.region AS
region,l.country AS country,l.city AS
city,SUM(transaction_amount) AS amount FROM sale s, location
l WHERE s.location_id = l.location_id GROUP BY
l.region,l.country,l.city');
END;
/
SELECT * FROM USER_TUNE_MVIEW;
Note: The ADVISOR system privilege is required to access the
DBMS_ADVISOR package.
Details have not been provided in this situation, because in the past I
have had lackluster results from Oracle Database expert tuning advisory
tools. They are primitive at best, and dangerous ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle 10g Data Warehousing

Oracle 10g Data Warehousing

Lilian Hobbs, Susan Hillson, Shilpa Lawande, Pete Smith
Expert Oracle Enterprise Manager 12c

Expert Oracle Enterprise Manager 12c

Kellyn Pot'vin, Anand Akela, Gokhan Atil, Bobby Curtis, Alex Gorbachev, Niall Litchfield, Leighton Nelson, Pete Sharman

Publisher Resources

ISBN: 9781555583354