Developing with Cassandra

Preview | Unofficial | For review only

This section is for application developers who build on Apache Cassandra. It covers data modeling, the CQL query language, SAI, ACID transactions, vector search, drivers, and application patterns.

Find Your Path

Not sure where to start? Pick the journey that matches where you are.

New to Cassandra?

Start here — Quickstart | Choose a Driver | Data Modeling Fundamentals

Upgrading from Cassandra 5?

What changed — Upgrade Guide | ACID Transactions | SAI Usage Patterns | Schema Constraints

Building AI or Vector Search Apps?

Get started — Vector Search | AI Application Patterns | AI Coding Assistants

Scaling to Production?

Prepare — Production Readiness | Driver Tuning | Observability | Troubleshooting

What’s New for Developers in Cassandra 6

  • ACID Transactions — ACID transactions across partitions with BEGIN TRANSACTION / COMMIT

  • Schema Constraints — Enforce data integrity rules at the database level

  • Vector Search — Experimental ANN search with vector embeddings and SAI indexes for AI/ML applications

  • New CQL operators — BETWEEN, NOT, and LIKE for more expressive queries

  • SAI on frozen collections — Storage-attached indexes now support frozen collection types

  • Slow-query virtual table — Monitor slow queries directly from CQL

  1. Quickstart — Connect and run your first queries

  2. Data Modeling — Design tables for your access patterns

  3. CQL — Learn the query language

  4. Drivers — Connect from your application

  5. Adopting ACID Transactions — Add multi-partition correctness where it matters

  6. SAI Usage Patterns — Use Cassandra’s recommended indexing engine well

  7. Vector Search — Explore experimental AI-powered retrieval patterns

  8. Troubleshooting — Debug common issues

Drivers

Application Patterns

Troubleshooting