Note
This view is introduced since OceanBase Database V4.0.0.
Purpose
The V$OB_PS_ITEM_INFO view displays the monitoring information about prepared statements, including the basic information about all prepared statements in the PS cache.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The ID of the tenant. |
| 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 ID of the corresponding statement in the PS cache. |
| DB_ID | bigint(20) | NO | The database ID in the prepared statement. |
| PS_SQL | longtext | NO | The SQL information about the prepared statement. |
| PARAM_COUNT | bigint(20) | NO | The number of parameters in the prepared 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 size of memory occupied by the prepared statement. |
| STMT_TYPE | bigint(20) | NO | The type of the prepared statement. |
| CHECKSUM | bigint(20) | NO | The checksum of the prepared statement. |
| EXPIRED | tinyint(4) | NO | Indicates whether the prepared statement is expired. |