Skip site navigation (1) Skip section navigation (2)

Re: problems with set_config, work_mem, maintenance_work_mem, and sorting

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jon Nelson <jnelson+pgsql(at)jamponi(dot)net>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: problems with set_config, work_mem, maintenance_work_mem, and sorting
Date: 2012-02-28 19:28:03
Message-ID: 9466.1330457283@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-performance
Jon Nelson <jnelson+pgsql(at)jamponi(dot)net> writes:
> The config shows 128MB for work_mem and 2GB for maintenance_work_mem.
> Why does PostgreSQL /sometimes/ use the globally-configured values and
> sometimes use the values that come from the connection?

You sure those log entries are all from the same process?

			regards, tom lane

In response to

Responses

pgsql-performance by date

Next:From: Jon NelsonDate: 2012-02-28 19:33:33
Subject: Re: problems with set_config, work_mem, maintenance_work_mem, and sorting
Previous:From: Jon NelsonDate: 2012-02-28 19:16:27
Subject: problems with set_config, work_mem, maintenance_work_mem, and sorting

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group