All Products
Search
Document Center

PURGE TENANT

Last Updated: Jun 18, 2021

Description

You can use this statement to purge tenants in the recycle bin.

Notice

This statement is available to the system tenant only.

Syntax

PURGE TENANT tenant_name;

Parameters

Parameter

Description

tenant_name

Specifies the name of the tenant. You can use the original name of the tenant before it is dropped to the recycle bin or the name of the tenant in the recycle bin. The name of the tenant in the recycle bin is unique and can identify the tenant. The original name of the tenant may be repeated. If you use the original name of the tenant, the tenant entered the recycle bin at the earliest time is purged.

Example

  • Purge the mysql tenant from the recycle bin.

obclient>show recyclebin;