| From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
|---|---|
| To: | Bruce Momjian <bruce(at)momjian(dot)us> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>, Josh Berkus <josh(at)agliodbs(dot)com> |
| Subject: | Re: Auto-tuning work_mem and maintenance_work_mem |
| Date: | 2013-10-09 14:32:44 |
| Message-ID: | 20131009143244.GA3825719@alap2.anarazel.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2013-10-09 14:35:28 | Re: Auto-tuning work_mem and maintenance_work_mem |
| Previous Message | Bruce Momjian | 2013-10-09 14:30:46 | Auto-tuning work_mem and maintenance_work_mem |