|
|
|
|
|
|
|
|
|
|
|
|
Re: Streams Synchronization [message #285442 is a reply to message #285206] |
Tue, 04 December 2007 10:34 |
sriramkalyan
Messages: 7 Registered: November 2007 Location: Silver spring MD, USA
|
Junior Member |
|
|
You can determine the current first SCN, applied SCN, and required checkpoint SCN for each capture process in a database using the following query:
SELECT CAPTURE_NAME, FIRST_SCN, APPLIED_SCN, REQUIRED_CHECKPOINT_SCN
FROM DBA_CAPTURE;
For example, the following procedure sets the first SCN for a capture process named strm01_capture to 351232.
BEGIN
DBMS_CAPTURE_ADM.ALTER_CAPTURE(
capture_name => 'strm01_capture',
first_scn => 351232);
END;
/
The specified start SCN must be greater than or equal to the first SCN for the capture process. You can determine the first SCN for each capture process in a database using the following query:
SELECT CAPTURE_NAME, FIRST_SCN FROM DBA_CAPTURE;
Also, when you reset a start SCN for a capture process, make sure the required redo log files are available to the capture process.
For example, the following procedure sets the start SCN for a capture process named strm01_capture to 750338.
BEGIN
DBMS_CAPTURE_ADM.ALTER_CAPTURE(
capture_name => 'strm01_capture',
start_scn => 750338);
END;
/
|
|
|
|
|