X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BD75152872 for ; Thu, 2 Jun 2005 17:15:42 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 06847-02 for ; Thu, 2 Jun 2005 20:15:35 +0000 (GMT) Received: from boutiquenumerique.com (boutiquenumerique.com [82.67.9.10]) by svr1.postgresql.org (Postfix) with ESMTP id 469EB52838 for ; Thu, 2 Jun 2005 17:15:32 -0300 (ADT) Received: (qmail 3907 invoked from network); 2 Jun 2005 22:15:39 +0200 Received: from unknown (HELO localhost) (boutiquenumerique-lists@192.168.0.4) by boutiquenumerique.com with SMTP; 2 Jun 2005 22:15:39 +0200 To: philb@vodafone.ie, pgsql-performance@postgresql.org Subject: Re: Query plan for very large number of joins References: <17165144.1117725925709.JavaMail.tomcat@iecsai19> Message-ID: Date: Thu, 02 Jun 2005 22:15:36 +0200 From: PFC Organization: =?iso-8859-15?Q?La_Boutique_Num=E9rique?= Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <17165144.1117725925709.JavaMail.tomcat@iecsai19> User-Agent: Opera M2(BETA2)/8.0 (Linux, build 987) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/52 X-Sequence-Number: 12690 > I am using PostgreSQL (7.4) with a schema that was generated > automatically (using hibernate). > The schema consists of about 650 relations. One particular query (also > generated > automatically) consists of left joining approximately 350 tables. At this Just out of curiosity, what application is this ? And what are the reasons for so many tables ...and especially such a query ? Not criticizing, but curious.