PostgreSQL: Enhancements in 7.4: Detect optimal shared_buffers size

  • Shared memory: Used for caching, critical to database performance
  • Pre 7.4: set at 64 (8K) buffers = ~512K (tiny!)
  • Problem: many systems ship with very lower shared memory settings (Solaris, MacOS X...)
  • Test: 1000, 900, 800, 700, 600, 500, 400, 300, 200, 100, 50 buffers
  • Note: production systems should still be tuned!
Prev

Next

Page 21