Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U37ll-0001kW-Go for pgsql-performance@arkaria.postgresql.org; Wed, 06 Feb 2013 16:22:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U37ll-0006QW-0h for pgsql-performance@arkaria.postgresql.org; Wed, 06 Feb 2013 16:22:45 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U37lk-0006QQ-0q for pgsql-performance@postgresql.org; Wed, 06 Feb 2013 16:22:44 +0000 Received: from nm21-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.137]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U37li-0002KD-LI for pgsql-performance@postgresql.org; Wed, 06 Feb 2013 16:22:43 +0000 Received: from [98.139.215.143] by nm21.bullet.mail.bf1.yahoo.com with NNFMP; 06 Feb 2013 16:22:40 -0000 Received: from [98.139.212.209] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 06 Feb 2013 16:22:40 -0000 Received: from [127.0.0.1] by omp1018.mail.bf1.yahoo.com with NNFMP; 06 Feb 2013 16:22:40 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 592939.33886.bm@omp1018.mail.bf1.yahoo.com Received: (qmail 49821 invoked by uid 60001); 6 Feb 2013 16:22:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1360167760; bh=0W7qs7GlLPvEGLg5JBKoiVRTzdgqmShJpzg2oQaC5a4=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Z4PP7FZLD0HVyjniCrKAl3YUCHv5d3ZW/kQAx7/uPB9ihpK2sdJmY4JbkIj0spGw4IxUHsok/yXqEDPf7FrqGHUbDDkpkEUBtGdqa0ApikoKYVn64nSvOCPjQ7k3jOMIvZ3u/pyQUKilqXZnv6iKUZfBLK2L3xMh9YL249SBt2s= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nUVKJWZCTdOwXHjGJbbIVUisxPh18psKS36Uejux6OBy/FZiofQT09dLWxY455PRf+4dqLmzUPm92rW7vpHHfUhTJAA12n0CIzXheenlIIapOd1Wg8XM+CfzC4AcBAW5GYUaAyEPBRalAfvvc1PxCizd5PeAAnYzPBeDLiwNhTA=; X-YMail-OSG: 3e.uw5EVM1mjRqFEyfOq29BmWvJasU85..h62xAV4Vt8KQk wGQDtMPuOTjt8SaFKp4bYZaX2bFqaP.496BfNmxHxWlF.Bg4_I8VYtNWAFwx Q8z5l9apl4pSJtirLQ9wzQ0V3sZJrtNyxuMfHx9qXCuKvtJ5n86K6YsE.t6r ORVUeaUqkMekVEI_yEH5aL6.5IdkUdQpQFZtvuAI8H2YsR_NmHXWgTx7RGJa sDSuFXsPCdGkUX_DH77hNJvFCXhIVbVmNJDYqwjfrjDxSDW.jKW3IaJVrvG5 8ndqv0gOD2B3ejgDNP92O1iakbBAIegTFdSE4eKuKf5CIBXO0ybnsTLwV9XA 7YvTM4QjjIV9ipsuBaFT9RT4gGiHu6BbaRijVvarHm0RKgIH.qhkp4y7u6Sz eZ2z4m9F3Yy106rZB6tDmIltrw14jtH1wdgIDD94fUJUexNoWA_yuJZBkZCJ BTU6a3F37NEqLhi_5IUaXdD4_zw-- Received: from [76.255.19.161] by web162901.mail.bf1.yahoo.com via HTTP; Wed, 06 Feb 2013 08:22:40 PST X-Rocket-MIMEInfo: 001.001, V2lsbCBQbGF0bmljayA8d3BsYXRuaWNrQGdtYWlsLmNvbT4gd3JvdGU6Cj4gV2lsbCBQbGF0bmljayA8d3BsYXRuaWNrQGdtYWlsLmNvbT4gd3JvdGU6Cgo.PiBUaGUgb25seSB0aGluZyB0aGF0IHN0YW5kcyBvdXQgaXM6IG9uIHlvdXIgcHJvZHVjdGlvbiBzZXJ2ZXIgSSBzZWUKPj4gIlRvdGFsIHJ1bnRpbWU6IDcuNTE1IG1zIiwgYnV0IHRoZSB0b3Agbm9kZSBpbiBFWFBMQUlOIEFOQVlaRSBzaG93cwo.PiBhY3R1YWwgdGltZSBhcyAwLjE3OSBtcy4gTm90IHN1cmUgd2hlcmUgdGhhdCBhZGRpdGlvbmFsIHQBMAEBAQE- X-Mailer: YahooMailWebService/0.8.132.503 References: <2CB5B53971DB42238A7640E6EFAE8D19@gmail.com> Message-ID: <1360167760.44825.YahooMailNeo@web162901.mail.bf1.yahoo.com> Date: Wed, 6 Feb 2013 08:22:40 -0800 (PST) From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: Slow Query Help To: Will Platnick , "pgsql-performance@postgresql.org" In-Reply-To: <2CB5B53971DB42238A7640E6EFAE8D19@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: 0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Will Platnick wrote: > Will Platnick wrote: >> The only thing that stands out is: on your production server I see >> "Total runtime: 7.515 ms", but the top node in EXPLAIN ANAYZE shows >> actual time as 0.179 ms. Not sure where that additional time is being >> spent though. It could be ExecutorStart/End, but have no idea why they >> should take so long. > Any ideas on how to troubleshoot this delay? Is the client which is running the query on the same machine as the server?=A0 If not, what's the ping time between them? -Kevin --=20 Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance