Distributed SQL, coherently diagrammed

Explore and Document CockroachDB Clusters Visually

CockroachDB speaks the PostgreSQL wire protocol while Raft replicates every range underneath. DbSchema connects with the standard PostgreSQL driver and gives the cluster a design layer: diagrams, documentation, and schema changes compared before they apply.

  • Reverse engineer tables, foreign keys, indexes, and column families
  • Compare dev and production clusters, then read the DDL before it runs
  • Run cluster statements like SHOW RANGES and SHOW ZONE CONFIGURATIONS in the editor
  • The PostgreSQL JDBC driver is fetched automatically
Free Community Edition No signup required 15-day Architect trial included
Free Download

Trusted by teams at

Postgres at the Wire
Distributed Everywhere Else

To the driver, CockroachDB looks like PostgreSQL. Underneath sit ranges, replicas, regions, column families, and zone configurations — structure that spans nodes and that no single SQL session puts in front of you.

DbSchema draws that structure: the schema as diagrams, placement noted where it matters, documentation the whole team shares, environments kept aligned.

Visualize, Align & Document
the Whole Cluster

Design tooling that keeps up with a database built to survive anything.

Reverse engineer CockroachDB with column families into diagrams
Column Families on the Canvas

DbSchema reads the information schema and diagrams tables, foreign keys, and indexes — including how columns group into storage families inside each table.

Compare CockroachDB clusters and generate migration DDL
Aligned Clusters, Reviewed DDL

CockroachDB applies schema changes online; DbSchema shows you what those changes are first. Diff two clusters — or the model against one — and approve each difference.

Export HTML documentation of a CockroachDB schema
A Reference for a Distributed Team

Annotate tables, note multi-region placement decisions, and export it all as browsable HTML documentation — read anywhere, no cluster credentials involved.

Consensus for Your Data
Reviews for Your Schema

Raft settles what the cluster stores; Git settles what the schema becomes. Keep the model file in the repository, branch and pull-request structural changes, and let DbSchema translate the approved diff into PostgreSQL-compatible DDL for each environment.

CockroachDB schema synchronization between the Git model and cluster environments

CockroachDB Connection Essentials

DbSchema fetches the standard PostgreSQL JDBC driver automatically — CockroachDB speaks the PostgreSQL wire protocol. The cluster listens on port 26257, matching the URL form jdbc:postgresql://host:26257/dbname?sslmode=require; sign in with your SQL user and password, and the tables, indexes, and column families load into the first diagram.

CockroachDB Serverless needs the full connection string from the Cloud console, which embeds the cluster SNI header (options=--cluster=cluster-name). For CockroachDB Dedicated, download the cluster's CA certificate and point the sslrootcert parameter at it.

Diagram the Cluster in Minutes

No form to fill in: the free Community Edition comes with a 15-day Architect trial.

Frequently asked questions

Yes, DbSchema connects to CockroachDB using the PostgreSQL JDBC driver, since CockroachDB speaks the PostgreSQL wire protocol, and downloads that driver automatically.

CockroachDB listens on port 26257 by default, matching the JDBC URL form jdbc:postgresql://host:26257/dbname?sslmode=require.

Yes, DbSchema reads column family definitions from CockroachDB's information schema and displays how columns are grouped into storage families directly in the diagram.

Teams working with CockroachDB often use these engines too. Explore dedicated guides and JDBC setup for each.

Browse all 100+ supported databases