Better HN
topnewbestaskshowjobs
Log inSign up

dgea005

4 karma · joined Jul 28, 2023 (3y ago) · 1 submissions

Submissions

comment 3y ago · link · parent

Looks awesome! Maybe I missed it in the docs but I wonder how you solved the problem of a source table's initial snapshot when performing CDC (locking a large table on a production DB can be problematic).

Did you implement something like described here? https://netflixtechblog.com/dblog-a-generic-change-data-capt...

Lastly, I wonder what plugin you're using for the Postgres logical replication?

Congrats!

Edit: re-read it and saw about the DuckDB blog's inspired ctid solution for the initial snapshot. Do you find querying by ctid okay performance wise? As far as I remember it will use sequential scans