Re: When Update balloons memory - Mailing list pgsql-general

From Tom Lane
Subject Re: When Update balloons memory
Date
Msg-id 3484560.1638889073@sss.pgh.pa.us
Whole thread Raw
In response to When Update balloons memory  (Klaudie Willis <Klaudie.Willis@protonmail.com>)
Responses Re: When Update balloons memory
List pgsql-general
Klaudie Willis <Klaudie.Willis@protonmail.com> writes:
> The following statement below, when not divided up into chunks, but run across all 800M rows, did trigger an OOM-kill
fromthe OS. 

An UPDATE should only result in memory bloat if it's queuing trigger
events to be processed at end-of-statement.  You claim there are
no triggers, but are you sure? (what about foreign keys?)

Otherwise, it seems possible that you've identified a memory leak,
but there's not enough detail here to investigate.  Can you create
a reproducible test case?

            regards, tom lane



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: how to get value of parameter set in session for other user
Next
From: "Zwettler Markus (OIZ)"
Date:
Subject: error connecting to pgbouncer admin console