Manage namespaces

更新时间:
复制 MD 格式

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

  1. In the left-side navigation pane, choose Data Management > Namespace Manager. The page displays all namespaces in the current instance.

  2. On the right side of the page, click + Add.

  3. In the Add namespace dialog box, enter a name for the namespace.

    Note

    A namespace name can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).

  4. Click Determine.

Delete a namespace

Important

Before you delete a namespace, you must delete all tables in it. Otherwise, the deletion fails.

  1. In the left-side navigation pane, choose Data Management > Namespace Manager.

  2. Find the namespace that you want to delete and click Delete in the Operation column.

  3. 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.

Warning

Do not bind a namespace to a group that has no servers. This makes tables in the namespace inaccessible.

  1. In the left-side navigation pane, choose Data Management > Namespace Manager

  2. Find the namespace that you want to manage and click Bind group in the Operation column.

  3. In the Bind group dialog box, select a Target group.

  4. Click Determine.