pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Marc Millas <marc.millas@mokadb.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Death postgres
Date: Fri, 5 May 2023 21:17:58 -0700
Message-ID: <d5b62160-c61d-8b93-2ac2-e720b0ffc3e7@aklaver.com> (raw)
In-Reply-To: <CADX_1aa=7vXKhsiHQA97yT1+WBcKM4PSfzvxrszC7xqnujZVVQ@mail.gmail.com>
References: <CADX_1aa=7vXKhsiHQA97yT1+WBcKM4PSfzvxrszC7xqnujZVVQ@mail.gmail.com>

On 5/5/23 18:14, Marc Millas wrote:
> Hi,
> 
> postgres 14.2 on Linux redhat
> 
> temp_file_limit set around 210 GB.
> 
> a select request with 2 left join have crashed the server (oom killer) 
> after the postgres disk occupation did grow from 15TB to 16 TB.

The result of EXPLAIN <the query> would be helpful.

> 
> What are the cases where postgres may grow without caring about 
> temp_file_limit ?
> 
> thanks,
> 
> 
> 
> 
> Marc MILLAS
> Senior Architect
> +33607850334
> www.mokadb.com <http://www.mokadb.com;
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (26+ messages)  latest in thread

Message-ID: <d5b62160-c61d-8b93-2ac2-e720b0ffc3e7@aklaver.com>
Permalink:  ../d5b62160-c61d-8b93-2ac2-e720b0ffc3e7@aklaver.com/
Also on:    postgresql.org/message-id/d5b62160-c61d-8b93-2ac2-e720b0ffc3e7@aklaver.com

 · 

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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, marc.millas@mokadb.com
  Subject: Re: Death postgres
  In-Reply-To: <d5b62160-c61d-8b93-2ac2-e720b0ffc3e7@aklaver.com>
  References: <CADX_1aa=7vXKhsiHQA97yT1+WBcKM4PSfzvxrszC7xqnujZVVQ@mail.gmail.com> <d5b62160-c61d-8b93-2ac2-e720b0ffc3e7@aklaver.com>

* 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