Use the DROP
MATERIALIZED
VIEW
LOG
statement to remove a materialized view log from the database.
Note:
The keywordSNAPSHOT
is supported in place of MATERIALIZED
VIEW
for backward compatibility.See Also:
CREATE MATERIALIZED VIEW and ALTER MATERIALIZED VIEW for more information on materialized views
CREATE MATERIALIZED VIEW LOG for information on materialized view logs
Oracle Database Advanced Replication for information on materialized views in a replication environment
Oracle Database Data Warehousing Guide for information on materialized views in a data warehousing environment
To drop a materialized view log, you must have the privileges needed to drop a table.
See Also:
DROP TABLESpecify the schema containing the materialized view log and its master table. If you omit schema
, then Oracle Database assumes the materialized view log and master table are in your own schema.
Specify the name of the master table associated with the materialized view log to be dropped.
After you drop a materialized view log that was created FOR
FAST
REFRESH
, some materialized views based on the materialized view log master table can no longer be fast refreshed. These materialized views include rowid materialized views, primary key materialized views, and subquery materialized views.
See Also:
Oracle Database Data Warehousing Guide for a description of these types of materialized viewsAfter you drop a materialized view log that was created FOR
SYNCHRONOUS
REFRESH
(a staging log), the materialized views based on the staging log master table can no longer be synchronous refreshed.