Purpose
The oceanbase.DBA_OB_DATABASES view displays the database metadata of a tenant.
Note
This view is introduced since OceanBase Database V4.0.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| 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.YESNO |
| 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. |