Namespaces in ApsaraDB for Lindorm are used as logical groups that contain tables. Different namespaces can have tables with the same name. Different tenants have different namespaces, and each tenant can only access and manage authorized namespaces. This indicates that different users can only query the table sets within their own namespaces. Lindorm provides the default namespace. If you do not specify a namespace, the system uses the default namespace.

You can use the Java API or Lindorm Shell to create and delete a namespace.

Create a namespace

  1. On the Namespaces page, choose More-->Create Namespace.createnamespace
  2. In the dialog box that appears, enter the namespace name and click OK.name

Delete a namespace

On the Namespaces page, click Delete next to the required namespace to delete the namespace. delectNote: Before you delete a namespace, you must delete all tables in the namespace. Otherwise, the delete operation fails.

Bind a group to a namespace

If you bind a group to a namespace, the tables that are created in this namespace can be automatically associated with the group. For more information, see Manage groups.