Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 4D15EB5DC14 for ; Mon, 1 Aug 2011 05:12:45 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 27095-04 for ; Mon, 1 Aug 2011 08:12:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.anarazel.de (mail.anarazel.de [217.115.131.40]) by mail.postgresql.org (Postfix) with ESMTP id 42EC3B5DC12 for ; Mon, 1 Aug 2011 05:12:39 -0300 (ADT) Received: by mail.anarazel.de (Postfix, from userid 108) id AD2DD448004; Mon, 1 Aug 2011 10:12:37 +0200 (CEST) Received: from anarazel.de (e178248152.adsl.alicedsl.de [85.178.248.152]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id A660F448004; Mon, 1 Aug 2011 10:10:35 +0200 (CEST) Received: by anarazel.de (Postfix, from userid 1000) id B85F21C0059; Mon, 1 Aug 2011 10:10:32 +0200 (CEST) From: Andres Freund To: pgsql-bugs@postgresql.org Subject: Re: BUG #6136: Perfomance dies when using PK on 64-bit field Date: Mon, 1 Aug 2011 10:10:32 +0200 User-Agent: KMail/1.13.7 (Linux/3.0.0-andres; KDE/4.6.5; x86_64; ; ) Cc: "Robert" References: <201107311347.p6VDlu0f017165@wwwmaster.postgresql.org> In-Reply-To: <201107311347.p6VDlu0f017165@wwwmaster.postgresql.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201108011010.32521.andres@anarazel.de> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.623 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.723 X-Spam-Level: X-Archive-Number: 201108/6 X-Sequence-Number: 30818 Hi, What happens if you drop other indices with a similar size before starting the copy? It might just be the additional io-load (causing more checkpoints, more random io, etc) is causing the problems. Could you share your config and hw info? Greetings, Andres