A distributed SQL database designed for speed, scale,and survival
Capabilities
By Industries
Customer Stories
See how our customers use CockroachDB to handle their critical workloads.
Learn
Support
About us
engineering
product
How have databases evolved to handle high availability demands? This post walks through the development of active-passive, active-active, and multi-active systems.
The world's top banks are leaving the legacy RDBMS that have powered their workloads for, in some cases, decades. Here's why.
You need to identify your database rows somehow. Calling them row 1, row 2, etc. comes with some hidden hazards. There's a better way: UUIDs.
Fault tolerance describes a system's ability to remain operational during errors, power outages, and other types of faults. How can you build a system that does that?
For seven companies interviewed by Greenoaks Capital Partners, switching to CockroachDB resulted in annual savings of $0.5M to $8M, as well as less downtime and more developer time spent on the product.
This blog post is an exploration of JSON parser performance, and, ultimately, a description of the high-performance JSON parser used in CockroachDB.
How a major global electronics company upgraded their database by moving from MySQL to CockroachDB — and saved $700k in just the first year.
Learn how Paul created an open source JavaScript utility package to help convert cloud provider region codes into real locations and country flags.
Learn about distributed transactions, and the advantages and disadvantages of three different methods for implementing them.
Real-money gaming is growing in popularity. Here's how to build a resilient, performant application in the face of demanding users and complex regulations.
If you are building applications on GCP or AWS, chances are you have heard of VPC peering. This blog post explains what VPC peering is and when to use it.
CockroachDB Dedicated, the fully managed service of CockroachDB, is now PCI-DSS certified by a Qualified Security Assessor (QSA) as a PCI Level 1 Service Provider.
Learn about transaction retry handling in CockroachDB – which types are handled automatically, and which types require handling in your application layer.
Learn how Cockroach Labs engineers rebuilt bulk operations in CockroachDB to preserve a history of what they changed.
Traditionally, updating your SQL database schema once the database is in production has been a pain. But it doesn't have to be. There's a better way!
Learn how to use Cloud IAM Roles from you CockroachDB clusters in CockroachDB 22.2
Learn how to use Change Data Capture (CDC) Transformations to reduce costs and make your data pipeline more efficient.
How CockroachDB uses control theory, studies CPU scheduler latencies, builds forms of cooperative scheduling, and patches the Go runtime.
Learn how to SSO to CockroachDB clusters using Json Web Tokens (JWT).
Intelligent Insights is a tool that exposes problems detected in workloads and schemas, then offers recommendations to improve the performance of the workload.
Level up your changefeeds and simplify your ETL process by doing transformations right in the database.
Learn how you can make your distributed application more efficient by using UDFs in CockroachDB.
Netflix runs CockroachDB as part of their persistence-as-a-service offering to improve the developer’s experience and increase productivity.
Database migrations are generally undertaken for one of three reasons. In this blog we discuss why migrations happen and how to migrate faster and with more ease.
Heroku's free tier is disappearing. Here's how to move your Postgres database onto a different free cloud service with some useful extra features.
Distributed databases offer high availability, scalability, and performance that you might not be able to get from a traditional database. So what exactly is a distributed database, and how does it work?
Black Friday can be a dream for CEOs, but a nightmare for CTOs. Here’s how to build a backend inventory system that’s up to the challenge.
Upserts in SQL are common (and very useful!) but actually doing them can get a little complicated depending on the database you're using.
Black Friday and Cyber Monday and holiday shopping stress retail and ecommerce infrastructure. How will your site handle massive traffic? Are you giving customers accurate pricing and shipping info?
Learn how to achieve low latency reads in a transactionally consistent, multi-region database is a unique challenge.
Vector by Datadog and CockroachDB make it simple to collect and deliver data to other monitoring tools.
How CockroachDB helps organizations securely store their data in a DBaaS with private CockroachDB Dedicated clusters and configure egress perimeter controls.
Building video game architecture that scales presents some unique challenges. Here's a blueprint that can help solve them.
Inventory management is challenging. Here's a look at how to build modern inventory architecture based on real-world systems built by massive ecommerce companies.
Serverless application stacks have been stuck in a dilemma: Most applications need some kind of state store, but most state stores aren’t serverless. The CAKE stack solves this problem.
Learn why Netflix adopted CockroachDB as a scalable SQL database and how they’re using CockroachDB today.
It's fast and easy to spin up a CockroachDB Serverless cluster. Getting your data into it is pretty straightforward, too.
Building a distributed payment system is a challenging proposition. Here's how Shipt managed to build a system that handles millions of payments with ease.
Cockroach Labs has just launched the first truly scalable serverless SQL database. Learn how it works and how a serverless sql database can relieve the operational burden of developers.
When you test 36 different GCP instance configurations for OLTP performance and affordability, which options rise to the top of the pile?
CockroachDB Serverless has a permanent free tier to make sure every developer always has the right capacity and 99.99% uptime — and never overspends to get them.
James Bond explains what row-level time-to-live is, how it works, and when developers can use it to automate the deletion of expired data.
company
Senior engineers from Netflix, DoorDash, Twitter, Shipt, Starburst Data, and more presented at RoachFest, our inaugural CockroachDB conference. Here were the highlights.
In an age of constant disruption, the only viable strategy is to adapt. The ability to innovate is necessary for survival — and serverless can help make innovation simply an everyday part of doing business.
CockroachDB Serverless is now in GA, a new migration toolset, and integrations with Vercel and HashiCorp.
How to export your CockroachDB logs to AWS Cloudwatch or GCP Cloud Logging. Collect and visualize cluster logs directly, or send them to other platforms for centralized monitoring.
Learn how to build a serverless polling application with netlify serverless functions, Next.js, Pusher Channels, Twilio, and CockroachDB.
Why operational data is increasingly moving to the cloud, and how you can assess the true cost of a cloud database.
CUSTOMER STORIES
Bose is building a platform as a service with CockroachDB. Ordinarily, we think of Bose as a leading audio equipment design and development company, best known for its professional, personal, and car audio systems and noise cancelling headphones but they're also a very talented collection of engineers.
Nubank migrated its credit card authorization service from in-memory storage to CockroachDB to achieve scalable, always-on infrastructure and more efficient operations