[SIGNAL]

19 views
Skip to first unread message

Johann Brandl

unread,
Jul 31, 2025, 4:01:02 AMJul 31
to debezium
Hi everyone,

I stumbled upon a problem with handling signals, but I'm not sure if I'm using them correctly or if it's a general issue.
I noticed it when I wanted to snapshot a table's data for a day. Since this took a very long time, I looked at the corresponding session in Oracle. The where clause from the signal wasn't used, but rather it was broken down to the IDs from the primary key.
Unfortunately, this doesn't work in our environment because we use different number ranges (depending on where a record comes from), and therefore a much too large amount of data is affected.
I then created a signal that only covers the actual range.
But it took a very long time here too. So I looked at the contents of the bind variable used to read the records.
That surprised me a lot.

I sent the following signal:

insert into debezium_signal values ( to_char(sysdate,'dd.mm.yyyy hh24:mi:ss'), 'execute-snapshot', '{"data-collections": ["''MYDB.WORLD''.IFADMIN.UNITS"], "type": "INCREMENTAL", "additional-condition":" ident between 249305212 and 249577412 "}');

But the bind variables were:
:1 -> 39113
: 2 -> 28647485511 (which was the maximum id at that time)

Does anyone have an idea what could be causing this?

Best regards

JB




Chris Cranford

unread,
Jul 31, 2025, 7:06:35 AMJul 31
to debe...@googlegroups.com
Hi Jb -

Can you try with the signal payload being

    {
        "type": "INCREMENTAL",
        "data-collections": ["\"MYDB.WORLD\".IFADMIN.UNITS"],
        "additional-conditions": [
            { "data-collection": "\"MYDB.WORLD\".IFADMIN.UNITS", "filter": "ident between
249305212 and 249577412" }
        ]
    }

The `additional-condition` field was deprecated and removed recently. There is also some examples in the documentation [1].

Thanks,
-cc

[1]: https://debezium.io/documentation/reference/stable/connectors/oracle.html#debezium-oracle-incremental-snapshots
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/debezium/a9f1f9ff-a45b-4e3a-bb58-7ece8f961613n%40googlegroups.com.

Johann Brandl

unread,
Jul 31, 2025, 8:00:52 AMJul 31
to debezium
Hi Chris,

that works perfect .

Thank you very much for your quick and competent help.

I probably need to get into the habit of reading the manual :-)

jb
Reply all
Reply to author
Forward
0 new messages