pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sathish Nelson <satson.csc17@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: slow query
Date: Wed, 11 Feb 2015 08:44:48 -0500
Message-ID: <2083.1423662288@sss.pgh.pa.us> (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>

Sathish Nelson <satson.csc17@gmail.com> writes:
> 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

Increasing work_mem would make those sort steps faster ...

			regards, tom lane


-- 
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: <2083.1423662288@sss.pgh.pa.us>
Permalink:  ../2083.1423662288@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2083.1423662288@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, satson.csc17@gmail.com
  Subject: Re: slow query
  In-Reply-To: <2083.1423662288@sss.pgh.pa.us>

* 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