Re: GroupAggregate and Integer Arrays

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: David Osborne <david(at)qcode(dot)co(dot)uk>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: GroupAggregate and Integer Arrays
Date: 2015-10-26 18:21:10
Message-ID: CAHyXU0xfum4bhhPRNwU4XfG3=MgZM5JB4B42gnksRa1JW7uh5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, Oct 26, 2015 at 12:45 PM, David Osborne <david(at)qcode(dot)co(dot)uk> wrote:
> Physical memory is 61GB at the moment.
>
> work_mem is 1,249,104kB

I'm not sure if this query is a candidate because of the function, but
you can try progressively cranking work_mem and running explain to see
what it'd take to get a hashaggregate plan.

merlin

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Bertrand Paquet 2015-10-27 09:35:27 Query planner wants to use seq scan
Previous Message David Osborne 2015-10-26 17:45:31 Re: GroupAggregate and Integer Arrays