Re: slow query

From: Torsten Förtsch <torsten(dot)foertsch(at)gmx(dot)net>
To: Sathish Nelson <satson(dot)csc17(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: slow query
Date: 2015-02-11 13:33:05
Message-ID: 54DB5A11.3030700@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

In response to

  • slow query at 2015-02-11 06:41:27 from Sathish Nelson

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2015-02-11 13:44:48 Re: slow query
Previous Message Sathish Nelson 2015-02-11 06:41:27 slow query