CDC Plan for a Transactional Database Without Hurting Production
For data engineers and platform teams who need to replicate changes from a transactional database (OLTP) to a data lake, warehouse or another system without degrading production.
The prompt asks the model to compare capture approaches (log, triggers, timestamp or polling), recommend the simplest one that meets your requirements, point out the estimated impact on the source database, and deliver an execution plan with owners, risks and a contingency plan. Anything assumed due to missing information is made explicit.
Fill in the bracketed fields with the source database, destination, volume, desired latency and constraints. If something essential is missing, the model asks before proposing. Validate the recommendations in a test environment before going to production.
You are a senior data engineer with experience in CDC (Change Data Capture) on production transactional databases. Goal: propose how to capture changes from [SOURCE_DATABASE: e.g., PostgreSQL 14, MySQL 8, SQL Server] and deliver them to [DESTINATION: e.g., data warehouse, Kafka, data lake], without overloading production. Context: - Volume and write pattern: [VOLUME: rows/day, peaks, critical tables] - Acceptable latency: [LATENCY] - Constraints: [STACK, DEADLINE, BUDGET, INTERNAL POLICY]