Oracle DBMS_SNAPSHOT_KKXRCA Version 21c |
---|
General Information | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Library Note |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Purpose | Almost all functionality in the DBMS_MVIEW built-in package is the result of a call to this package. Much of the functionality is deprecated, much of the functionality is secured using the ACCESSIBLE BY clause, and a few objects are accessible though they provide little if any given that the same call can be made using the supported object. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
AUTHID | DEFINER | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Dependencies |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Documented | No | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
First Available | 18.1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Security Model | Owned by SYS with no privileges granted Direct access to this package is prevented by means of an Accessible By clause. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Source | {ORACLE_HOME}/rdbms/admin/prvtsnps.plb | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subprograms |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BEGIN_TABLE_REORGANIZATION | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Performs a process to preserve materialized view data needed for refresh | dbms_snapshot_kkxrca.begin_table_reorganization( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DROP_SNAPSHOT | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated in v8 but available for backward compatibility | dbms_snapshot_kkxrca.drop_snapshot( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
END_TABLE_REORGANIZATION | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ensures that the materialized view data for the master table is valid and that the master table is in the proper state | dbms_snapshot_kkxrca.end_table_reorganization( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EXPLAIN_MVIEW | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Explains what is possible with a materialized view or potential materialized view Overload 1 |
dbms_snapshot_kkxrca.explain_mview( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Overload 2 | dbms_snapshot_kkxrca.explain_mview( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Overload 3 | dbms_snapshot_kkxrca.explain_mview( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Overload 4 | dbms_snapshot_kkxrca.explain_mview( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EXPLAIN_REWRITE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Explains why a query failed to rewrite or why the optimizer chose to rewrite a query with a particular materialized view Overload 1 |
dbms_snapshot_kkxrca.explain_rewrite( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Overload 2 | dbms_snapshot_kkxrca.explain_rewrite( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Overload 3 | dbms_snapshot_kkxrca.explain_rewrite( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Overload 4 | dbms_snapshot_kkxrca.explain_rewrite( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EXPLAIN_REWRITE_SQLID | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Explain Rewrite user interface using a table for output for implementation in OEM | dbms_snapshot_kkxrca.explain_rewrite_sqlid( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GET_LOG_AGE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated in v8 but available for backward compatibility | dbms_snapshot_kkxrca.get_log_age( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GET_MV_DEPENDENCIES | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Finds the list of materialized view that are directly dependent on the list of tables or materialized views that has been specified | dbms_snapshot_kkxrca.get_mv_dependencies( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I_AM_A_REFRESH | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Returns the value of the I_AM_REFRESH package state | dbms_snapshot_kkxrca.i_am_a_refresh RETURN BOOLEAN; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PMARKER | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Returns a partition marker from a rowid, and is used for Partition Change Tracking (PCT) | dbms_snapshot_kkxrca.pmarker(rid IN ROWID) RETURN NUMBER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PURGE_DIRECT_LOAD_LOG | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Purges rows from the direct loader log after they are no longer needed by any MV | dbms_snapshot_kkxrca.purge_direct_load_log; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PURGE_LOG | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Purges rows from the materialized view log | dbms_snapshot_kkxrca.purge_log( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PURGE_MVIEW_FROM_LOG | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Purges materialized view log rows Overload 1 |
dbms_snapshot_kkxrca.purge_mview_from_log(mview_id IN BINARY_INTEGER); |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Overload 2 | dbms_snapshot_kkxrca.purge_mview_from_log( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PURGE_SNAPSHOT_FROM_LOG | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Legacy technology for purching snapshot logs. Deprecated as of 19c. Overload 1 |
dbms_snapshot_kkxrca.purge_snapshot_from_log(snapshot_id IN BINARY_INTEGER); |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated as of 19c Overload 2 |
dbms_snapshot_kkxrca.purge_snapshot_from_log( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REFRESH | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Refreshes one or more materialized views that are not members of the same refresh group Overload 1 |
dbms_snapshot_kkxrca.refresh( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Refreshes one or more materialized views that are not members of the same refresh group Overload 2 |
dbms_snapshot_kkxrca.refresh( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REFRESH_ALL | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Refresh all snapshots due to be refreshed | dbms_snapshot_kkxrca.refresh_all; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REFRESH_ALL_MVIEWS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Refreshes all materialized views that do not reflect changes to their master table or master materialized view | dbms_snapshot_kkxrca.refresh_all_mviews( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected by ACCESSIBLE BY clause |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REFRESH_DEPENDENT | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Refreshes all table-based materialized views that depend on a specified master table or master materialized view, or list of master tables or master materialized views Overload 1 |
dbms_snapshot_kkxrca.refresh_dependent( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Refreshes all table-based materialized views that depend on a specified master table or master materialized view, or list of master tables or master materialized views Overload 2 |
dbms_snapshot_kkxrca.refresh_dependent( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REFRESH_MV | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Internal Procedure ONLY. DO NOT USE DIRECTLY. The added parameter 'resources' for internal parallel resource load balancing | dbms_snapshot_kkxrca.refresh_mv( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REGISTER_MVIEW | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Enables the administration of individual materialized views Overload 1 |
dbms_snapshot_kkxrca.register_mview( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Enables the administration of individual materialized views Overload 2 |
dbms_snapshot_kkxrca.register_mview( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REGISTER_SNAPSHOT | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Internal Procedure ONLY. DO NOT USE DIRECTLY. Deprecated as of 19c. Overload 1 |
dbms_snapshot_kkxrca.register_snapshot( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated as of 19c. Overload 2 |
dbms_snapshot_kkxrca.register_snapshot( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SET_I_AM_A_REFRESH | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Disables or enables snapshot replication trigger at the local snapshot site | dbms_snapshot_kkxrca.set_i_am_a_refresh(value IN BOOLEAN); |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-- run the I_AM_A_REFRESH first to determine the current package value |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SET_UP | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated in v8 but available for backward compatibility | dbms_snapshot_kkxrca.set_up( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TESTING | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated in v8 but available for backward compatibility | dbms_snapshot_kkxrca.testing; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
UNREGISTER_MVIEW | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Enables the administration of individual materialized views once invoked at a master site or master materialized view site to unregister a materialized view | dbms_snapshot_kkxrca.unregister_mview( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
UNREGISTER_SNAPSHOT | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Enables the administration of individual snapshots (pre MV). Deprecated as of 19c. | dbms_snapshot_kkxrca.unregister_snapshot( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
WRAP_UP | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated in v8 but available for backward compatibility | dbms_snapshot_kkxrca.wrap_up( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated |
Related Topics |
Built-in Functions |
Built-in Packages |
DBMS_MVIEW |
DBMS_SNAPSHOT |
DBMS_SNAPSHOT_COMMON |
DBMS_SNAPSHOT_UTL |
DBMS_SNAP_INTERNAL |
DBMS_SNAP_REPAPI |
DBMS_XRWMV |
What's New In 21c |
What's New In 23c |
This site is maintained by Dan Morgan. Last Updated: | This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2023 Daniel A. Morgan All Rights Reserved | |||||||||
|
||||||||||