Manage Capella Columnar Services Databases
- Capella Columnar
- how-to
In a Capella Columnar cluster, a database is the top-level container for organizing related information. You can add or delete databases using the UI or SQL++ for Capella Columnar statements.
Prerequisites
To use the Capella Columnar UI to manage databases, you need one of the following Capella roles:
-
Project Ownerfor the project holding the cluster you’re working with. -
Data Writerfor the project holding the cluster you’re working with.
Create a Database
To create a database:
-
In the Capella UI, select the Columnar tab.
-
Click a cluster name. The workbench opens.
If the Add Data Source dialog opens, click the X icon to close it.
-
At the top of the explorer, click . The Configure New Database dialog opens.
-
Enter a name for your database. The name must start with a letter and contain only upper- and lower-case letters (A-Z, a-z), numbers (0-9), or underscore (_) and dash (-) characters. See Requirements for Identifiers.
-
Click Create Database. Your database appears in the explorer.
You can also use an SQL++ statement to create a database. See CREATE DATABASE Statements.
View Metadata for a Database
Each time you add a database, Capella Columnar records its metadata in the System.Metadata.Database collection.
To view metadata for a database, you query this collection.
See Querying Metadata.
Delete a Database
When you delete a database, Capella Columnar deletes all of the scopes, collections, and other objects in that database.
You cannot delete the system-supplied Default database.
|
-
In the Capella UI, select the Columnar tab.
-
Click a cluster name. The workbench opens.
-
Move your cursor over the name of the database and then choose . The Delete Database dialog opens.
-
To confirm this action, type
deleteand then click Delete.
You can also use an SQL++ statement to delete a database. See DROP Statements.