Note
This parameter is available starting with V2.2.77.
Description
tcp_keepintvl specifies the time interval between two consecutive keepalive probes for a client connection.
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 |
|---|---|
| Parameter type | Time |
| Default value | 6s |
| 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 time interval between two consecutive keepalive probes for a client connection to 7200s.
obclient> ALTER SYSTEM SET tcp_keepintvl = '6s';