Access data using CQL
Common ways to access data using CQL are:
-
CQL shell (cqlsh): A Python-based command line shell to access the database and issue CQL (Cassandra Query Language) commands
In a production database, executing statements programmatically (with a driver) is more practical than using
cqlsh
, butcqlsh
can be a convenient way to test statements in development. -
DataStax-compatible drivers: The primary resource for application developers to connect to database clusters programmatically
Schema changes, which involve CREATE, ALTER, and DROP statements, are not safe for concurrent use. Performing more than one change in flight has a high probability of causing irreconcilable conflicts, with nodes in the cluster using different schema "versions" indefinitely. |