0
(disabled) is not recommended for production. Set to 30 seconds
or lower for most environments. For systems with unstable networks or high connection churn, consider 10-15 seconds
. Balance between rapid detection and avoiding excessive overhead from frequent checks.0
(use system default, typically 5-9). Set to 5
for most environments. Increase to 8-10
for networks with occasional packet loss, but avoid very high values that might keep dead connections alive too long.0
(use system default, often 2 hours). Set to 300 seconds
(5 minutes) for most production environments. For applications with strict resource constraints, consider 60-120 seconds
. Adjust based on your network stability and application requirements.0
(use system default, typically 75 seconds). Set to 75 seconds
for balanced behavior. For critical systems requiring fast failure detection, use 30-60 seconds
. In high-latency networks, you might need longer intervals.0
(use system default). Set to 30000 milliseconds
(30 seconds) for most environments. For applications requiring aggressive timeout handling, use 10000-15000ms
. In high-latency WAN environments, you might need higher values. Always test timeout behavior to ensure it matches your application's recovery capabilities.Start your journey toward a healthier PostgreSQL with pghealth.
You can explore all features immediately with a free trial β no installation required.
π Start Free Trial