When creating a Cassandra database, an embedded DataStax Studio instance is automatically configured for interactive CQL commands. Each notebook in DataStax Studio has only one connection, but a connection can serve multiple notebooks.
When using DataStax Studio with a Cassandra database, understand the following limitations:
- Each Cassandra database includes a DataStax Studio instance that works only with that database.
- Because each Cassandra database operates using a single keyspace, you cannot create additional keyspaces using DataStax Studio.
- From the Databases page, under Actions, click the ellipsis (…) for the database you want to connect to and select Connection details.
- Click Launch Developer Studio to open a DataStax Studio instance that is connected to your Cassandra database.
Explore your keyspaces
To view all available keyspaces, run the following command:
View the keyspace that you created for your Cassandra database:
DESCRIBE KEYSPACE my_keyspace;
Switch to your keyspace, which you can use to issue CQL commands to create tables, insert data, and manage database resources:
See Introduction to CQL to learn more about using CQL commands.