X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D0B1DD1BAD2; Tue, 24 Feb 2004 17:40:17 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 25334-04; Tue, 24 Feb 2004 13:40:10 -0400 (AST) Received: from hal.kabsi.at (top.kabsi.at [195.202.128.73]) by svr1.postgresql.org (Postfix) with ESMTP id E4187D1BAD5; Tue, 24 Feb 2004 13:40:08 -0400 (AST) Received: from cybertec.at (h062040243020.plc.cm.kabsi.at [62.40.243.20]) by hal.kabsi.at (8.11.1/) with ESMTP id i1OHdDs0001296296; Tue, 24 Feb 2004 18:39:13 +0100 (CET) Message-ID: <403B8C89.5010904@cybertec.at> Date: Tue, 24 Feb 2004 18:40:25 +0100 From: =?ISO-8859-1?Q?Hans-J=FCrgen_Sch=F6nig?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Richard Huxton Cc: "Jonathan M. Gardner" , pgsql-hackers@postgresql.org, pgsql-sql@postgresql.org, pgsql-performance@postgresql.org Subject: Re: [HACKERS] [SQL] Materialized View Summary References: <200402240811.13013.jgardner@jonathangardner.net> <200402241711.20947.dev@archonet.com> In-Reply-To: <200402241711.20947.dev@archonet.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/323 X-Sequence-Number: 5847 Richard Huxton wrote: > On Tuesday 24 February 2004 16:11, Jonathan M. Gardner wrote: > >>I've written a summary of my findings on implementing and using >>materialized views in PostgreSQL. I've already deployed eagerly updating >>materialized views on several views in a production environment for a >>company called RedWeek: http://redweek.com/. As a result, some queries >>that were taking longer than 30 seconds to run now run in a fraction of a >>millisecond. >> >>You can view my summary at >>http://jonathangardner.net/PostgreSQL/materialized_views/matviews.html > > > Interesting (and well written) summary. Even if not a "built in" feature, I'm > sure that plenty of people will find this useful. Make sure it gets linked to > from techdocs. > > If you could identify candidate keys on a view, you could conceivably automate > the process even more. That's got to be possible in some cases, but I'm not > sure how difficult it is to do in all cases. > Are there any plans to rewrite that in C and add proper support for SQL commands? (e.g. "CREATE MATERIALIZED VIEW", "DROP VIEW", ...). Best regards, Hans -- Cybertec Geschwinde u Schoenig Schoengrabern 134, A-2020 Hollabrunn, Austria Tel: +43/2952/30706 or +43/664/233 90 75 www.cybertec.at, www.postgresql.at, kernel.cybertec.at