From: | Michael Glaesemann <grzm(at)seespotcode(dot)net> |
---|---|
To: | Joshua D(dot) Drake <jd(at)commandprompt(dot)com> |
Cc: | b(dot)wood(at)niwa(dot)co(dot)nz, Ashish Karalkar <ashish(dot)karalkar(at)info-spectrum(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Views- Advantages and Disadvantages |
Date: | 2007-05-10 01:14:07 |
Message-ID: | 7531B14F-2025-4938-AD59-6334CC744CD3@seespotcode.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On May 9, 2007, at 19:58 , Joshua D. Drake wrote:
> Brent Wood wrote:
>> Ashish Karalkar wrote:
>>> Thanks Brent for your replay,
>>>
>>>
>>> What about the Disadvantages, Performance issues?
>> As far as I'm aware, performance is the only real disadvantage.
>
> What performance are we talking about here? Executing from a view
> although has *some* overhead, I don't even know that it is worth
> considering in most cases.
Two people now have stated without much qualification that views have
some kind of associated performance (Brent Woods) or optimization
(Dann Corbit) penalty. Where does this idea come from? Views in
PostgreSQL are just rewritten with the view query inlined! There's
not much overhead there AIUI.
Michael Glaesemann
grzm seespotcode net
From | Date | Subject | |
---|---|---|---|
Next Message | Dann Corbit | 2007-05-10 01:21:22 | Re: Views- Advantages and Disadvantages |
Previous Message | Ron Johnson | 2007-05-10 01:06:39 | Re: Views- Advantages and Disadvantages |