pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Torsten Förtsch <torsten.foertsch@gmx.net>
To: Sathish Nelson <satson.csc17@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: slow query
Date: Wed, 11 Feb 2015 14:33:05 +0100
Message-ID: <54DB5A11.3030700@gmx.net> (raw)
In-Reply-To: <CAK8rqQkfSERoLDGtC_0=rOLDkOyONU3g=uKEg5xXPqKyqDPZog@mail.gmail.com>
References: <CAK8rqQkfSERoLDGtC_0=rOLDkOyONU3g=uKEg5xXPqKyqDPZog@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

On 11/02/15 07:41, Sathish Nelson wrote:
> am connecting three tables in query. one table have 73000 records
> 
> another two tables have 138000 records.
> 
> but its take 12 sec for show 12402 rows in tables

you need more work_mem. The query plan shows multiple external sort nodes.

Otherwise, the query and the plan I received here are too badly
formatted for me to comprehend.

Torsten


-- 
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 (112+ messages)  latest in thread

Message-ID: <54DB5A11.3030700@gmx.net>
Permalink:  ../54DB5A11.3030700@gmx.net/
Also on:    postgresql.org/message-id/54DB5A11.3030700@gmx.net

 · 

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: torsten.foertsch@gmx.net, satson.csc17@gmail.com
  Subject: Re: slow query
  In-Reply-To: <54DB5A11.3030700@gmx.net>

* 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