Simple, consistent SQL

Use the tools and the language you use today and guarantee your data is always correct

Use standard SQL and tools to query, analyze, and optimize

Guarantee highly performant, correct transactions at any scale

Update schema with zero downtime in production

Use powerful and elegant SQL

Get all the capabilities you expect from a powerful SQL database, wire compatible with PostgreSQL

SQL Playground arrow PostgreSQL compatibility docs arrow


Easily find and fix problematic queries

Introspect and optimize queries with a strong set of native tools


Command line: Run commands like EXPLAIN and EXPLAIN ANALYZE to understand query plans and performance

Guarantee consistent transactions

ACID transactions

Guarantee consistent transactions

Trust your data is immediately correct at any scale with ACID compliant guarantees and serializable isolation--even with high concurrency and competing distributed transactions

Developer’s guide to transactions arrow Transactions docs arrow
Update schema without downtime

Online schema changes

Update schema without downtime

Make any schema changes while your data is still available for reads and writes, with zero downtime, even in production.

Developer’s guide to schema arrow Online schema changes docs arrow
Get advanced distributed query optimization and execution

Cost-based optimizer

Get advanced distributed query optimization and execution

Leverage a first-class query optimizer which analyzes and automatically selects the most optimal query execution plan for best performance in a distributed environment.

Cost-based optimizer docs arrow
Code the way you want

Developer tool integrations

Code the way you want

Use your favorite drivers, ORMs, and other third-party developer tools, enabled by CockroachDB’s support for the PostgreSQL wire protocol.

List of tools supported arrow
Master your SQL skills for free

Free Online Training

Master your SQL skills for free

Learn the SQL skills you need to scale your database and your resume straight from industry experts.

Getting Started with SQL for App Devs arrow Introduction to Distributed SQL arrow

Get started for Free

Get started arrow Compare products arrow