Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YJi0a-0002kc-QF for pgsql-performance@arkaria.postgresql.org; Fri, 06 Feb 2015 12:27:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YJi0a-0006HU-1w for pgsql-performance@arkaria.postgresql.org; Fri, 06 Feb 2015 12:27:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YJi0Y-0006HN-UE for pgsql-performance@postgresql.org; Fri, 06 Feb 2015 12:27:38 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YJi0T-0006iJ-UP for pgsql-performance@postgresql.org; Fri, 06 Feb 2015 12:27:37 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 2CD451304F1E for ; Fri, 6 Feb 2015 04:27:32 -0800 (PST) Date: Fri, 6 Feb 2015 05:27:31 -0700 (MST) From: Belal Al-Hamed To: pgsql-performance@postgresql.org Message-ID: <1423225651639-5836917.post@n5.nabble.com> In-Reply-To: References: <1423211439320-5836886.post@n5.nabble.com> <1423212269828-5836890.post@n5.nabble.com> Subject: Re: Copy command Faster than original select MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.3 (/) 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 "so bottle neck have to be some where between client and server" that's what I need to know ! where is the bug to made this performance "Can you try again but with EXPLAIN *ANALYZE* (not only EXPLAIN)?" it's not a matter of plan problem I think, it's related to sending data from server to client, perhaps in allocating buffers for data or problem in libpq I don't know ... because why it's super fast exporting same select to file using copy command. again I am using the same pc of the postgresql server regards to all -- View this message in context: http://postgresql.nabble.com/Copy-command-Faster-than-original-select-tp5836886p5836917.html Sent from the PostgreSQL - performance mailing list archive at Nabble.com. -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance