1000
is reasonable for most standard workloads. For databases with many tables, indexes, or complex queries that access multiple relations, increase to 2000-4000
. The value should be set slightly lower than your system's ulimit -n
setting for the postgres user. Always ensure your system's global file descriptor limits are higher than this parameter. Monitor open file usage during peak operations to determine optimal settings for your specific workload.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