Re: Poor memory context performance in large hash joins

From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tomas Vondra <tv(at)fuzzy(dot)cz>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Poor memory context performance in large hash joins
Date: 2017-02-24 07:00:27
Message-ID: CAEepm=24pdL0eVZmjZtBCLeHugHBisADht2TjaEdCB_aFv16ZQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Feb 24, 2017 at 12:17 PM, Andres Freund <andres(at)anarazel(dot)de> wrote:
> Jeff, do you have a handy demonstrator?

If you want to hit ExecHashIncreaseNumBatches a bunch of times, see
the "ugly" example in the attached.

--
Thomas Munro
http://www.enterprisedb.com

Attachment Content-Type Size
hj-test-queries.sql application/octet-stream 2.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-02-24 07:02:56 Re: UPDATE of partition key
Previous Message Tom Lane 2017-02-24 06:59:01 Re: Poor memory context performance in large hash joins