Re: are views typically any faster/slower than equivilent joins?

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Brian Tarbox <btarbox(at)theworld(dot)com>
Cc: Postgresql Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: are views typically any faster/slower than equivilent joins?
Date: 2003-06-01 04:05:56
Message-ID: 1054440355.11968.90.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> Would my query performance be significantly faster/slower using a View as
> opposed to a prepared query using join?

I missed this part. Views and prepared queries are not the same time.
Use of a view still needs to be optimized.

Prepared queries will run the optimization portion on the entire query
including the view segments of it. Think of a view as a MACRO.
Depending on the context of what surrounds it, the view may be executed
very differently.

--
Rod Taylor <rbt(at)rbt(dot)ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Bruno Wolff III 2003-06-01 05:33:39 Re: Index speeds up one row table (why)?
Previous Message Rod Taylor 2003-06-01 04:02:39 Re: are views typically any faster/slower than equivilent joins?