Home / Companies / Cockroach Labs / Blog / Post Details
Content Deep Dive

How to do a Postgres Database Migration – Tips from LaunchDarkly

Blog post from Cockroach Labs

Post Details
Company
Date Published
Author
Charlie Custer
Word Count
8,247
Company Posts That Month
13
Language
English
Hacker News Points
-
Post removed?
No
Summary

In this interview with Justin Caballero from LaunchDarkly, we discussed their migration from PostgreSQL to CockroachDB. The motivation for the move was to improve scalability and resilience of their database infrastructure. They used feature flags to gradually roll out CockroachDB alongside their existing PostgreSQL setup, allowing them to monitor performance and correctness before fully migrating. The migration process involved converting SQL queries to ensure they performed well on CockroachDB. Justin also mentioned that handling JSON data in CockroachDB has been straightforward. LaunchDarkly currently runs CockroachDB on EC2 instances using traditional infrastructure as code management, but may consider Kubernetes in the future. The key takeaway from this migration is to keep SQL queries simple and use feature flags for gradual rollouts when migrating databases.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 13 1,296 143 63 +90%
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.