X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id BA25BD1B56E for ; Wed, 5 Nov 2003 16:20:47 +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 72925-07 for ; Wed, 5 Nov 2003 12:20:16 -0400 (AST) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id 30F54D1B531 for ; Wed, 5 Nov 2003 12:20:15 -0400 (AST) Received: (qmail 5888 invoked by uid 500); 5 Nov 2003 16:18:27 -0000 Date: Wed, 5 Nov 2003 10:18:27 -0600 From: Bruno Wolff III To: Marek Florianczyk Cc: Jeff , pgsql-admin@postgresql.org Subject: Re: performance problem - 10.000 databases Message-ID: <20031105161827.GA5557@wolff.to> Mail-Followup-To: Marek Florianczyk , Jeff , pgsql-admin@postgresql.org References: <1067594647.22286.57.camel@franki-laptop.tpi.pl> <9643.1067610219@sss.pgh.pa.us> <1068039213.28814.116.camel@franki-laptop.tpi.pl> <20031105084852.04d6cfb9.threshar@torgo.978.org> <1068045299.28825.132.camel@franki-laptop.tpi.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1068045299.28825.132.camel@franki-laptop.tpi.pl> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/64 X-Sequence-Number: 11052 On Wed, Nov 05, 2003 at 16:14:59 +0100, Marek Florianczyk wrote: > One database with 3.000 schemas works better than 3.000 databases, but > there is REAL, BIG problem, and I won't be able to use this solution: > Every query, like "\d table" "\di" takes veeeeeeery long time. > Users have to have phpPgAdmin wich I modified to suit our needs, but now > it doesn't work, not even log-in. If I rewrite phpPgAdmin to log users > without checking all schemas, and tables within schemas, none of users > will be able to examine structure of table. Query like "\d table" from > psql monitor takes about 2-5 MINUTES :( Analyzing the system tables will likely make these queries go faster.