On 2013-10-09 10:30:46 -0400, Bruce Momjian wrote:
> Josh Berkus suggested here that work_mem and maintenance_work_mem could
> be auto-tuned like effective_cache_size:
>
> http://www.postgresql.org/message-id/50ECCF93.3060101@agliodbs.com
>
> The attached patch implements this, closely matching the default values
> for the default shared_buffers value:
There imo is no correlation between correct values for shared_buffers
and work_mem at all. They really are much more workload dependant than
anything.
Greetings,
Andres Freund
-- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services