Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group