Keyspace
A keyspace is a system-defined namespace representing a set of addressable keys or, in some databases, the tables and settings grouped under such a namespace.
ScyllaDB in Action
A keyspace is a ScyllaDB or Cassandra namespace that contains tables and defines settings such as replication and durable writes.
- How it is used
- Organizes application tables while setting their cluster replication behavior.
- How deep it goes
- Explains creation, inspection, selection, and replication choices, while deferring nuanced production replication strategies.
- Examples
- Uses initial, types, and reviews keyspaces for food reviews, data-type experiments, and application tables.
- What you can do after
- Operate/configure it with CREATE KEYSPACE, DESCRIBE, and USE commands while choosing a replication configuration.
Spring in Action, Sixth Edition
A Cassandra keyspace is a namespace that groups tables and defines replication-related settings for them.
- How it is used
- Configures the Cassandra namespace and replication context used by Spring Data Cassandra repositories.
- How deep it goes
- Defines table grouping, creation, replication choices, and application configuration, but stops short of detailed cluster topology.
- Examples
- Uses the tacocloud keyspace, CQL shell creation, SimpleStrategy, replication factor 1, and Spring YAML configuration.
- What you can do after
- Operate/configure a Cassandra keyspace for Spring Data Cassandra applications using CQL and application YAML.
Read how Spring in Action, Sixth Edition explains keyspace →
Related concepts
- database tablehas part · A database table is a relational database structure that organizes records into rows and defined columns.
- replication factorconfigured by · A replication factor is the configured number of copies maintained for each replicated data item or resource.
- granularityconfigured by · Granularity is the level of detail or fineness at which information, behavior, or a system is represented, grouped, or divided.
- use statementconfigured by · A USE statement selects a database or namespace as the current context for subsequent operations in a session.
- NetworkTopologyStrategyconfigured by · NetworkTopologyStrategy is a database replication strategy that places replicas according to datacenter and rack topology, with configurable replication factors by datacenter.
- CQL shellused by · The CQL shell is an interactive command-line client for connecting to Cassandra-compatible databases and executing Cassandra Query Language statements.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

