Re: Views and query planner - Mailing list pgsql-sql

From Mario Splivalo
Subject Re: Views and query planner
Date
Msg-id 1151673822.27032.9.camel@localhost.localdomain
Whole thread Raw
In response to Re: Views and query planner  (Michael Glaesemann <grzm@seespotcode.net>)
Responses Re: Views and query planner
List pgsql-sql
On Fri, 2006-06-30 at 21:47 +0900, Michael Glaesemann wrote:
> 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.
> 

So, the performance will be the same if I use view on view, or I create
big select with those view definitions.
Mario
-- 
Mario Splivalo
Mob-Art
mario.splivalo@mobart.hr

"I can do it quick, I can do it cheap, I can do it well. Pick any two."




pgsql-sql by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: Views and query planner
Next
From: Markus Schaber
Date:
Subject: Re: Views and query planner