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>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Death postgres
Date: Sat, 6 May 2023 09:11:25 -0700
Message-ID: <00921f8b-b3a1-b67b-c15d-29c0aaef3a7d@aklaver.com> (raw)
In-Reply-To: <CADX_1aY1KtOYZaOB8F4KdHgDh7E1bbMkmNciOHc8xt2Y3=hYWg@mail.gmail.com>
References: <CADX_1aa=7vXKhsiHQA97yT1+WBcKM4PSfzvxrszC7xqnujZVVQ@mail.gmail.com>
	<d5b62160-c61d-8b93-2ac2-e720b0ffc3e7@aklaver.com>
	<CADX_1aY1KtOYZaOB8F4KdHgDh7E1bbMkmNciOHc8xt2Y3=hYWg@mail.gmail.com>

On 5/6/23 05:25, Marc Millas wrote:
> 
> 
> Le sam. 6 mai 2023 à 06:18, Adrian Klaver <adrian.klaver@aklaver.com 
> <mailto:adrian.klaver@aklaver.com>> a écrit :
> 
>     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.
>     Sure!
> 
> But. One of the table looks "inaccessible" since.
> Ie. Even explain select * from the_table didnt answer and must be killed 
> by control c

When you restarted the server where there any warnings shown?

Using psql can you \d <the_table>?

Can you select from any other table in the database?





-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (26+ messages)  latest in thread

Message-ID: <00921f8b-b3a1-b67b-c15d-29c0aaef3a7d@aklaver.com>
Permalink:  ../00921f8b-b3a1-b67b-c15d-29c0aaef3a7d@aklaver.com/
Also on:    postgresql.org/message-id/00921f8b-b3a1-b67b-c15d-29c0aaef3a7d@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: <00921f8b-b3a1-b67b-c15d-29c0aaef3a7d@aklaver.com>
  References: <CADX_1aa=7vXKhsiHQA97yT1+WBcKM4PSfzvxrszC7xqnujZVVQ@mail.gmail.com> <d5b62160-c61d-8b93-2ac2-e720b0ffc3e7@aklaver.com> <CADX_1aY1KtOYZaOB8F4KdHgDh7E1bbMkmNciOHc8xt2Y3=hYWg@mail.gmail.com> <00921f8b-b3a1-b67b-c15d-29c0aaef3a7d@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