Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UGYTc-000717-St for pgsql-performance@arkaria.postgresql.org; Fri, 15 Mar 2013 17:31:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UGYTc-0004wg-3l for pgsql-performance@arkaria.postgresql.org; Fri, 15 Mar 2013 17:31:32 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UGYTb-0004wa-2O for pgsql-performance@postgresql.org; Fri, 15 Mar 2013 17:31:31 +0000 Received: from ka.mail.enyo.de ([87.106.162.201]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UGYTZ-000486-Ek for pgsql-performance@postgresql.org; Fri, 15 Mar 2013 17:31:30 +0000 Received: from [172.17.135.4] (helo=deneb.enyo.de) by ka.mail.enyo.de with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) id 1UGYTX-0003HH-1s for pgsql-performance@postgresql.org; Fri, 15 Mar 2013 18:31:27 +0100 Received: from fw by deneb.enyo.de with local (Exim 4.80) (envelope-from ) id 1UGYTX-0007ec-6l for pgsql-performance@postgresql.org; Fri, 15 Mar 2013 18:31:27 +0100 From: Florian Weimer To: pgsql-performance@postgresql.org Subject: Pre-sorting COPY FROM input Date: Fri, 15 Mar 2013 18:31:27 +0100 Message-ID: <87zjy4fu34.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pg-Spam-Score: -2.9 (--) 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 Does it make sense to pre-sort COPY FROM input to produce long runs of increasing values of an indexed column, or does PostgreSQL perform this optimization on its own? -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance