Re: query planning different in plpgsql?

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: Scott Mead <scott(dot)lists(at)enterprisedb(dot)com>
Cc: "Michal J(dot) Kubski" <michal(dot)kubski(at)cdt(dot)pl>, pgsql-performance(at)postgresql(dot)org
Subject: Re: query planning different in plpgsql?
Date: 2009-10-23 15:56:36
Message-ID: 2f4958ff0910230856h384391fhb4caf2409c724a98@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, Oct 23, 2009 at 4:49 PM, Scott Mead <scott(dot)lists(at)enterprisedb(dot)com>wrote:

>
>
> Do you not have an index on last_snapshot.domain_id?
>

that, and also try rewriting a query as JOIN. There might be difference in
performance/plan.

--
GJ

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jeff Davis 2009-10-23 16:01:02 Re: Queryplan within FTS/GIN index -search.
Previous Message Jeff Davis 2009-10-23 15:51:11 Re: Queryplan within FTS/GIN index -search.