X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 438B853335 for ; Wed, 20 Apr 2005 01:34:45 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 14110-09 for ; Wed, 20 Apr 2005 04:34:35 +0000 (GMT) Received: from stark.xeocode.com (stark.xeocode.com [216.58.44.227]) by svr1.postgresql.org (Postfix) with ESMTP id 7E4A153325 for ; Wed, 20 Apr 2005 01:34:34 -0300 (ADT) Received: from localhost ([127.0.0.1] helo=stark.xeocode.com) by stark.xeocode.com with smtp (Exim 3.36 #1 (Debian)) id 1DO6ux-0001UZ-00; Wed, 20 Apr 2005 00:34:27 -0400 To: "Jim C. Nasby" Cc: pgsql-performance@postgresql.org Subject: Re: Slow copy with little CPU/disk usage References: <20050420020033.GZ58835@decibel.org> In-Reply-To: <20050420020033.GZ58835@decibel.org> From: Greg Stark Organization: The Emacs Conspiracy; member since 1992 Date: 20 Apr 2005 00:34:27 -0400 Message-ID: <87d5sqdq24.fsf@stark.xeocode.com> Lines: 12 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/486 X-Sequence-Number: 11883 "Jim C. Nasby" writes: > What's really odd is that neither the CPU or the disk are being > hammered. The box appears to be pretty idle; the postgresql proces is > using 4-5% CPU. Is he committing every row? In that case you would see fairly low i/o bandwidth usage because most of the time is being spent seeking and waiting for rotational latency. -- greg