From: Andres Freund <andres@anarazel.de>
To: Kevin Grittner <kgrittn@ymail.com>
Cc: jkoceniak@mediamath.com <jkoceniak@mediamath.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13672: What is the purpose of the temp_buffers setting?
Date: Mon, 12 Oct 2015 15:43:28 +0200
Message-ID: <20151012134328.GA30738@alap3.anarazel.de> (raw)
In-Reply-To: <1111603541.2485705.1444657036683.JavaMail.yahoo@mail.yahoo.com>
References: <20151009234654.328.91105@wrigleys.postgresql.org>
<1111603541.2485705.1444657036683.JavaMail.yahoo@mail.yahoo.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 2015-10-12 13:37:16 +0000, Kevin Grittner wrote:
> Personally, I would tend to think that the cases in which
> increasing this setting would show any improvement would be few and
> far between.
Huh? If it's set to a small value and you write a bit of data all your
changes will more or less directly have to go to the OS. That can be a
massive performance problem, particularly if the workload has some
randomness to it.
I think memory overcommit pretty much "saves" you from every process
using all the temporary memory unless needed. That's not to say it's a
good idea to set it to a large value in all sessions, but it's not
*THAT* bad.
Greetings,
Andres Freund
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: andres@anarazel.de, kgrittn@ymail.com, jkoceniak@mediamath.com
Subject: Re: BUG #13672: What is the purpose of the temp_buffers setting?
In-Reply-To: <20151012134328.GA30738@alap3.anarazel.de>
References: <20151009234654.328.91105@wrigleys.postgresql.org> <1111603541.2485705.1444657036683.JavaMail.yahoo@mail.yahoo.com> <20151012134328.GA30738@alap3.anarazel.de>
* 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