Note
For V2.2.50, this parameter is available starting with V2.2.50.
Description
dead_socket_detection_timeout specifies the interval for detecting a dead socket.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Time |
| Default value | 3s
NoteFor V4.0.0, the default value of this parameter is changed from 10s to 3s. |
| Value range | [0s, 2h] |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
If the value of
dead_socket_detection_timeoutis 0, socket-level fault detection is disabled.If the value of
dead_socket_detection_timeoutis greater than 0, socket-level fault detection is enabled. If the sending end does not receive a response from the receiving end within the specified time, the current socket is considered unavailable.
Examples
Set the interval for detecting a dead socket to 3s.
obclient> ALTER SYSTEM SET dead_socket_detection_timeout= 3s;
