Re: View optimization - Mailing list pgsql-general

From A. Kretschmer
Subject Re: View optimization
Date
Msg-id 20061219060650.GB9703@a-kretschmer.de
Whole thread Raw
In response to View optimization  (Richard Ollier <r.ollier@tequila.co.jp>)
List pgsql-general
am  Tue, dem 19.12.2006, um 13:32:10 +0900 mailte Richard Ollier folgendes:
> Hello,
>
> I was wondering it there was a way to optimize a view.
> If my view contains 20 LEFT joins, my guessing is that each time I will
> make a select on it, the view will be completely recalculated. Is there
> a way to have it up and running all the time like a table would be ?
>
> Any advice here is more than welcome !

Perhaps a materialized View can help, see
http://jonathangardner.net/PostgreSQL/materialized_views/matviews.html


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47215,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-general by date:

Previous
From: Richard Broersma Jr
Date:
Subject: Re: feature request for Postgresql Rule system.
Next
From: Henrik Zagerholm
Date:
Subject: Re: Let's play bash the search engine