Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 786439FB2FC for ; Mon, 2 Oct 2006 00:01:36 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 28430-04-2 for ; Mon, 2 Oct 2006 00:01:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 4146B9FB3C6 for ; Mon, 2 Oct 2006 00:01:31 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k9231JXP026737; Sun, 1 Oct 2006 23:01:19 -0400 (EDT) To: Steve Martin cc: pgsql-performance@postgresql.org Subject: Re: selecting data from information_schema.columns performance. In-reply-to: <452078EC.90300@nec.co.nz> References: <452078EC.90300@nec.co.nz> Comments: In-reply-to Steve Martin message dated "Mon, 02 Oct 2006 15:26:52 +1300" Date: Sun, 01 Oct 2006 23:01:19 -0400 Message-ID: <26736.1159758079@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.094 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200610/2 X-Sequence-Number: 21131 Steve Martin writes: > I am trying to determine if there is a way to improve the performance > when selecting data from the information_schema.columns view. In my experience, there isn't any single one of the information_schema views whose performance doesn't suck :-(. Somebody should work on that sometime. I haven't looked closely enough to determine where the bottlenecks are. regards, tom lane