Should I use CockroachDB?

When designing a new application, CockroachDB is a good option due to its flexibility and performance. With metadata being along for the ride, this layer needs to be able to go where the real data needs to go and still be highly performant.

What’s special about CockroachDB?

CockroachDB was architected for complex, high performant distributed writes and delivers scale-out read capability. CockroachDB delivers simple relational SQL transactions and obscures complexity away from developers. CockroachDB is wire-compatible with PostgreSQL and provides a familiar, easy interface for developers.

Who is using CockroachDB?

We have data on 58 companies that use CockroachDB. The companies using CockroachDB are most often found in United States and in the Computer Software industry….Who uses CockroachDB?

Company Atlanta Cable Sales, Inc.
Company Dell Technologies Inc
Country United States
Revenue >1000M

What is CockroachDB built?

In September of 2020 we introduced our own homecooked replacement for RocksDB – a storage engine called Pebble. You can read about our reasons for the switch in this blog.

Is CockroachDB fast?

CockroachDB returns single-row reads in 1 ms and processes single-row writes in 2 ms within a single availability zone. As you expand out to multiple availability zones or multiple regions, latency can increase due to distance and the limitation of the speed of light.

Is CockroachDB eventually consistent?

Conclusion. CockroachDB provides a high level of “consistency”, second only to Spanner among distributed databases as far as I know (but then CockroachDB is a more flexible and easy to migrate to database — think ORM support — so I’ll take it over Spanner any day).

How do I use CockroachDB?

  1. Developer Guide Overview.
  2. Connect to CockroachDB. Install a driver or ORM. Connect to a Cluster.
  3. Design a Database Schema. Overview. Create a Database.
  4. Write Data. Insert Data. Update Data.
  5. Read Data. Select Rows of Data. Reuse Query Results.
  6. Transactions. Transactions Overview.
  7. Test Your Application.
  8. Troubleshoot Common Problems.

Is CockroachDB relational?

Cockroach Labs: CockroachDB is a SQL database for building global cloud services. It falls under the category of NewSQL – a relational database that can scale horizontally.

How many customers does cockroach labs have?

Now at over 200 customers and with tens of thousands of clusters in deployment around the world, Cockroach Labs has seen massive growth.

Is CockroachDB based on RocksDB?

Since its inception, CockroachDB has relied on RocksDB as its key-value storage engine. The choice of RocksDB has served us well.

Is cockroach DB free?

CockroachDB core is free to use. Most core features are licensed under the BSL, but some core features are subject to the CCL or third-party licenses.

Why is it called CockroachDB?

Founded by ex-Googlers in 2015, CockroachDB has been described as nearly impossible to take down, hence its name — cockroaches are renowned for their resilience. With CockroachDB, companies can store multiple copies of their data in different locations to ensure uninterrupted access.