Re: [PERFORM] Very slow inner join query Unacceptable latency.

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: fburgess(at)radiantblue(dot)com
Cc: Jaime Casanova <jaime(at)2ndquadrant(dot)com>, psql performance list <pgsql-performance(at)postgresql(dot)org>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: [PERFORM] Very slow inner join query Unacceptable latency.
Date: 2013-05-24 06:16:16
Message-ID: CAOR=d=1kwJn7rCWOH=XmvwGEWERCeYD3xnjbj4EGvTVWaoijSQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

Looking at the execution plan makes me wonder what your work_mem is
set to. Try cranking it up to test and lowering random_page_cost:

set work_mem='500MB';
set random_page_cost=1.2;
explain analyze select ...

and see what you get.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message YuChi 2013-05-24 07:35:19 Help, How to start the server??
Previous Message Jov 2013-05-24 05:47:44 Re: There are many processes created and died frequently during PostgreSQl idle

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2013-05-24 12:11:53 Re: Reliability with RAID 10 SSD and Streaming Replication
Previous Message Amit Kapila 2013-05-24 05:14:44 Re: [PERFORM] Very slow inner join query Unacceptable latency.