Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 – 64bit Production
select state from gv$streams_capture;
STATE ---------------------------------------------------------------------------------------------------------------------------------------------------------------- WAITING FOR REDO: LAST SCN MINED 442455793041
select thread#, sequence#, status
from v$archived_log
where 442455793041 between first_change#
and next_change# order by 1,2;
THREAD# SEQUENCE# S ---------- ---------- - 1 1070609 D 1 1070609 D 1 1070609 D 1 1070610 D 1 1070610 D 2 1153149 D 2 1153149 D 2 1153149 D 8 rows selected.
Who’s deleting the archived logs? Thanks to Praveen G. who figured this out. From the alert log.
WARNING: The following archived logs needed by Streams capture process are being deleted to free space in the flash recovery area. If you need to process these logs again, restore them from a backup to a destination other than the flash recovery area using the following RMAN commands: RUN{ # <directory/ASM diskgroup> is a location other than the # flash recovery area SET ARCHIVELOG DESTINATION TO '<directory/ASM diskgroup>'; RESTORE ARCHIVELOG ...; }
