Re: [HACKERS] A Better External Sort?

From: Michael Stone <mstone+postgres(at)mathom(dot)us>
To: Luke Lonergan <LLonergan(at)greenplum(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-performance(at)postgresql(dot)org
Subject: Re: [HACKERS] A Better External Sort?
Date: 2005-10-05 15:33:49
Message-ID: 20051005153349.GZ2241@mathom.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

On Wed, Oct 05, 2005 at 11:24:07AM -0400, Luke Lonergan wrote:
>Nope - it would be disk wait.

I said I/O overhead; i.e., it could be the overhead of calling the
kernel for I/O's. E.g., the following process is having I/O problems:

time dd if=/dev/sdc of=/dev/null bs=1 count=10000000
10000000+0 records in
10000000+0 records out
10000000 bytes transferred in 8.887845 seconds (1125132 bytes/sec)

real 0m8.889s
user 0m0.877s
sys 0m8.010s

it's not in disk wait state (in fact the whole read was cached) but it's
only getting 1MB/s.

Mike Stone

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc Munro 2005-10-05 15:38:39 Re: Announcing Veil
Previous Message Tom Lane 2005-10-05 15:26:27 Re: Interesting optimizer's supposition in 8.1

Browse pgsql-performance by date

  From Date Subject
Next Message Ron Peacetree 2005-10-05 16:14:21 Re: [HACKERS] A Better External Sort?
Previous Message Luke Lonergan 2005-10-05 15:24:07 Re: [HACKERS] A Better External Sort?