# Leveraging Change Data Capture For Database Migrations At Scale

DevFeed: [Leveraging Change Data Capture For Database Migrations At Scale](<https://devfeed.tech/articles/leveraging-change-data-capture-for-database-migrations-at-scale-30778.md>)

Original publisher: [Read original article](<https://engineering.squarespace.com/blog/2025/leveraging-change-data-capture-for-database-migrations-at-scale>)

Author: Pravish Sood

Published: 2025-05-13T20:30:01Z

Content type: article

Language: en

Sources: [Squarespace](<https://devfeed.tech/sources/squarespace.md>), [Squarespace Engineering Blog](<https://devfeed.tech/sources/squarespace-engineering-blog.md>)

Topics: [Databases](<https://devfeed.tech/topics/databases.md>), [migration](<https://devfeed.tech/topics/migration.md>), [CockroachDB](<https://devfeed.tech/topics/cockroachdb.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [systems](<https://devfeed.tech/topics/systems.md>)

Tags: [cockroachdb](<https://devfeed.tech/tags/cockroachdb.md>), [database](<https://devfeed.tech/tags/database.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [downtime](<https://devfeed.tech/tags/downtime.md>), [migrations](<https://devfeed.tech/tags/migrations.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [scale](<https://devfeed.tech/tags/scale.md>)

## AI overview

Squarespace describes migrating databases from PostgreSQL to CockroachDB to improve horizontal scalability and reduce downtime and operational risk. The Databases team developed a migration plan and in-house tooling to handle schema, user, and data migration across varied workloads.

## Source excerpt

Our teams love relational databases and the benefits ACID properties bring to us as engineers, but they have their limits, especially in horizontal scaling. We had to adopt new database tech across a fleet of highly available services while eliminating as much risk as possible... but how? Enter: change data capture patterning.