Communication Library Parameters
This section describes parameter settings and value ranges for communication libraries.
comm_no_delay
Parameter description: Specifies whether to use the NO_DELAY attribute of the communication library connection. Restart the cluster for the setting to take effect.
Type: USERSET
Value range: Boolean
Default value: off
If packet loss occurs because a large number of packets are received per second, set this parameter to off to reduce the total number of packets.
comm_debug_mode
Parameter description: Specifies the debug mode of the TCP proxy communication library or SCTP communication library, that is, whether to print logs about the communication layer.
When the switch is set to on, the number of printed logs is huge, adding extra overhead and reducing database performance. Therefore, set the switch to on only in the debug mode.
Type: USERSET
Value range: Boolean
- on indicates the detailed debug log of the communication library is printed.
- off indicates the detailed debug log of the communication library is not printed.
Default value: off
comm_ackchk_time
Parameter description: Specifies the duration after which the communication library server automatically triggers ACK when no data package is received.
Type: USERSET
Value range: an integer ranging from 0 to 20000. The unit is millisecond (ms). 0 indicates that automatic ACK triggering is disabled.
Default value: 2000
comm_timer_mode
Parameter description: Specifies the timer mode of the TCP proxy communication library or SCTP communication library, that is, whether to print timer logs in each phase of the communication layer.
When the switch is set to on, the number of printed logs is huge, adding extra overhead and reducing database performance. Therefore, set the switch to on only in the debug mode.
Type: USERSET
Value range: Boolean
- on indicates the detailed timer log of the communication library is printed.
- off indicates the detailed timer log of the communication library is not printed.
Default value: off
comm_stat_mode
Parameter description: Specifies the statistics mode of the TCP proxy communication library or SCTP communication library, that is, whether to print statistics about the communication layer.
When the switch is set to on, the number of printed logs is huge, adding extra overhead and reducing database performance. Therefore, set the switch to on only in the debug mode.
Type: USERSET
Value range: Boolean
- on indicates the statistics log of the communication library is printed.
- off indicates the statistics log of the communication library is not printed.
Default value: off
Last Article: Security and Authentication (postgresql.conf)
Next Article: Resource Consumption
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.