Re: 7.3 schedule
Neil Conway <nconway@klamath.dyndns.org>
From: Neil Conway <nconway@klamath.dyndns.org>
To: "Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Cc: barry@xythos.com, tgl@sss.pgh.pa.us, zakkr@zf.jcu.cz, pgsql-hackers@postgresql.org
Date: 2002-04-13T18:35:39Z
Lists: pgsql-hackers
On Sat, 13 Apr 2002 14:21:50 +0800 "Christopher Kings-Lynne" <chriskl@familyhealth.com.au> wrote: > Could this cache mechanism be used to make views fast as well? The current PREPARE/EXECUTE code will speed up queries that use rules of any kind, including views: the query plan is cached after it has been rewritten as necessary, so (AFAIK) this should mean that rules will be evaluated once when the query is PREPAREd, and then cached for subsequent EXECUTE commands. Cheers, Neil -- Neil Conway <neilconway@rogers.com> PGP Key ID: DB3C29FC