Definition: Amazon Keyspaces (for Apache Cassandra) is a scalable, highly available, fully managed, serverless NoSQL database service compatible with Apache Cassandra, using Cassandra Query Language (CQL) for semi-structured data workloads.
Key Features:
Compatible with Apache Cassandra 3.11.2 APIs, drivers, and tools.
Serverless, eliminating server provisioning, patching, or management.
Automatic scaling of throughput and storage.
99.99% availability SLA within a Region.
Data encrypted by default; supports point-in-time recovery (PITR).
Use Cases: IoT device data, gaming profiles, time-series data (e.g., logs, chat histories), real-time analytics, fleet management.
1. Keyspaces Core Concepts
Data Model
Keyspaces: Collections of tables, similar to a database schema (e.g., catalog keyspace for related tables).
Explanation: Group tables by application or environment—e.g., production vs. staging.
Tables: Store rows with a primary key (partition key + optional clustering columns).
Partition Key: Distributes data across partitions (simple or compound).