Hi Suphakit
-
So the short answer is it may or it may not. How this works gets
a bit technical, so if you have any questions feel free to ask.
If you have not configured "lob.enabled=true" then the connector
is operating in what I call "sliding mining window" mode. In this
mode, we mine from A to B, B to C, C to D, etc. Whether your
change is picked up will depend entirely on whether or not the
connector is processing near real-time events or if its processing
older events from the past. We expose a JMX_METRIC that tells you
how far behind the connector is lagging. You can also calculate
this on the sink/consumer side by comparing the delta between
"ts_ms" (the time we processed the event) and "source.ts_ms" (the
time the event was written by Oracle). If this delta is very
small (i.e. within a few seconds or a minute) then most likely the
outcome will be that we've mined well past the system change
number associated with your non-included table and so after you
reconfigure & restart the connector, only changes you make
thereafter for that table will be included. If the connector is
lagging behind to a point before your change to this non-included
table and you reconfigure & restart, then yes when the
connector eventually catches up to that time in the logs, your
change would be emitted.
If you have configured "lob.enabled=true", then you're operating
in more of an "adaptive mining window" mode where we mine from A
to B, A to C, C to D, etc where the starting point of each window
is based on the oldest in-progress transaction's system change
number. So while the connector may be processing near real-time
events, in this mode it depends entirely on if the starting point
of the window is before or after the system change number
associated to your non-included table. If its before, then yes
your change would be emitted after the reconfigure & restart,
but if its after then it would not.
HTH,
CC
On 2/23/22 02:45, Suphakit Wongsarawit
wrote:
I have question about SCN on how it work in oracle database. If
the connector finish running the snapshot and I wait for connector
to run for about 5-10 minutes. And the data got inserted in
another table that is not included in the config of the connector
in this 5-10 minutes. After 5-10 minutes I change the config of
this connector to include this table too. Those data that inserted
in 5-10 minutes will be detected by connector or not. And how does
it work
Thank you very much.