Overview
dead_socket_detection_timeout specifies the interval for detecting invalid sockets.
Privilege requirements
Query parameters
The
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Time |
| Default Value | 3s |
| Value range | [0s, 2h] |
| Modifiable | Yes, you can use the following methods:ALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Usage instructions
When the value of
dead_socket_detection_timeoutis 0, socket-level fault detection is disabled.When the value of
dead_socket_detection_timeoutis greater than 0, socket-level fault detection is enabled. If the sender fails to receive a response from the receiver within the set time for sending data, the current socket is considered unavailable.
Configuration example
Set the time interval for detecting invalid sockets to 3 seconds.
obclient> ALTER SYSTEM SET dead_socket_detection_timeout= 3s;