Re: View optimization

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: View optimization
Date: 2006-12-19 06:06:51
Message-ID: 20061219060650.GB9703@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Henrik Zagerholm 2006-12-19 06:22:21 Re: Let's play bash the search engine
Previous Message Richard Broersma Jr 2006-12-19 05:55:43 Re: feature request for Postgresql Rule system.