Re: views?

From: Neil Conway <neilc(at)samurai(dot)com>
To: "Loeke" <LoekeDoeLoekeDoe(at)dontlikespam(dot)hotmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: views?
Date: 2004-01-31 04:35:31
Message-ID: 87k738ivl8.fsf@mailbox.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Loeke" <LoekeDoeLoekeDoe(at)dontlikespam(dot)hotmail(dot)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

In response to

  • views? at 2004-01-28 18:56:46 from Loeke

Responses

  • Re: views? at 2004-02-02 09:48:21 from Richard Huxton

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2004-01-31 05:07:53 Re: High Performance/High Reliability File system on SuSE64
Previous Message Josh Berkus 2004-01-31 01:45:45 Re: Unique index and estimated rows.