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 CBB7653CCE for ; Wed, 20 Apr 2005 19:23:09 -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 63832-04 for ; Wed, 20 Apr 2005 22:23:01 +0000 (GMT) Received: from flake.decibel.org (flake.decibel.org [67.100.216.10]) by svr1.postgresql.org (Postfix) with ESMTP id 9F5AE539B8 for ; Wed, 20 Apr 2005 19:23:00 -0300 (ADT) Received: by flake.decibel.org (Postfix, from userid 1001) id A0C4215547; Wed, 20 Apr 2005 17:23:02 -0500 (CDT) Date: Wed, 20 Apr 2005 17:23:02 -0500 From: "Jim C. Nasby" To: Greg Stark Cc: pgsql-performance@postgresql.org Subject: Re: Slow copy with little CPU/disk usage Message-ID: <20050420222302.GX58835@decibel.org> References: <20050420020033.GZ58835@decibel.org> <87d5sqdq24.fsf@stark.xeocode.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87d5sqdq24.fsf@stark.xeocode.com> X-Operating-System: FreeBSD 4.11-RELEASE i386 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.8i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.012 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/540 X-Sequence-Number: 11937 No, he's using either COPY or \COPY. On Wed, Apr 20, 2005 at 12:34:27AM -0400, Greg Stark wrote: > "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 > -- Jim C. Nasby, Database Consultant decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"