Prev | Current Page 911 | Next

Richard Niemiec

"Oracle Database 10g Performance Tuning Tips & Techniques"

The capabilities may change between versions, so
you should reevaluate your refresh capabilities following Oracle software upgrades. To create this
table, execute the utlxmv.sql script located in the directory $ORACLE_HOME/rdbms/admin directory.
626 Oracle Database 11g DBA Handbook
The columns of MV_CAPABILITIES TABLE are shown here:
desc MV_CAPABILITIES_TABLE
Name Null? Type
----------------------------------------- -------- ----------------
STATEMENT_ID VARCHAR2(30)
MVOWNER VARCHAR2(30)
MVNAME VARCHAR2(30)
CAPABILITY_NAME VARCHAR2(30)
POSSIBLE CHAR(1)
RELATED_TEXT VARCHAR2(2000)
RELATED_NUM NUMBER
MSGNO NUMBER(38)
MSGTXT VARCHAR2(2000)
SEQ NUMBER
To populate the MV_CAPABILITIES table, execute the procedure DBMS_MVIEW.EXPLAIN_
MVIEW, using the name of the materialized view as the input value, as in this example:
execute DBMS_MVIEW.EXPLAIN_MVIEW('local_category_count');
The script utlxmv.sql provides guidance on the interpretation of the column values, as in this
listing:
CREATE TABLE MV_CAPABILITIES_TABLE
(STATEMENT_ID VARCHAR(30), -- Client-supplied unique statement identifier
MVOWNER VARCHAR(30), -- NULL for SELECT based EXPLAIN_MVIEW
MVNAME VARCHAR(30), -- NULL for SELECT based EXPLAIN_MVIEW
CAPABILITY_NAME VARCHAR(30), -- A descriptive name of the particular
-- capability:
-- REWRITE
-- Can do at least full text match
-- rewrite
-- REWRITE_PARTIAL_TEXT_MATCH
-- Can do at least full and partial
-- text match rewrite
-- REWRITE_GENERAL
-- Can do all forms of rewrite
-- REFRESH
-- Can do at least complete refresh
-- REFRESH_FROM_LOG_AFTER_INSERT
-- Can do fast refresh from an mv log
-- or change capture table at least
-- when update operations are
-- restricted to INSERT
-- REFRESH_FROM_LOG_AFTER_ANY
-- can do fast refresh from an mv log
-- or change capture table after any
-- combination of updates
-- PCT
-- Can do Enhanced Update Tracking on
-- the table named in the RELATED_NAME
-- column.


Pages:
899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923
inteligentnebudowanie paraprotex calivita calivita calivita