Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YKOnB-0007je-4b for pgsql-performance@arkaria.postgresql.org; Sun, 08 Feb 2015 10:08:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YKOn9-0001Q4-JU for pgsql-performance@arkaria.postgresql.org; Sun, 08 Feb 2015 10:08:39 +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 1YKOn7-0001Pv-HO for pgsql-performance@postgresql.org; Sun, 08 Feb 2015 10:08:37 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YKOn2-0006oj-NX for pgsql-performance@postgresql.org; Sun, 08 Feb 2015 10:08:35 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 4D66C1338D27 for ; Sun, 8 Feb 2015 02:08:32 -0800 (PST) Date: Sun, 8 Feb 2015 03:08:30 -0700 (MST) From: Belal Al-Hamed To: pgsql-performance@postgresql.org Message-ID: <1423390110274-5837105.post@n5.nabble.com> In-Reply-To: References: <1423211439320-5836886.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 Executing "Select count(a.*) from (select ... from mytable join .. join ... order by ....) as a;" Total query runtime: 454 ms. 1 row retrieved. -- View this message in context: http://postgresql.nabble.com/Copy-command-Faster-than-original-select-tp5836886p5837105.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