From: ChatPristi <cchristo_0899@yahoo.fr>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Fw: Re: Out of memory error with PG10.3, 10.4 but not 9.3.19
Date: Wed, 6 Jun 2018 20:08:04 +0000 (UTC)
Message-ID: <278674457.2034133.1528315684928@mail.yahoo.com> (raw)
In-Reply-To: <1473904504.11533848.1527629441754@mail.yahoo.com>
References: <2120893212.2682655.1526396569241.ref@mail.yahoo.com>
<2120893212.2682655.1526396569241@mail.yahoo.com>
<20180516084811.GA14835@paquier.xyz>
<1473904504.11533848.1527629441754@mail.yahoo.com>
Forgotten to CC the list, sorry...
>Well, instead of an explain output which takes 2.4MB compressed and
>9.6MB uncompressed (take it as unreadable), could you produce a
>self-contained test case with a glimpse of the schema you are using?
>Where does the OOM happen, and how did you change your partitioned table
>schema? Are you using the native partitioning instead?
>Michael,
Thank you for your answer.
Sorry for the unreadable explain output.
I attached a SQL dump with 2 entities loaded in the database (2,872,265 entities in the actual database), the actual query and the actual output.
The OOM is durin the query (SELECT) after ~9 minutes the memory of the postgres increase until 8GB and the OOM message.
Partitioning is done by inherhitance.
After a complete reload of the database in PG10.4 the OOM still exists.
--
Michael
Attachments:
Archive.zip (application/zip, 67.2K) download
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: cchristo_0899@yahoo.fr
Subject: Re: Fw: Re: Out of memory error with PG10.3, 10.4 but not 9.3.19
In-Reply-To: <278674457.2034133.1528315684928@mail.yahoo.com>
References: <2120893212.2682655.1526396569241.ref@mail.yahoo.com> <2120893212.2682655.1526396569241@mail.yahoo.com> <20180516084811.GA14835@paquier.xyz> <1473904504.11533848.1527629441754@mail.yahoo.com> <278674457.2034133.1528315684928@mail.yahoo.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