Re: Should pg 11 use a lot more memory building an spgist index?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Should pg 11 use a lot more memory building an spgist index?
Date: 2018-10-24 08:33:48
Message-ID: 19003.1540370028@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Bruno Wolff III <bruno(at)wolff(dot)to> writes:
> While reloading a database cluster to move from 10.5 to 11, I'm getting
> out of memory crashes that I did see when doing reloads on pg 10.
> The statement flagged in the log is this:
> 2018-10-23 16:44:34.815 CDT [126839] STATEMENT: ALTER TABLE ONLY public.iplocation
> ADD CONSTRAINT overlap EXCLUDE USING spgist (network WITH &&);

Hm, there's a fair amount of new code in SP-GIST in v11, so maybe you've
hit a memory leak in that. Can you create a self-contained test case?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2018-10-24 08:37:48 Re: Should pg 11 use a lot more memory building an spgist index?
Previous Message Jeremy Schneider 2018-10-24 08:15:29 Re: Oracle vs PG

Browse pgsql-hackers by date

  From Date Subject
Next Message Dilip Kumar 2018-10-24 08:34:47 Re: Side effect of CVE-2017-7484 fix?
Previous Message Michael Paquier 2018-10-24 08:08:22 Re: Unordered wait event ClogGroupUpdate