Note
This view is available starting with V4.0.0.
Purpose
The GV$OB_PS_ITEM_INFO view provides monitoring capabilities for prepared statements and contains basic information about all prepared statements in the PS Cache.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The tenant ID. |
| SVR_IP | varchar(46) | NO | The IP address of the server. |
| SVR_PORT | bigint(20) | NO | The port number of the server. |
| STMT_ID | bigint(20) | NO | The stmt_id information of the corresponding statement in the PS Cache. |
| DB_ID | bigint(20) | NO | The database ID involved in the prepare statement. |
| PS_SQL | longtext | NO | The SQL information of the prepare statement. |
| PARAM_COUNT | bigint(20) | NO | The number of parameters in the prepare statement. |
| STMT_ITEM_REF_COUNT | bigint(20) | NO | The reference count of stmt_item. |
| STMT_INFO_REF_COUNT | bigint(20) | NO | The reference count of stmt_info. |
| MEM_HOLD | bigint(20) | NO | The memory size occupied by the prepare statement. |
| STMT_TYPE | bigint(20) | NO | The type information of the prepare statement. |
| CHECKSUM | bigint(20) | NO | The checksum of the prepare statement. |
| EXPIRED | tinyint(4) | NO | Indicates whether the prepare statement has expired. |