does max_connections affect the query planner

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

We are trying to diagnose why postgres might be making poor decisions
regarding query plans.  One theory is that it does not assume it has
the memory suggested in effective_cache_size.

We do know that max_connections is set quite high (600) when we don't
really expect more than 100.  I wonder does the planner take
max_connections x work_mem into account when considering the memory it
has potentially available?

Regards
Bob





[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux