pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jon Nelson <jnelson+pgsql@jamponi.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: problems with set_config, work_mem, maintenance_work_mem, and sorting
Date: Tue, 28 Feb 2012 14:28:03 -0500
Message-ID: <9466.1330457283@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKuK5J22ZTaVrVSPUerPA2_Fe-+udtOFWxSoOjFi9r9=5gyZgw@mail.gmail.com>
References: <CAKuK5J22ZTaVrVSPUerPA2_Fe-+udtOFWxSoOjFi9r9=5gyZgw@mail.gmail.com>

Jon Nelson <jnelson+pgsql@jamponi.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



view thread (11+ messages)  latest in thread

Message-ID: <9466.1330457283@sss.pgh.pa.us>
Permalink:  ../9466.1330457283@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9466.1330457283@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jnelson+pgsql@jamponi.net
  Subject: Re: problems with set_config, work_mem, maintenance_work_mem, and sorting
  In-Reply-To: <9466.1330457283@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox