Questions tagged [change-data-capture]

Change data capture (CDC) encompasses database design patterns to keep track of changed data and perform actions with it.

In databases, change data capture (CDC) is a set of software design patterns used to determine (and track) the data that has changed so that action can be taken using the changed data. Also, Change data capture (CDC) is an approach to data integration that is based on the identification, capture and delivery of the changes made to enterprise data sources.

CDC solutions occur most often in data-warehouse environments since capturing and preserving the state of data across time is one of the core functions of a data warehouse, but CDC can be utilized in any database or data repository system.

271 questions
0
votes
0 answers

Debezium SqlServer source not reading data

I have a running Kafka Connect instance and have submitted my connector with the following configuration at the bottom of this post. Question The Debezium docs seem to indicate I set database.server.name=connect_test and create topics for each table…
0
votes
1 answer

AWS Data Migration Service Not Capturing Partitioned

Description I have a postgreSQL Partitioned Table shippo=> \d+ table_name Partitioned table "public.table_name" -- skipping column definitions Partitions: table_name_201909 FOR VALUES FROM…
0
votes
1 answer

Display data from Azure SQL Instance in Azure Storage using change data capture (CDC)

first of all, it's my first experience working with Azure. I have a task: Displaying (created\updated\ deleted ) entries from Azure SQL in handy view on Azure portal. After a small investigation I've found out: Finding changes in the database is…
0
votes
1 answer

SQL Server Change Data Capture - Validating Incremental Window

I want to implement an incremental load process using SQL Server Change Data Capture. Every example I find takes the "happy path." In other words, they assume that the CDC history exceeds the time since the last successful incremental load. Suppose…
0
votes
0 answers

Database trigger calling a spring boot Class method

I have an oracle table which is updated by an external spring boot application. In my spring boot application, I want to create a database trigger so that whenever there is an update or insert operation happens on that table, my spring boot…
APK
  • 155
  • 1
  • 15
0
votes
0 answers

Debezium: Prod-ready config to move from MySQL to Postgres

Does anyone have a drop in prod-ready solution to move all tables from MySQL to Postgres? Debezium looks like a great tool, but I'm facing a fairly steep learning curve to get it in prod mode. Many tutorial seem skipping over important features…
M4rk
  • 2,172
  • 5
  • 36
  • 70
0
votes
1 answer

CDC insert statement in postgres

I am trying to implement a statement where I update some timestamps and an active field in before inserting the new row. In case the information is identical, it should not do anything. My statement looks like this: with inputdata (id, name,…
Bok
  • 537
  • 5
  • 21
0
votes
1 answer

Make A custom transform for kafka cdc and Debezium

I'm trying to create a custom transform for Kafka CDC.I want running a replication between MySQL and MongoDB. I prefer when a row update/insert in MySQL database the records the related to that row (A hierarchy tree structure) corresponding complex…
0
votes
0 answers

Connector configuration is invalid and contains the following 1 error(s): Postgres server wal_level property must be "logical" but is: replica You ca

I am trying to start Kafka Connect service with Debezium Postgres Connector with this command: bin/connect-standalone.sh config/connect-standalone.properties config/connect-debezium-postgres.properties After running the command I'm getting this…
0
votes
1 answer

Sql Server CDC (Change Data Capture) Apply the data changes to the backedup database

We had a requirement to enable all tables CDC and migrate the updates to the database backup which were taken prior to enabling CDC. Step 1: Take the database backup at x point time. Step 2: Enable CDC on the database and Enable CDC on all the…
ManiMania
  • 1
  • 1
0
votes
1 answer

org.postgresql.util.PSQLException: ERROR: syntax error

I am trying to add debezium-connector-postgres to my Kafka Connect. First I validated my config by PUT http://localhost:8083/connector-plugins/io.debezium.connector.postgresql.PostgresConnector/config/validate { "name":…
0
votes
2 answers

MS SQL Server restart CDC to read from beginning after cleanup

recently I started working with CDC on MS SQL Server. I have a scenario. Enabled CDC on a SQL Server Enalbed CDC on a certain table Data ingested using debezium connector to kafka Data has been cleared by cdc cleanup job Is it possible to run cdc…
0
votes
1 answer

sys.sp_cdc_stop_job not on server

How to restart capture job (for Change Data Capture), if I don't have this procedure - sys.sp_cdc_stop_job on the server? (using Microsoft SQL Azure (RTM) - 12.0.2000.8 Sep 18 2021 19:01:34 Copyright (C) 2019 Microsoft Corporation ) Need to restart…
0
votes
1 answer

Querying RDBMS transaction logs live

This is a Change Data Capture scenario. But instead of enabling CDC on tables, I would like to read the database Transaction logs and filter it for certain tables. For instance I want to know all updates, deletes, and all DDLs on certain table and…
Misa J.
  • 167
  • 1
  • 5
0
votes
1 answer

How to clean up all entries in a cdc table in MS SQL?

Reading Microsoft Docs this is the relevant system procedure: sys.sp_cdc_cleanup_change_table I tried using it like this: DECLARE @max_lsn binary(10); SET @max_lsn = sys.fn_cdc_get_max_lsn(); Exec sys.sp_cdc_cleanup_change_table @capture_instance =…
Gnut
  • 541
  • 1
  • 5
  • 19