For Cassandra

Query-first table design for Cassandra and ScyllaDB

Cassandra tables are shaped by the queries that read them, so one entity often becomes several tables. Seeing them side by side, keyed and ordered, keeps the denormalisation deliberate.

Keys and clustering in plain sight

Partition key columns, clustering columns with their order, user-defined types as nested fields and a table's default time to live are all on the card.

CQL in and out

Paste DESCRIBE KEYSPACE output, read .cql migration folders from your repository, or connect live through system_schema. Export CREATE TYPE, TABLE, INDEX and MATERIALIZED VIEW statements.

Changes you can apply

A merge writes ALTER TABLE and ALTER TYPE statements, and says plainly when a key change needs a new table and a copy.

Time series checks

Health points out tables that record time but have no clustering column, so each partition would hold a single row.

Also for MongoDB, DynamoDB and Firestore. See every feature on the features page.

Start with one diagram, free

One diagram with two branches, no card needed. Upgrade when your team needs more.