Note
- This view is available starting with V4.4.0 for V4.4.x.
- This view is available starting with V4.3.5 BP2 for V4.3.5.
Purpose
This view displays the information about dynamic partition tables in the current tenant.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| DATABASE_NAME | VARCHAR2(128) | YES | The schema name of the dynamic partition table. |
| TABLE_NAME | VARCHAR2(256) | NO | The name of the dynamic partition table. |
| TABLE_ID | NUMBER(38) | NO | The ID of the dynamic partition table. |
| MAX_HIGH_BOUND_VAL | VARCHAR2(4096) | NO | The maximum upper bound of the range partition. |
| ENABLE | VARCHAR2(16384) | NO | Indicates whether dynamic partition management is enabled. |
| TIME_UNIT | VARCHAR2(16384) | NO | The time_unit parameter of dynamic partition management. |
| PRECREATE_TIME | VARCHAR2(16384) | NO | The precreate_time parameter of dynamic partition management. |
| EXPIRE_TIME | VARCHAR2(16384) | NO | The expire_time parameter of dynamic partition management. |
| TIME_ZONE | VARCHAR2(16384) | NO | The time_zone parameter of dynamic partition management. |
| BIGINT_PRECISION | VARCHAR2(16384) | NO | The bigint_precision parameter of dynamic partition management. |
Sample query
Query the information about a dynamic partition table in the current tenant.
obclient> SELECT * FROM sys.DBA_OB_DYNAMIC_PARTITION_TABLES\G
The query result is as follows:
*************************** 1. row ***************************
DATABASE_NAME: TEST_USER001
TABLE_NAME: TBL2
TABLE_ID: 502075
MAX_HIGH_BOUND_VAL: Timestamp '2025-02-04 21:00:00.000000'
ENABLE: TRUE
TIME_UNIT: HOUR
PRECREATE_TIME: 3HOUR
EXPIRE_TIME: 1DAY
TIME_ZONE: +8:00
BIGINT_PRECISION: NONE
1 row in set