Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
oracle_golden_gate_extract_redo_log [2019/10/18 11:04] – external edit 127.0.0.1 | oracle_golden_gate_extract_redo_log [2019/11/19 23:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 126: | Line 126: | ||
SET ECHO OFF | SET ECHO OFF | ||
</ | </ | ||
+ | |||
+ | |||
+ | You can also use the following select to see the exact archivelog when the change happened. Remember that the archivelogs are keeping data for ALREADY Done changes, therefore, if the redo logs was created at 16:30, then this redo log holds the changes prior 16:30 | ||
+ | |||
+ | <sxh bash> | ||
+ | alter session SET NLS_DATE_FORMAT = ' | ||
+ | set linesize 400 | ||
+ | set pagesize 100 | ||
+ | col name format a100 | ||
+ | col SEQ format 999,999,999 | ||
+ | select NAME | ||
+ | ,SEQUENCE# SEQ | ||
+ | , | ||
+ | ,APPLIED | ||
+ | from v$archived_log | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | The output will be something similar: | ||
+ | |||
+ | |||
+ | <sxh bash> | ||
+ | NAME SEQ APPLIED_DATE | ||
+ | ---------------------------------------------------------------------------------------------------- ------------ ------------------- --------- | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | </ | ||
+ | |||