4096
pages (32MB with 8KB pages) is reasonable for most applications. For systems with heavy NOTIFY/LISTEN usage, monitor the pg_notification_queue_usage
metric and increase if you see frequent queue full conditions. For minimal usage, you can decrease to conserve shared memory. Balance based on your actual notification patterns and volume.-1
(unlimited) is not recommended for production. Set to a reasonable value based on your available disk space and workload characteristics, such as 10GB
or 50GB
. Consider your largest expected legitimate temporary file usage and set a limit slightly above that. Monitor for queries hitting this limit as they may need optimization.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