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 73858D1B4F4 for ; Wed, 5 Nov 2003 19:04:12 +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 97260-01 for ; Wed, 5 Nov 2003 15:03:41 -0400 (AST) Received: from mail.tpi.pl (mail.tpi.pl [193.110.121.18]) by svr1.postgresql.org (Postfix) with ESMTP id 4D291D1B4EB for ; Wed, 5 Nov 2003 15:03:40 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by mail.tpi.pl (Postfix) with ESMTP id 7D27146F70; Wed, 5 Nov 2003 20:03:40 +0100 (CET) Received: from mail.tpi.pl ([127.0.0.1]) by localhost (silver [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27612-13; Wed, 5 Nov 2003 20:03:40 +0100 (CET) Received: from [10.5.3.38] (lan-out [193.110.121.17]) by mail.tpi.pl (Postfix) with ESMTP id 3339346F66; Wed, 5 Nov 2003 20:03:40 +0100 (CET) Subject: Re: performance problem - 10.000 databases From: Marek Florianczyk To: Tom Lane Cc: pgsql-admin@postgresql.org In-Reply-To: <3915.1068058334@sss.pgh.pa.us> References: <1067594647.22286.57.camel@franki-laptop.tpi.pl> <9643.1067610219@sss.pgh.pa.us> <1068039213.28814.116.camel@franki-laptop.tpi.pl> <3453.1068055189@sss.pgh.pa.us> <1068056378.28827.172.camel@franki-laptop.tpi.pl> <3767.1068057262@sss.pgh.pa.us> <1068057055.28827.180.camel@franki-laptop.tpi.pl> <3915.1068058334@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-2 Organization: Message-Id: <1068058550.28821.188.camel@franki-laptop.tpi.pl> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 05 Nov 2003 19:55:50 +0100 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at TP Internet X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/75 X-Sequence-Number: 11063 W li¶cie z ¶ro, 05-11-2003, godz. 19:52, Tom Lane pisze: > Marek Florianczyk writes: > > Maybe reconnect is to often, but how to explain that reular queries like > > select * from table1 ale much faster than \d's ? ( my post to Jeff ) > > [ further experimentation... ] Ah-hah, I see the problem in 7.3, though > not in 7.4 which is what I was testing to begin with. 7.4 is smarter > about optimizing the LEFT JOINs that are used in \d's queries. > So how do you think sould I try v7.4 on production machine and wait for stable version? Or better use v7.3 with 3000 databases? I have to do that till december. Will this optimization solve problem "\d" queries, or just speed it up few seconds ? greetings Marek