Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDz0L-0002m8-1i for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Dec 2016 19:32:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cDz0K-0000ev-0q for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Dec 2016 19:32:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cDz0J-0000ef-FC for pgsql-hackers@postgresql.org; Mon, 05 Dec 2016 19:32:47 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cDz0G-0003vQ-I0 for pgsql-hackers@postgresql.org; Mon, 05 Dec 2016 19:32:46 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id uB5JWee1025857; Mon, 5 Dec 2016 14:32:40 -0500 From: Tom Lane To: Robert Haas cc: PostgreSQL mailing lists Subject: Re: [COMMITTERS] pgsql: Introduce dynamic shared memory areas. In-reply-to: References: <18166.1480955837@sss.pgh.pa.us> <20995.1480959676@sss.pgh.pa.us> <22261.1480961338@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Mon, 05 Dec 2016 14:06:29 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25855.1480966360.1@sss.pgh.pa.us> Date: Mon, 05 Dec 2016 14:32:40 -0500 Message-ID: <25856.1480966360@sss.pgh.pa.us> X-Pg-Spam-Score: -4.9 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Robert Haas writes: > On Mon, Dec 5, 2016 at 1:08 PM, Tom Lane 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