Purpose
The oceanbase.CDB_TABLES view provides information about tables in all tenants.
Note
This view is introduced since OceanBase Database V4.0.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| CON_ID | bigint(20) | NO | The tenant ID. |
| OWNER | varchar(128) | NO | The owner of the table. |
| TABLE_NAME | varchar(128) | NO | The table name. |
| TABLESPACE_NAME | varchar(30) | NO | The name of the tablespace containing the table. |
| CLUSTER_NAME | varchar(128) | NO | This column is currently not supported and defaults to NULL. |
| IOT_NAME | varchar(128) | NO | This column is currently not supported and defaults to NULL. |
| STATUS | varchar(8) | NO | The table status: |
| PCT_FREE | bigint(20) | NO | The minimum percentage of free space in a block. |
| PCT_USED | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| INI_TRANS | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| MAX_TRANS | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| INITIAL_EXTENT | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| NEXT_EXTENT | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| MIN_EXTENTS | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| MAX_EXTENTS | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| PCT_INCREASE | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| FREELISTS | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| FREELIST_GROUPS | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| LOGGING | varchar(3) | NO | This column is currently not supported and defaults to NULL. |
| BACKED_UP | varchar(1) | NO | This column is currently not supported and defaults to NULL. |
| NUM_ROWS | bigint(21) | NO | The number of rows in the table. |
| BLOCKS | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| EMPTY_BLOCKS | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| AVG_SPACE | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| CHAIN_CNT | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| AVG_ROW_LEN | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| AVG_SPACE_FREELIST_BLOCKS | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| NUM_FREELIST_BLOCKS | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| DEGREE | varchar(10) | NO | This column is currently not supported and defaults to NULL. |
| INSTANCES | varchar(10) | NO | This column is currently not supported and defaults to NULL. |
| CACHE | varchar(5) | NO | This column is currently not supported and defaults to NULL. |
| TABLE_LOCK | varchar(8) | NO | This column is currently not supported and defaults to NULL. |
| SAMPLE_SIZE | bigint(0) | NO | This column is currently not supported and defaults to NULL. |
| LAST_ANALYZED | date | NO | This column is currently not supported and defaults to NULL. |
| PARTITIONED | varchar(3) | NO | Indicates whether the table is partitioned: |
| IOT_TYPE | varchar(12) | NO | This column is currently not supported and defaults to NULL. |
| TEMPORARY | varchar(1) | NO | Indicates whether the table is temporary. |
| SECONDARY | varchar(1) | NO | This column is currently not supported and defaults to NULL. |
| NESTED | varchar(3) | NO | Indicates whether the table is nested: |
| BUFFER_POOL | varchar(7) | NO | This column is currently not supported and defaults to NULL. |
| FLASH_CACHE | varchar(7) | NO | This column is currently not supported and defaults to NULL. |
| CELL_FLASH_CACHE | varchar(7) | NO | This column is currently not supported and defaults to NULL. |
| ROW_MOVEMENT | varchar(8) | NO | This column is currently not supported and defaults to NULL. |
| GLOBAL_STATS | varchar(3) | NO | This column is currently not supported and defaults to NULL. |
| USER_STATS | varchar(3) | NO | This column is currently not supported and defaults to NULL. |
| DURATION | varchar(15) | NO | Indicates the duration of a temporary table. |
| SKIP_CORRUPT | varchar(8) | NO | This column is currently not supported and defaults to NULL. |
| MONITORING | varchar(3) | NO | This column is currently not supported and defaults to NULL. |
| CLUSTER_OWNER | varchar(128) | NO | This column is currently not supported and defaults to NULL. |
| DEPENDENCIES | varchar(8) | NO | This column is currently not supported and defaults to NULL. |
| COMPRESSION | varchar(8) | NO | This column is currently not supported and defaults to NULL. |
| COMPRESS_FOR | varchar(30) | NO | This column is currently not supported and defaults to NULL. |
| DROPPED | varchar(3) | NO | Indicates whether the table is in the recycle bin. |
| READ_ONLY | varchar(3) | NO | This column is currently not supported and defaults to NULL. |
| SEGMENT_CREATED | varchar(3) | NO | This column is currently not supported and defaults to NULL. |
| RESULT_CACHE | varchar(7) | NO | This column is currently not supported and defaults to NULL. |
| CLUSTERING | varchar(3) | NO | This column currently defaults to NULL. |
| ACTIVITY_TRACKING | varchar(23) | NO | This column currently defaults to NULL. |
| DML_TIMESTAMP | varchar(25) | NO | This column currently defaults to NULL. |
| HAS_IDENTITY | varchar(3) | NO | This column currently defaults to NULL. |
| CONTAINER_DATA | varchar(3) | NO | This column currently defaults to NULL. |
| INMEMORY | varchar(8) | NO | This column currently defaults to NULL. |
| INMEMORY_PRIORITY | varchar(8) | NO | This column currently defaults to NULL. |
| INMEMORY_DISTRIBUTE | varchar(15) | NO | This column is currently not supported and defaults to NULL. |
| INMEMORY_COMPRESSION | varchar(17) | NO | This column currently defaults to NULL. |
| INMEMORY_DUPLICATE | varchar(13) | NO | This column currently defaults to NULL. |
| DEFAULT_COLLATION | varchar(100) | NO | This column currently defaults to NULL. |
| DUPLICATED | varchar(1) | NO | Indicates whether this column currently defaults to NULL. |
| SHARDED | varchar(1) | NO | This column currently defaults to NULL. |
| EXTERNALLY_SHARDED | varchar(1) | NO | This column currently defaults to NULL. |
| EXTERNALLY_DUPLICATED | varchar(1) | NO | This column currently defaults to NULL. |
| EXTERNAL | varchar(3) | NO | Indicates whether the table is external: |
| HYBRID | varchar(3) | NO | This column currently defaults to NULL. |
| CELLMEMORY | varchar(24) | NO | This column is currently not supported and defaults to NULL. |
| CONTAINERS_DEFAULT | varchar(3) | NO | This column currently defaults to NULL. |
| CONTAINER_MAP | varchar(3) | NO | This column currently defaults to NULL. |
| EXTENDED_DATA_LINK | varchar(3) | NO | This column currently defaults to NULL. |
| EXTENDED_DATA_LINK_MAP | varchar(3) | NO | This column currently defaults to NULL. |
| INMEMORY_SERVICE | varchar(12) | NO | This column currently defaults to NULL. |
| INMEMORY_SERVICE_NAME | varchar(1000) | NO | This column currently defaults to NULL. |
| CONTAINER_MAP_OBJECT | varchar(3) | NO | This column currently defaults to NULL. |
| MEMOPTIMIZE_READ | varchar(8) | NO | This column currently defaults to NULL. |
| MEMOPTIMIZE_WRITE | varchar(8) | NO | This column currently defaults to NULL. |
| HAS_SENSITIVE_COLUMN | varchar(3) | NO | This column currently defaults to NULL. |
| ADMIT_NULL | varchar(3) | NO | This column currently defaults to NULL. |
| DATA_LINK_DML_ENABLED | varchar(3) | NO | This column currently defaults to NULL. |
| LOGICAL_REPLICATION | varchar(8) | NO | This column currently defaults to NULL. |