Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 52D3A9FB518 for ; Mon, 4 Jun 2007 18:24:09 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 66404-07 for ; Mon, 4 Jun 2007 18:24:04 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by postgresql.org (Postfix) with ESMTP id 945659FB56E for ; Mon, 4 Jun 2007 18:24:04 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id u2so1000608uge for ; Mon, 04 Jun 2007 14:23:59 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=UN7VfNVDz9/PBjjxyw+ut1CqPfGglkIPQ8ZqVGD2Vo5xP014A6qqMuIBSpsyvXCubWmCF0+oMm9QKj9fpq/XckyOZjvEuqywWYbPet5aDHMfW4h1o5ubm8c8nHESuUumsn3f4gqB+CLqQnMUlmMEbTciky5O0Nlt3uEvZ3TkG0I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=E6apJr8tr0Cu7CaU0GbdGaUde5Kfc9nGFSFiT4oTeJAjerXjX+NDJ8de7p56tIzQLoLqkgfRMxv9w0GpU7JS9uNixk/1iL+3PTBsr8natWsqB7NtoQYxnFLVZFl8UyseMH1A0cKyzvVM46ORbZDJU+RFTx7rIV8NJXDm5HcuEnQ= Received: by 10.67.15.15 with SMTP id s15mr3382250ugi.1180991860775; Mon, 04 Jun 2007 14:17:40 -0700 (PDT) Received: from ?192.168.1.33? ( [82.3.233.102]) by mx.google.com with ESMTP id 27sm1020158ugp.2007.06.04.14.17.24; Mon, 04 Jun 2007 14:17:36 -0700 (PDT) Message-ID: <4664814F.4050109@enterprisedb.com> Date: Mon, 04 Jun 2007 22:17:03 +0100 From: Heikki Linnakangas User-Agent: Icedove 1.5.0.10 (X11/20070329) MIME-Version: 1.0 To: Douglas J Hunley CC: Gregory Stark , pgsql-performance@postgresql.org Subject: Re: upgraded to pgsql 8.2.4, getting worse performance then 7.4.x References: <200706020913.32241.doug@hunley.homeip.net><20070602152141.GA38653@winnie.fuhr.org><200706041601.08918.doug@hunley.homeip.net> <87ps4bl91g.fsf@oxford.xeocode.com> In-Reply-To: <87ps4bl91g.fsf@oxford.xeocode.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/50 X-Sequence-Number: 25083 Gregory Stark wrote: > Those plans look like they have a lot of casts to text in them. How have you > defined your indexes? Are your id columns really text? And did you use the same encoding and locale? Text operations on multibyte encodings are much more expensive. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com