Streams – Capture Process States
The state of a capture process describes what the capture process is doing currently. You can view the state of a capture process by querying the STATE column in the V$STREAMS_CAPTURE dynamic performance view. The following capture process states are possible
INITIALIZING – Starting up.
- WAITING FOR DICTIONARY REDO – Waiting for redo log files containing the dictionary build related to the first SCN to be added to the capture process session. A capture process cannot begin to scan the redo log files until all of the log files containing the dictionary build have been added.
- DICTIONARY INITIALIZATION – Processing a dictionary build.
- MINING (PROCESSED SCN = scn_value) – Mining a dictionary build at the SCN scn_value.
- LOADING (step X of Y) – Processing information from a dictionary build and currently at step X in a process that involves Y steps, where X and Y are numbers.
- CAPTURING CHANGES – Scanning the redo log for changes that evaluate to TRUE against the capture process rule sets.
- WAITING FOR REDO – Waiting for new redo log files to be added to the capture process session. The capture process has finished processing all of the redo log files added to its session. This state is possible if there is no activity at a source database. For a downstream capture process, this state is possible if the capture process is waiting for new log files to be added to its session.
- EVALUATING RULE – Evaluating a change against a capture process rule set.
- CREATING LCR – Converting a change into an LCR.
- ENQUEUING MESSAGE – Enqueuing an LCR that satisfies the capture process rule sets into the capture process queue.
- PAUSED FOR FLOW CONTROL – Unable to enqueue LCRs either because of low memory or because propagations and apply processes are consuming messages slower than the capture process is creating them. This state indicates flow control that is used to reduce spilling of captured messages when propagation or apply has fallen behind or is unavailable.
- SHUTTING DOWN – Stopping.