Re: Limiting memory allocation

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Oleksii Kliukin <alexk(at)hintbits(dot)com>, Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Jan Wieck <jan(at)wi3ck(dot)info>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Limiting memory allocation
Date: 2022-05-25 02:00:14
Message-ID: Yo2Nrt6cNRINwZsv@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, May 24, 2022 at 09:55:16PM -0400, Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > On Tue, May 24, 2022 at 09:20:43PM -0400, Tom Lane wrote:
> >> Then you just rendered all the planner's estimates fantasies.
>
> > That's what I was asking --- if the planner's estimates are based on the
> > size of work_mem --- I thought you said it is not.
>
> The planner's estimates certainly vary with work_mem ... I was responding
> to something you said that seemed to be asserting they didn't.

I see where I got confused:

> If the plan output is independent of work_mem,
... it isn't ...

Okay, then my idea will not work.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Indecision is a decision. Inaction is an action. Mark Batterson

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2022-05-25 02:07:52 Re: Add --{no-,}bypassrls flags to createuser
Previous Message Tom Lane 2022-05-25 01:55:16 Re: Limiting memory allocation