pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rémy Beaumont <remyb@medrium.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: High load and iowait but no disk access
Date: Tue, 30 Aug 2005 12:29:02 -0400
Message-ID: <22550.1125419342@sss.pgh.pa.us> (raw)
In-Reply-To: <2fa5224f3e5af53598e33d115a2af980@medrium.com>
References: <bcd92b00545ffeef542f68666144099d@medrium.com>
	<22417.1125418551@sss.pgh.pa.us>
	<2fa5224f3e5af53598e33d115a2af980@medrium.com>

=?ISO-8859-1?Q?R=E9my_Beaumont?= <remyb@medrium.com> writes:
> On 30-Aug-05, at 12:15, Tom Lane wrote:
>> I know zip about NetApps, but doesn't the 8th column indicate pretty
>> steady disk reads?

> Yes, but they are very low.

Sure, but that's more or less what you'd expect if the thing is randomly
seeking all over the disk :-(.  Just because it's a NetApp doesn't mean
it's got zero seek time.

You did not say what sort of query this is, but I gather that it's doing
an indexscan on a table that is not at all in index order.  Possible
solutions involve reverting to a seqscan (have you forced the planner to
choose an indexscan here, either directly or by lowering random_page_cost?)
or CLUSTERing the table by the index (which would need to be repeated
periodically, so it's not a great answer).

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <22550.1125419342@sss.pgh.pa.us>
Permalink:  ../22550.1125419342@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22550.1125419342@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, remyb@medrium.com
  Subject: Re: High load and iowait but no disk access
  In-Reply-To: <22550.1125419342@sss.pgh.pa.us>

* 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