Home / Companies / Fivetran / Blog / Post Details
Content Deep Dive

Database Replication Methods

Blog post from Fivetran

Post Details
Company
Date Published
Author
Katie Chin
Word Count
1,202
Company Posts That Month
1
Language
English
Hacker News Points
-
Post removed?
No
Summary

This article discusses three methods of database replication and highlights the benefits and drawbacks of each approach. The first method, daily snapshots, involves a total re-sync of data from source databases to a destination warehouse on a schedule. While this is easy to implement, it can lead to delays in updating large tables and loss of changes in data. The second method, incremental updates using 'last modified' columns, requires scheduling queries that collect records after a last-modified date cursor. This approach is faster than re-syncing the entire database but still requires scanning the entire table and can lead to silent errors if the user picks the wrong column. The third method, incremental updates using change logs, captures every version of every change, including deletes, and provides close to real-time updates. This approach is more challenging to set up but offers better data integrity and efficiency. Fivetran recommends replication based on change logs for building database connectors due to its positive impact on the rest of the data stack.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 4 220 84 35 0%
Data Pipeline 1 28 9 7 -32%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.