Wednesday, September 10, 2008

DBA_MVIEW_LOGS

Oracle 11gR1

DBA_MVIEW_LOGS describes all materialized view logs in the database. Its columns are the same as those in ALL_MVIEW_LOGS.

Related Views

· ALL_MVIEW_LOGS describes all materialized view logs accessible to the current user.

· USER_MVIEW_LOGS describes all materialized view logs owned by the current user.

Column

Datatype

NULL

Description

LOG_OWNER

VARCHAR2(30)

Owner of the materialized view log

MASTER

VARCHAR2(30)

Name of the master table or master materialized view whose changes are logged

LOG_TABLE

VARCHAR2(30)

Name of the table where the changes to the master table or master materialized view are logged

LOG_TRIGGER

VARCHAR2(30)

Obsolete with the release of Oracle8i and higher. Set to NULL. Formerly, this parameter was an after-row trigger on the master which inserted rows into the log.

ROWIDS

VARCHAR2(3)

If YES, records rowid information

PRIMARY_KEY

VARCHAR2(3)

If YES, records primary key information

OBJECT_ID

VARCHAR2(3)

If YES, records object identifier information in an object table

FILTER_COLUMNS

VARCHAR2(3)

If YES, records filter columns

SEQUENCE

VARCHAR2(3)

If YES, records the sequence value, which provides additional ordering information

INCLUDE_NEW_VALUES

VARCHAR2(3)

If YES, records both old and new values. If NO, records old values, but does not record new values.

Note:

1. List all materialized view logs
select  log_owner
,       log_table
from    dba_mview_logs;

Oracle data dictionary views

Oracle dynamic performance views

No comments:

Post a Comment