Re: Postgresql OOM - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Postgresql OOM
Date
Msg-id 20240607170419.ov2mxw7vtjlal7mf@awork3.anarazel.de
Whole thread Raw
In response to Re: Postgresql OOM  (Pantelis Theodosiou <ypercube@gmail.com>)
List pgsql-hackers
Hi,

On 2024-06-06 13:58:24 +0100, Pantelis Theodosiou wrote:
> I am not qualified to answer on the OOM issue but why are you joining the
> same table (outputrequest) 4 times (using an identical join condition)?

The conditions aren't actually the same
    rpl_rec_tro.      input_sequence = r.input_sequence
    rpl_snd_tro.reply_input_sequence = r.input_sequence
    snd_tro.    reply_input_sequence = t.input_sequence

First two are r.input_sequence to different columns, the third one also uses
reply_input_sequence but joins to t, not r.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Postgresql OOM
Next
From: Jacob Champion
Date:
Subject: Re: Re: Add support to TLS 1.3 cipher suites and curves lists