on
is recommended for most environments. The performance improvement is usually significant with minimal overhead. Only disable if you experience issues with prefetching behavior or for troubleshooting recovery problems. Ensure adequate I/O bandwidth is available to handle the additional prefetch requests.512KB
is conservative. For faster recovery, increase to 2-4MB
for most systems. For very large databases with high WAL volume, consider 8-16MB
. Monitor recovery performance and adjust based on your specific workload characteristics. The optimal value depends on your WAL generation rate and I/O subsystem performance.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