Customizable pre- and post-operation procedures are invoked by operations in the purge process. You can define customized procedures in the package body of wgn_partition_cust. If no customized procedures are defined, CA DataMinder invokes default procedures. These default procedures do nothing. The procedure prototypes are listed below.
These procedures are invoked immediately before or after creating a temporary table to hold events that need to be retained.
PROCEDURE wgn_pre_create_temp_table (table_name IN VARCHAR2, date_range IN VARCHAR2);
PROCEDURE wgn_post_create_temp_table (table_name IN VARCHAR2, date_range IN VARCHAR2);
These procedures are invoked immediately before or after populating the blob deletion queue.
PROCEDURE wgn_pre_pop_blob_deletion (date_range IN VARCHAR2);
PROCEDURE wgn_post_pop_blob_deletion (date_range IN VARCHAR2);
These procedures are invoked immediately before or after truncating a partition.
PROCEDURE wgn_pre_truncate_partition (table_name IN VARCHAR2, date_range IN VARCHAR2);
PROCEDURE wgn_post_truncate_partition (table_name IN VARCHAR2, date_range IN VARCHAR2);
These procedures are invoked immediately before or after exchanging a temporary table (holding retained events) with the partition being purged. In effect, these procedures can be invoked immediately before or after merging retained events back into the original partition.
PROCEDURE wgn_pre_exchange_partition (table_name IN VARCHAR2, date_range IN VARCHAR2);
PROCEDURE wgn_post_exchange_partition (table_name IN VARCHAR2, date_range IN VARCHAR2);
These procedures are invoked immediately before or after merging a temporary table (holding retained events) into a historic partition—a special partition for holding records that must be retained permanently. Any permanent records from the purged partition are merged into this historic partition.
PROCEDURE wgn_pre_merge_partitions (table_name IN VARCHAR2, historic_partition IN VARCHAR2, date_range IN VARCHAR2);
PROCEDURE wgn_post_merge_partitions (table_name IN VARCHAR2, historic_partition IN VARCHAR2, date_range IN VARCHAR2);
Copyright © 2014 CA.
All rights reserved.
|
|