pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Introduce dynamic shared memory areas.
Date: Mon, 05 Dec 2016 14:32:40 -0500
Message-ID: <25856.1480966360@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoYORfcZcTehFuV2VBz9AYN0=P7g15GwcDQaHwf9QLqiYA@mail.gmail.com>
References: <E1cCrkl-0000JT-16@gemulon.postgresql.org>
	<CAB7nPqSAYdAfMAx0F+r1Z6quebc4SJDaK4uiJW9cpxnDizc8Lg@mail.gmail.com>
	<18166.1480955837@sss.pgh.pa.us>
	<CA+TgmoZHwG631X7PT8pkv3HPtq3-oS=Xux2Y4rDBZ90e4sj5eQ@mail.gmail.com>
	<20995.1480959676@sss.pgh.pa.us>
	<CA+Tgmoa0v79BRuEFqa6LnCvrEgksS=ofAdmLPXcTrfwNNxXevA@mail.gmail.com>
	<22261.1480961338@sss.pgh.pa.us>
	<CA+TgmoYORfcZcTehFuV2VBz9AYN0=P7g15GwcDQaHwf9QLqiYA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Dec 5, 2016 at 1:08 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Also, given that the idea of
>> DSA seems to be to support a number of different use-cases, I'm not
>> sure that it's useful to have a knob that limits the total consumption
>> rather than individual areas.  IOW: who exactly is going to call
>> dsa_set_size_limit, and on what grounds would they compute the limit?

> The code that creates the DSA is going to call it.

Ah, I misunderstood: from the name of the field and the way you'd
described it, I thought it was a limit on the total space used across
all DSAs.  A per-DSA limit does make sense.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (14+ messages)  latest in thread

Message-ID: <25856.1480966360@sss.pgh.pa.us>
Permalink:  ../25856.1480966360@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25856.1480966360@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 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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Introduce dynamic shared memory areas.
  In-Reply-To: <25856.1480966360@sss.pgh.pa.us>
  References: <E1cCrkl-0000JT-16@gemulon.postgresql.org> <CAB7nPqSAYdAfMAx0F+r1Z6quebc4SJDaK4uiJW9cpxnDizc8Lg@mail.gmail.com> <18166.1480955837@sss.pgh.pa.us> <CA+TgmoZHwG631X7PT8pkv3HPtq3-oS=Xux2Y4rDBZ90e4sj5eQ@mail.gmail.com> <20995.1480959676@sss.pgh.pa.us> <CA+Tgmoa0v79BRuEFqa6LnCvrEgksS=ofAdmLPXcTrfwNNxXevA@mail.gmail.com> <22261.1480961338@sss.pgh.pa.us> <CA+TgmoYORfcZcTehFuV2VBz9AYN0=P7g15GwcDQaHwf9QLqiYA@mail.gmail.com> <25856.1480966360@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