pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Kretschmer <andreas@a-kretschmer.de>
To: Ian Pushee <ian@intuvisiontech.com>
To: pgsql-performance@postgresql.org
Subject: Re: Slow query (planner insisting on using 'external merge' sort type)
Date: Fri, 19 Jun 2015 16:47:09 +0200 (CEST)
Message-ID: <1405767375.375868.1434725229563.JavaMail.open-xchange@oxweb02.ims-firmen.de> (raw)
In-Reply-To: <55842859.4060102@intuvisiontech.com>
References: <55842859.4060102@intuvisiontech.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (9+ messages)  latest in thread

Message-ID: <1405767375.375868.1434725229563.JavaMail.open-xchange@oxweb02.ims-firmen.de>
Permalink:  ../1405767375.375868.1434725229563.JavaMail.open-xchange@oxweb02.ims-firmen.de/
Also on:    postgresql.org/message-id/1405767375.375868.1434725229563.JavaMail.open-xchange@oxweb02.ims-firmen.de

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: andreas@a-kretschmer.de, ian@intuvisiontech.com
  Subject: Re: Slow query (planner insisting on using 'external merge' sort type)
  In-Reply-To: <1405767375.375868.1434725229563.JavaMail.open-xchange@oxweb02.ims-firmen.de>

* 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