pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedviews?
4+ messages / 3 participants
[nested] [flat]
* views?
@ 2004-01-28 18:56 Loeke <LoekeDoeLoekeDoe@dontlikespam.hotmail.com>
2004-01-31 04:35 ` Re: views? Neil Conway <neilc@samurai.com>
0 siblings, 1 reply; 4+ messages in thread
From: Loeke @ 2004-01-28 18:56 UTC (permalink / raw)
To: pgsql-performance
do views exist fysically a separate "table",
or are they generated on the fly whenever they are queried?
if they exist fysically they could improve performance (..php, web),
for example a view being a join between two or more tables..
tnx?
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: views?
2004-01-28 18:56 views? Loeke <LoekeDoeLoekeDoe@dontlikespam.hotmail.com>
@ 2004-01-31 04:35 ` Neil Conway <neilc@samurai.com>
2004-02-02 09:48 ` Re: views? Richard Huxton <dev@archonet.com>
0 siblings, 1 reply; 4+ messages in thread
From: Neil Conway @ 2004-01-31 04:35 UTC (permalink / raw)
To: Loeke <LoekeDoeLoekeDoe@dontlikespam.hotmail.com>; +Cc: pgsql-performance
"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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: views?
2004-01-28 18:56 views? Loeke <LoekeDoeLoekeDoe@dontlikespam.hotmail.com>
2004-01-31 04:35 ` Re: views? Neil Conway <neilc@samurai.com>
@ 2004-02-02 09:48 ` Richard Huxton <dev@archonet.com>
2004-02-02 21:26 ` Re: views? Loeke <LoekeDoeLoekeDoe@dontlikespam.hotmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Richard Huxton @ 2004-02-02 09:48 UTC (permalink / raw)
To: Neil Conway <neilc@samurai.com>; Loeke <LoekeDoeLoekeDoe@dontlikespam.hotmail.com>; +Cc: pgsql-performance
On Saturday 31 January 2004 04:35, Neil Conway wrote:
>
> This is called a "materialized view". PostgreSQL doesn't support them
> yet, but most people think it would be a Good Thing to have.
There is a project on gborg (called "mview" iirc) though I don't know how far
it's got - I think it's still pretty new.
--
Richard Huxton
Archonet Ltd
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: views?
2004-01-28 18:56 views? Loeke <LoekeDoeLoekeDoe@dontlikespam.hotmail.com>
2004-01-31 04:35 ` Re: views? Neil Conway <neilc@samurai.com>
2004-02-02 09:48 ` Re: views? Richard Huxton <dev@archonet.com>
@ 2004-02-02 21:26 ` Loeke <LoekeDoeLoekeDoe@dontlikespam.hotmail.com>
0 siblings, 0 replies; 4+ messages in thread
From: Loeke @ 2004-02-02 21:26 UTC (permalink / raw)
To: pgsql-performance
> > This is called a "materialized view". PostgreSQL doesn't support them
> > yet, but most people think it would be a Good Thing to have.
>
> There is a project on gborg (called "mview" iirc) though I don't know how
far
> it's got - I think it's still pretty new.
tnx
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2004-02-02 21:26 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-01-28 18:56 views? Loeke <LoekeDoeLoekeDoe@dontlikespam.hotmail.com>
2004-01-31 04:35 ` Neil Conway <neilc@samurai.com>
2004-02-02 09:48 ` Richard Huxton <dev@archonet.com>
2004-02-02 21:26 ` Loeke <LoekeDoeLoekeDoe@dontlikespam.hotmail.com>
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