oceanbase.CDB_OB_DATABASES

2023-12-08 07:13:36  Updated

Purpose

The oceanbase.CDB_OB_DATABASES view displays the database metadata of all tenants in the sys tenant.

Note

This view is introduced since OceanBase Database V4.0.0.

Columns

Column Type Nullable? Description
TENANT_ID bigint(20) NO The ID of the tenant.
DATABASE_NAME varchar(128) NO The name of the database.
IN_RECYCLEBIN varchar(3) NO Indicates whether the database has been dropped and is in the recycle bin. Valid values:
  • YES
  • NO
  • COLLATION varchar(128) NO The default collation of the database.
    READ_ONLY varchar(3) NO
  • YES: The database is read-only.
  • NO: The database supports reads and writes.
  • COMMENT varchar(2048) NO The description of the database.

    Contact Us