Creating a namespace
A namespace is created within a REST catalog and stores its data in a bucket. For the bucket, you can use a parent or existing bucket, or create a new one. To create a namespace:
-
Go to the
Navigation section and select the REST catalogs tab. -
Open the REST catalog where you need to create a namespace.
-
Click
Create namespace. -
In the New namespace window that opens, specify the basic parameters:
- In the Name field, enter the namespace name.
- Optionally, in the Description field, specify the purpose of the namespace.
-
Under Bucket, select where the namespace data will be stored:
-
Parent: Use the bucket of the parent REST catalog. Its name and capacity usage are displayed, e.g.:
bucket-default 66 / 500 GB. -
New: Create a new bucket. Set its parameters:
- In the Name field, specify a name for the bucket.
- In the Maximum size field, select the bucket usage mode:
- Limit: Specify the maximum size and the unit of measurement: GB, TB, or PB.
- Unlimited: Remove the limit on the bucket size.
- In the Storage class field, select a class based on how frequently the data is accessed:
- Standard: For frequently used data.
- Cold: For data that is accessed less frequently.
- Icy: For rarely accessed data.
-
-
Click Create.
You can create nested namespaces to manage tables and views within the REST catalog with greater granularity. To create a nested namespace:
- Open the REST catalog where you need to create a nested namespace.
- Hover over the namespace name and click
to the right of the name. - Specify the parameters for the namespace you are creating and save your changes.
Note
The maximum nesting depth for namespaces in a REST catalog is 32 levels.
Once a namespace has been created, you can modify its settings and configure access to data.