Materialized View log Purging and Use of sequence Id (merged 3) [message #606085] |
Sun, 19 January 2014 12:06 |
|
kgecdeep
Messages: 8 Registered: April 2012 Location: kolkata
|
Junior Member |
|
|
Hi,
I have designed an ETL job where I am using the Materialized View log as my source for delta records extraction by using the DML_Type ( I, U, D) and sequence Id to track the latest changes.
I am capturing all the change records in a table by using the sequence number in the MV Log . Once the capture is done for the instance , I am tracking the maximum sequence ID and then the next instance will start from there. This is how I am using the sequencenId .
My concern is:
I have seen the sequence Id is always increasing , if that is the case my design will work. id it possible that the sequence Id will get reset at any stage , if yes how
Also My MV log is getting larger , I want to purge/archive the MV log in a regular frequency based on old sequence Ids that are already loaded and not required . How I can purge the MV log from below certain sequence Ids ?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|