pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Glaesemann <grzm@seespotcode.net>
To: mario.splivalo@mobart.hr
Cc: pgsql-sql@postgresql.org
Subject: Re: Views and query planner
Date: Fri, 30 Jun 2006 21:47:31 +0900
Message-ID: <2D1768EE-58E1-4260-A940-3ED78D560EAB@seespotcode.net> (raw)
In-Reply-To: <1151670948.27032.5.camel@localhost.localdomain>
References: <1151670948.27032.5.camel@localhost.localdomain>


On Jun 30, 2006, at 21:35 , Mario Splivalo wrote:

> Is postgres going to make one query plan, or each view has it own  
> query
> plan?

Have you taken a look at the EXPLAIN ANALYZE output of the queries?  
You can see exactly which plan PostgreSQL will use.

Michael Glaesemann
grzm seespotcode net






view thread (4+ messages)  latest in thread

Message-ID: <2D1768EE-58E1-4260-A940-3ED78D560EAB@seespotcode.net>
Permalink:  ../2D1768EE-58E1-4260-A940-3ED78D560EAB@seespotcode.net/
Also on:    postgresql.org/message-id/2D1768EE-58E1-4260-A940-3ED78D560EAB@seespotcode.net

 · 

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-sql@postgresql.org
  Cc: grzm@seespotcode.net, mario.splivalo@mobart.hr
  Subject: Re: Views and query planner
  In-Reply-To: <2D1768EE-58E1-4260-A940-3ED78D560EAB@seespotcode.net>

* 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