pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Laszlo Nagy <gandalf@designaproduct.biz>
Cc: pgsql-performance@postgresql.org
Subject: Re: Poor performance on seq scan
Date: Tue, 12 Sep 2006 16:48:57 -0400
Message-ID: <21446.1158094137@sss.pgh.pa.us> (raw)
In-Reply-To: <4506EA84.4070200@designaproduct.biz>
References: <450684EC.4090304@designaproduct.biz>
	<17034.1158079926@sss.pgh.pa.us>
	<4506EA84.4070200@designaproduct.biz>

Laszlo Nagy <gandalf@designaproduct.biz> writes:
> Tom Lane wrote:
>> Why is that showing 85+ percent *system* CPU time??

> I'm sorry, this was really confusing. I don't know what it was - 
> probably a background system process, started from cron (?). I retried 
> the same query and I got this:
> [ around 80% idle CPU, 10% system, < 10% user ]

OK, so then the thing really is I/O bound, and Luke is barking up the
right tree.  The system CPU percentage still seems high though.
I wonder if there is a software aspect to your I/O speed woes ...
could the thing be doing PIO instead of DMA for instance?

			regards, tom lane



view thread (26+ messages)  latest in thread

Message-ID: <21446.1158094137@sss.pgh.pa.us>
Permalink:  ../21446.1158094137@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21446.1158094137@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, gandalf@designaproduct.biz
  Subject: Re: Poor performance on seq scan
  In-Reply-To: <21446.1158094137@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