Note
This parameter is available starting with V2.2.77.
Description
tcp_keepidle specifies the threshold for triggering keepalive probes for a TCP connection in an idle state.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Parameter type | Time |
| Default value | 7200s |
| Value range | [1s,+∞) |
| 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. |
Examples
Set the threshold for triggering keepalive probes for a TCP connection in an idle state to 7200s.
obclient> ALTER SYSTEM SET tcp_keepidle = '7200s';