X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 33737D1DAA9 for ; Tue, 17 Feb 2004 04:29:02 +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 06569-04 for ; Tue, 17 Feb 2004 00:28:51 -0400 (AST) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id AE67AD1D8B7 for ; Tue, 17 Feb 2004 00:28:50 -0400 (AST) Received: (qmail 24761 invoked from network); 17 Feb 2004 04:28:48 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 17 Feb 2004 04:28:48 -0000 Subject: cacheing metadata From: Dave Cramer Reply-To: pg@fastcrypt.com To: "pgsql-jdbc@postgresql.org" Content-Type: text/plain Organization: Cramer Consulting Message-Id: <1076992127.6799.153.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 16 Feb 2004 23:28:47 -0500 Content-Transfer-Encoding: 7bit X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/188 X-Sequence-Number: 9474 There is some interest in caching meta-data. I am wondering what the community thinks of the idea. Notionally it would be used to speed up DataBaseMetaData queries. It will require some work on the backend to create triggers on schema changes. This is being considered as we speak. The one challenge is that we don't have non-blocking sockets so we basically have to do an empty query to see if the cache is dirty and then reload it if it is Kris has already commented that this sounds like a fair bit of complexity for a method that is rarely called. Dave -- Dave Cramer 519 939 0336 ICQ # 14675561