pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Wei Weng <wweng@kencast.com>
To: pgsql-sql@postgresql.org
Subject: Re: view and performance
Date: Sat, 7 Jul 2001 12:25:34 +0100
Message-ID: <007a01c106d7$8b57b1c0$1001a8c0@archonet.com> (raw)
References: <994444708.16303.3.camel@Monet>

From: "Wei Weng" <wweng@kencast.com>

> Is there any gain on performance if you choose to create a view over a
> very complex query instead of running the query itself directly?

I *believe* views are pre-parsed so you gain that time. Can't believe you'd
notice much difference either way unless the query was very fast to execute.

- Richard Huxton




view thread (2+ messages)

Message-ID: <007a01c106d7$8b57b1c0$1001a8c0@archonet.com>
Permalink:  ../007a01c106d7$8b57b1c0$1001a8c0@archonet.com/
Also on:    postgresql.org/message-id/007a01c106d7$8b57b1c0$1001a8c0@archonet.com

 · 

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: dev@archonet.com, wweng@kencast.com
  Subject: Re: view and performance
  In-Reply-To: <007a01c106d7$8b57b1c0$1001a8c0@archonet.com>

* 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