Manage Scopes and Collections
- Capella Operational
- how-to
Create, view, and delete scopes and collections to categorize and organize documents within a bucket in a Capella operational cluster.
Scopes and collections categorize and organize documents within a bucket. A collection is a data container within a bucket. A scope is a mechanism that groups multiple collections. Each cluster can hold up to 1000 scopes and up to 1000 collections. For a complete overview, see Buckets, Scopes, and Collections.
Prerequisites
To create, modify, or delete scopes and collections in a cluster, you need:
-
The
Project OwnerorCluster Managerrole for your cluster’s project. If you have theOrganization Ownerrole, you haveProject Owneraccess.
Create a Scope or Collection
-
In the navigation breadcrumbs in the Capella UI, do 1 of the following:
-
Click your organization name and go to Operational.
-
Click your current project name or search for a project and go to Operational.
-
Expand the cluster breadcrumb and search for a cluster.
-
-
Select your cluster.
-
Go to Data Tools.
-
In the side pane, expand Data to open the Data Insights area.
-
Choose between creating a Scope or a Collection:
-
Scope
-
Collection
-
In the Data Insights area, find the bucket where you want to create a scope.
-
Next to the bucket name where you want to create a scope, go to .
-
In the Scope Name field, enter a scope name.
A scope name can only contain the
A-Z,a-z, and0-9characters as well as the-,_, and%symbols. It cannot start with either the_or%symbols. It cannot be longer than 251 characters in length and is case-sensitive. -
Click Create Scope.
-
In the Data Insights area, find the bucket and scope where you want to create a collection.
-
Next to the scope name where you want to create a collection, go to .
-
In the Collection Name field, enter a collection name.
A collection name can only contain the
A-Z,a-z, and0-9characters as well as the-,_, and%symbols. It cannot start with either the_or%symbols. It cannot be longer than 251 characters in length and is case-sensitive. -
In the TTL field, enter an expiration time in seconds for the new collection. By default, the TTL for collections is
0, meaning it uses its bucket’s TTL value. To prevent the bucket’s TTL from setting a default expiration for your collection’s documents, set the TTL value to-1.For information about collection expiration, see Expiration.
-
Click Create Collection.
-
View Scopes and Collections
-
In the navigation breadcrumbs in the Capella UI, do 1 of the following:
-
Click your organization name and go to Operational.
-
Click your current project name or search for a project and go to Operational.
-
Expand the cluster breadcrumb and search for a cluster.
-
-
Select your cluster.
-
Go to Data Tools.
-
In the side pane, expand Data to open the Data Insights area.
-
In the Data Insights area, explore the tree structure to view your buckets, scopes and collections.
Delete a Scope or Collection
|
-
In the navigation breadcrumbs in the Capella UI, do 1 of the following:
-
Click your organization name and go to Operational.
-
Click your current project name or search for a project and go to Operational.
-
Expand the cluster breadcrumb and search for a cluster.
-
-
Select your cluster.
-
Go to Data Tools.
-
In the side pane, expand Data to open the Data Insights area.
-
Choose between deleting a Scope or a Collection:
-
Scope
-
Collection
-
In the Data Insights area, find the bucket where you want to delete a scope.
-
Next to the scope name you want to delete, go to .
-
Confirm that you want to delete the scope and click Delete.
-
In the Data Insights area, find the bucket and scope where you want to delete a collection.
-
Next to the collection name you want to delete, go to .
-
Confirm that you want to delete the collection and click Delete.
-