pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Belal Al-Hamed <belalhamed@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: Copy command Faster than original select
Date: Fri, 6 Feb 2015 06:39:30 -0700 (MST)
Message-ID: <1423229970320-5836933.post@n5.nabble.com> (raw)
In-Reply-To: <CAJghg4J36rPo5zWkUPbuBWjs-6RTPQb9hhSw-DY==EXUGaX0kw@mail.gmail.com>
References: <1423211439320-5836886.post@n5.nabble.com>
	<CAFj8pRDkenXG8-cAMuGNgyjoR9Ne+RRA5xdz1DWiuLqWDdKX7g@mail.gmail.com>
	<1423212269828-5836890.post@n5.nabble.com>
	<CAJghg4+2m=Pv5_62Wqtk+Rpgbs0FaAL69edBfk08qZA9O_H_UA@mail.gmail.com>
	<1423225651639-5836917.post@n5.nabble.com>
	<CAJghg4J36rPo5zWkUPbuBWjs-6RTPQb9hhSw-DY==EXUGaX0kw@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

Let me change my question to this perhaps it would be clearer

why writing data result of select statment from PG server to file on disk
using copy statement is much faster than getting same data through PGAdmin
via libpg on the same PC on the same system on the same connection
(localhost) ?



--
View this message in context: http://postgresql.nabble.com/Copy-command-Faster-than-original-select-tp5836886p5836933.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



view thread (17+ messages)  latest in thread

Message-ID: <1423229970320-5836933.post@n5.nabble.com>
Permalink:  ../1423229970320-5836933.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1423229970320-5836933.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: belalhamed@gmail.com
  Subject: Re: Copy command Faster than original select
  In-Reply-To: <1423229970320-5836933.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox