pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Stark <gsstark@mit.edu>
To: Jim C. Nasby <decibel@decibel.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Slow copy with little CPU/disk usage
Date: 20 Apr 2005 00:34:27 -0400
Message-ID: <87d5sqdq24.fsf@stark.xeocode.com> (raw)
In-Reply-To: <20050420020033.GZ58835@decibel.org>
References: <20050420020033.GZ58835@decibel.org>

"Jim C. Nasby" <decibel@decibel.org> 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




view thread (6+ messages)  latest in thread

Message-ID: <87d5sqdq24.fsf@stark.xeocode.com>
Permalink:  ../87d5sqdq24.fsf@stark.xeocode.com/
Also on:    postgresql.org/message-id/87d5sqdq24.fsf@stark.xeocode.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: gsstark@mit.edu, decibel@decibel.org
  Subject: Re: Slow copy with little CPU/disk usage
  In-Reply-To: <87d5sqdq24.fsf@stark.xeocode.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox