CockroachDB Features

Strong Consistency

CockroachDB replicates data multiple times and guarantees consistency between nodes. It guarantees the SQL isolation level "serializable" by combining the Raft consensus algorithm for writes and a custom time-based synchronization algorithms for reads.

Multi-Active Availability

Superior to traditional active-passive and active-active system, CockroachDB enables all replicas to handle traffic while ensuring the data consistency by using “consensus replication”. As long as a majority of replicas can talk to each other, the cluster is available.

Standard SQL Support

With the implementation of Standard SQL and extensions, CockroachDB makes it possible to write familiar queries. Its support for PostgreSQL wire protocol significantly facilitates the application’s talk to Cockroach.

High Availability

Thanks to the strongly-consistent replication and powerfully automated repair ability, CockroachDB successfully survives the software and hardware failures in whatever a short or a long term, from a server restart to a datacenter outage.

Automated Scaling Healing

CockroachDB automatically scales, rebalances, and repairs itself. When data flow in to a threshold, a range will be split into new ranges, which will be automatically rebalanced to nodes with more capacity if your cluster spans multiple nodes.

As an open source programming language supporting libraries, interfaces, and tooling, Go is a right choice for CockroachDB, helping build an excellent performance and distributed system while ensuring high speed and stability.

Simplified Deployment

Simplicity is a top priority in the design of CockroachDB. Its nodes are self-organized and symmetric, perfectly realizing a homogeneous deployment with minimal configuration and zero external dependencies.

When to Use CockroachDB

If your data store has the following requirements, CockroachDB is a good option.

When You Want a Distributed Database with Full SQL Support

Built on top of a distributed, strongly-consistent and transactional key-value store, CockroachDB fully supports ANSI-SQL, including table joining, foreign key constraints and transactions. Using the advanced distributed database in the same way as before, to developers with RDBMS experience, is very appealing.

When Your Data Needs both High Availability and High Consistency

CockroachDB’s innovative high availability design is called Multi-Active availability which enables every node of a cluster to serve both read and write requests while ensuring data consistency across all nodes.

When You Want to Start from a Single Server and Scale out Smoothly

CockroachDB is super resilient. It can run on a single node which can later scale out to hundreds of nodes without any downtime or hassle. In the mean while, CockroahDB can rebalance work load among all nodes automatically without any management or configuration overhead.

When Your Data is Stored in Different Regions and Supports Online Transaction Processing(OLTP)

No one can underestimate the usefulness and importance of database transaction. However, database transaction in distributed environments is hard to implement. As a distributed database, CockroachDB supports strongly-consistent ACID transaction spanning arbitrary tables and rows, even across different nodes.

When You Need a Never Down Database Service

By replicating data multiple times, CockroachDB can guarantee data consistency and integrity over a wide area. This enables CockroachDB cluster to survive disk, server, rack or data center failure, and to achieve auto-healing and self-repairing. CockroachDB is hard to kill just as its name implicates.

When You Want a Distributed Database with Minimal Operator Overhead

With its innovative design, CockroachDB’s management is quite easy. You can run CockroachDB on a single server and scale it out later when necessary. The process of adding capacity is as easy as changing several configuration parameters. Workload rebalance and data repair are performed without any interference.

When Not to Use CockroachDB

If low latency reads and writes are critical to you, CockroachDB is not appropriate.

If heavy analytics / OLAP is required, please skip CockroachDB.

CockroachDB Videos & Screenshots

Easy and cheap CockroachDB hosting with horizontal scalability, high availabilty and survivability.