Note
This parameter is available starting with V2.2.77.
Description
tcp_keepintvl specifies the interval between two consecutive keepalive probes after the keepalive mechanism is enabled for a client connection.
Privilege requirements
Query the parameter
You can query this parameter in the
systenant and all user tenants 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 | 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 interval between two consecutive keepalive probes after the keepalive mechanism is enabled for a client connection to 7200s.
obclient> ALTER SYSTEM SET tcp_keepintvl = '6s';
