Re: Slow query (planner insisting on using 'external merge' sort type)

From: Andreas Kretschmer <andreas(at)a-kretschmer(dot)de>
To: Ian Pushee <ian(at)intuvisiontech(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Slow query (planner insisting on using 'external merge' sort type)
Date: 2015-06-19 14:47:09
Message-ID: 1405767375.375868.1434725229563.JavaMail.open-xchange@oxweb02.ims-firmen.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


> Explain Analyze outputs (links as requested):
> Default plan: http://explain.depesz.com/s/ib3k
> Forced index (random_page_cost=1.0): http://explain.depesz.com/s/lYaP
>
> Software/Hardware: PGSql 9.2.1, Windows 8.1, 8GB RAM
> All pgsql settings are at their defaults.

increase work_mem. per session via set work_mem = 'xxxMB'; or in
postgresql.conf, reload.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Ian Pushee 2015-06-19 14:53:43 Re: Slow query (planner insisting on using 'external merge' sort type)
Previous Message Igor Neyman 2015-06-19 14:46:42 Re: Slow query (planner insisting on using 'external merge' sort type)