pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Neil Conway <neilc@samurai.com>
To: Loeke <LoekeDoeLoekeDoe@dontlikespam.hotmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: views?
Date: Fri, 30 Jan 2004 23:35:31 -0500
Message-ID: <87k738ivl8.fsf@mailbox.samurai.com> (raw)
In-Reply-To: <1075316194.466850@seven.kulnet.kuleuven.ac.be>
References: <1075316194.466850@seven.kulnet.kuleuven.ac.be>

"Loeke" <LoekeDoeLoekeDoe@dontlikespam.hotmail.com> writes:
> do views exist fysically a separate "table", or are they generated
> on the fly whenever they are queried?

Views are implementing by rewriting queries into the appropriate query
on the view's base tables.

http://www.postgresql.org/docs/current/static/rules-views.html

> if they exist fysically they could improve performance (..php, web),

This is called a "materialized view". PostgreSQL doesn't support them
yet, but most people think it would be a Good Thing to have.

-Neil




view thread (4+ messages)  latest in thread

Message-ID: <87k738ivl8.fsf@mailbox.samurai.com>
Permalink:  ../87k738ivl8.fsf@mailbox.samurai.com/
Also on:    postgresql.org/message-id/87k738ivl8.fsf@mailbox.samurai.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-performance@postgresql.org
  Cc: neilc@samurai.com, LoekeDoeLoekeDoe@dontlikespam.hotmail.com
  Subject: Re: views?
  In-Reply-To: <87k738ivl8.fsf@mailbox.samurai.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