X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2C8DDD1C951 for ; Tue, 2 Dec 2003 23:18:04 +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 09502-10 for ; Tue, 2 Dec 2003 19:17:39 -0400 (AST) Received: from davinci.ethosmedia.com (server228.ethosmedia.com [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id 17647D1B465 for ; Tue, 2 Dec 2003 19:17:32 -0400 (AST) Received: from [66.219.92.2] (HELO temoku) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 4013451; Tue, 02 Dec 2003 15:18:29 -0800 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Neil Conway Subject: Re: cross table indexes or something? Date: Tue, 2 Dec 2003 15:04:28 -0800 User-Agent: KMail/1.4.3 Cc: Jeremiah Jahn , postgres performance References: <1069877651.22346.13.camel@bluejay.goodinassociates.com> <200312021127.52839.josh@agliodbs.com> <87llpu288o.fsf@mailbox.samurai.com> In-Reply-To: <87llpu288o.fsf@mailbox.samurai.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200312021504.28020.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/38 X-Sequence-Number: 4898 Neil, > > 1) to keep it working, you will probably need to run ANALZYE more > > often than you have been; >=20 > I'm not sure why this would be the case -- can you elaborate? For the more granular stats to be useful, they have to be accurate; otherwi= se=20 you'll go back to a nestloop as soon as the query planner encounters a valu= e=20 that it doens't think is in the table at all.=20 >=20 > > 4) Currently, pg_dump does *not* back up statistics settings. >=20 > Yes, it does. Oh, good. Was this a 7.4 improvement? I missed that in the changelogs .= ... --=20 -Josh Berkus Aglio Database Solutions San Francisco