In Lindorm, a namespace is a logical group of tables. Tables in different namespaces can have the same name. Lindorm provides a default namespace named default. If you do not specify a namespace, the default namespace is used. This topic describes how to manage namespaces using the cluster management system.
Prerequisites
You are logged on to the cluster management system of the target instance. For more information, see Log on to the cluster management system.
Create a namespace
-
In the left-side navigation pane, choose . The page displays all namespaces in the current instance.
-
On the right side of the page, click + Add.
-
In the Add namespace dialog box, enter a name for the namespace.
NoteA namespace name can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).
-
Click Determine.
Delete a namespace
Before you delete a namespace, you must delete all tables in it. Otherwise, the deletion fails.
-
In the left-side navigation pane, choose .
-
Find the namespace that you want to delete and click Delete in the Operation column.
-
Click Determine.
Bind a namespace to a group
You can bind a namespace to the default group or a custom group. For more information about how to create a group, see Manage group nodes.
Do not bind a namespace to a group that has no servers. This makes tables in the namespace inaccessible.
-
In the left-side navigation pane, choose
-
Find the namespace that you want to manage and click Bind group in the Operation column.
-
In the Bind group dialog box, select a Target group.
-
Click Determine.