Note
This view was introduced in V4.3.4 and applies to the OBKV-Table client.
Purpose
In a MySQL tenant, the V$OB_KV_CLIENT_INFO view can be used to query the configuration parameters of the OBKV client connected to the current node.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| client_id | bigint | NO | Client ID |
| client_ip | varchar:MAX_IP_ADDR_LENGTH | NO | Client IP address |
| client_port | bigint | NO | Client port |
| svr_ip | varchar:MAX_IP_ADDR_LENGTH | NO | IP address of the server where the client is located |
| svr_port | bigint | NO | Port of the server where the client is located |
| tenant_id | bigint | NO | Tenant ID |
| user_name | varchar::OB_MAX_USER_NAME_LENGTH | NO | Username |
| first_login_ts | timestamp(6) | NO | First login time |
| last_login_ts | timestamp(6) | NO | Last login time |
| client_info | varchar:2048 | NO | Client information in JSON format |
The client_info field contains a JSON string in the following format:
{
"client_id": 242153145,
"runtime": {
"rpc.execute.timeout": "3000",
"rpc.operation.timeout": "10000",
"runtime.max.wait": "3000",
"runtime.retry.interval": "1",
"runtime.retry.times": "1",
"connection.max.expired.time": "8"
},
"log": {
"slow.query.monitor.threshold": "10"
},
"route": {
"metadata.refresh.interval": "60000",
"continuous.failure.ceiling": "100",
"server.address.caching.timeout": "3600000",
"server.address.priority.timeout": "1800000",
"table.entry.acquire.connect.timeout": "500",
"table.entry.acquire.socket.timeout": "3000",
"table.entry.refresh.interval.base": "100",
"table.entry.refresh.interval.ceiling": "1600",
"table.entry.refresh.try.times": "3"
},
"thread_pool": {
"runtime.batch.executor": "false"
}
}
The parameters in the JSON fields are described as follows:
| Column | Default value | Description |
|---|---|---|
| metadata.refresh.interval | 60000 | Time interval for refreshing METADATA. |
| rpc.execute.timeout | 3000 | Socket timeout for executing an RPC request. |
| rpc.operation.timeout | 10000 | Timeout for OceanBase to execute an RPC request. |
| runtime.continuous.failure.ceiling | 100 | Maximum number of consecutive failures. |
| runtime.max.wait | 3000 | Maximum time for retrying an operation that times out. |
| runtime.retry.interval | 1 | Time interval for retrying an operation when it fails. |
| runtime.retry.times | 1 | Maximum number of retries when an operation fails. |
| server.address.caching.timeout | 3600000L | Time-to-live (TTL) value for caching the server address. |
| server.address.priority.timeout | 1800000L | TTL value for caching the server address priority. |
| slow.query.monitor.threshold | 10 | Threshold for slow operations recorded in the MONITOR log. |
| table.entry.acquire.connect.timeout | 500 | Timeout for creating a connection when refreshing the table address. |
| table.entry.acquire.socket.timeout | 3000 | Timeout for refreshing the table address. |
| table.entry.refresh.interval.base | 100 | Base time interval for refreshing the table address. |
| table.entry.refresh.interval.ceiling | 1600 | Maximum time interval for refreshing the table address. |
| table.entry.refresh.try.times | 3 | Number of attempts to refresh the table address. |
| runtime.batch.executor | false | Concurrent thread pool for processing batch requests. |
| connection.max.expired.time | 8s | Maximum time interval for refreshing the client connection. |