Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id C9B089FC137 for ; Fri, 23 Feb 2007 13:55:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 53601-06 for ; Fri, 23 Feb 2007 13:55:20 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from vsmtp21.tin.it (vsmtp21.tin.it [212.216.176.109]) by postgresql.org (Postfix) with ESMTP id 37AE59FB503 for ; Fri, 23 Feb 2007 13:55:21 -0400 (AST) Received: from cp3a.criticalpath.priv (192.168.70.91) by vsmtp21.tin.it (7.2.072.1) id 45D618B500BD17BF for pgsql-performance@postgresql.org; Fri, 23 Feb 2007 18:55:20 +0100 Received: from pswm13.cp.tin.it (192.168.70.37) by cp3a.criticalpath.priv (7.3.118.3) id 45D98EC4000886B8 for pgsql-performance@postgresql.org; Fri, 23 Feb 2007 18:56:35 +0100 Message-ID: <110efbe2433.msmbarabino@virgilio.it> Date: Fri, 23 Feb 2007 18:55:20 +0100 (GMT+01:00) From: "msmbarabino@virgilio.it" Reply-To: "msmbarabino@virgilio.it" To: pgsql-performance@postgresql.org Subject: Re: Very slow bytea data extraction Mime-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: 151.64.149.238 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.898 tagged_above=0 required=5 tests=AWL, BAYES_50, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST X-Spam-Level: * X-Archive-Number: 200702/250 X-Sequence-Number: 23304 >are you getting the data from the local box or from a remote site? Everything is on the local box. >also explain analyze is showing nothing slow but you did not post the >enitre output. also, try the \timing switch in psql. Actually a line was missing: Total runtime: 0.337 ms. Massimo