How we built scalable spatial indexing in CockroachDB
Support for spatial data and geospatial indexing is one of the most requested features in the history of CockroachDB.
Cockroach Labs develops CockroachDB and Cockroach Continuum, an agentic database cloud-native, distributed SQL database designed for extreme resilience, seamless horizontal scaling, and global deployment.
Visit cockroachlabs.com → On Hacker News Jun 2015 – Oct 2026
Databases & Data 33Software Engineering 27Systems & Performance 15Tech Industry & Business 11Programming Languages 3Infrastructure & DevOps 3
Support for spatial data and geospatial indexing is one of the most requested features in the history of CockroachDB.
We’re pleased to announce the availability of Managed CockroachDB, the fully hosted and fully managed service run by Cockroach Labs that makes deploying, scaling, and managing effortless.
One of the headline features of CockroachDB is its full support for ACID transactions across a distributed database. In this post, we’ll explain...
If someone knows even a little about Spanner, the first question they have is: "How does CockroachDB provide external consistency without atomic clocks?"
I’m a database nerd. Or, to be more precise, a DBMS nerd. But back in university, I avoided the Databases course at all costs. A little ironic when you consider I quit my job building IBM Db2 to work on CockroachDB.
CockroachDB 19.2 improves latency, reliability, and usability. We’re bringing the speed of distributed transactions closer to the theoretical minimum.
Managing state in Kubernetes is difficult because the system’s dynamism is too chaotic for most databases to handle; especially SQL databases that offer strong consistency.
With the help of Antithesis, a startup from the founders of FoundationDB, CockroachDB engineers were able to track down and reproduce a most elusive one-in-a-million bug, nearly deterministically!
This blog post outlines how CockroachDB executes queries and shares Cockroach Labs' vision for future work on distributed processing.
Under READ COMMITTED isolation, PostgreSQL can sometimes miss rows when performing UPDATE, DELETE, SELECT FOR UPDATE, or SELECT FOR SHARE statements. This is due to the EvalPlanQual recheck PostgreSQL adds to these statements to prevent lost-update anomalies.
We have added a new feature: time-travel queries. To our knowledge, we are the first database to have implemented the them.
An interactive demo (using D3) of CockroachDB. Watch as CockroachDB evolves with your application, from proof-of-concept, to multi-node cluster, to international deployment.
To protect concurrent transactions from anomalies that can break the consistency of CockroachDB, we require an Isolation guarantee...
We want to give you a database that allows you to quickly and simply build and manage data-intensive applications in the cloud—without worrying about the performance, scale or resilience of those apps. To support that mission, our latest release includes updates that let you build fast and build to last.
One small step for Cockroach Labs, one giant leap for our release numbering.
We introduced Cockroach Labs last June with a simple yet ambitious mission: Make Data Easy. We are now thrilled to launch CockroachDB beta.
How we built a 40x faster hash joiner using vectorized execution.
CockroachDB's consistency model fits somewhere between serializability and linerarizability. We're proposing a new marketing phrase for CRDB's guarantees: no stale reads.
It's amazing how a series of small but unfortunate events can quickly add up to one very expensive problem. Like the time one person fat-fingered the wrong year on a mainframe JCL job, Ronald Reagan died, and the US postal service lost $500 million.
How we implemented consistent, distributed, incremental backup in CockroachDB.
CockroachDB 2.1 is 50x more scalable than Amazon Aurora at less than 2% of the price per tpmC. Read on to see performance benchmarks of CockroachDB 2.1, including the latest TPC-C results.
What do nested transactions look like in an ACID environment? We explore the journey of a nested SQL transaction in CockroachDB in this post.
Cgo is an important part of Go: It's your window to calling anything that anything that has C bindings. But while cgo works for us, it hasn’t come for free.