pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shaun Thomas <sthomas@peak6.com>
To: Reuven M. Lerner <reuven@lerner.co.il>
Cc: Glyn Astill <glynastill@yahoo.co.uk>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Very long deletion time on a 200 GB database
Date: Fri, 24 Feb 2012 08:34:06 -0600
Message-ID: <4F479FDE.1070509@peak6.com> (raw)
In-Reply-To: <4F4730B4.2050602@lerner.co.il>
References: <4F45FB55.1020600@lerner.co.il>
	<1329990620.15378.YahooMailNeo@web171403.mail.ir2.yahoo.com>
	<4F4730B4.2050602@lerner.co.il>

On 02/24/2012 12:39 AM, Reuven M. Lerner wrote:

> - CPU is virtually idle when running the deletes, using about 1% of
> CPU

I think you found your problem.

See if you can get the Windows admins to give you some info on how busy 
the disks are (percent utilization, IOPS, something) the next time you 
try this. Increasing your memory settings may help, but a 1% CPU usage 
usually suggests it's waiting for disk blocks to be read before it can 
actually do something.

-- 
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604
312-444-8534
sthomas@peak6.com

______________________________________________

See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email



view thread (42+ messages)  latest in thread

Message-ID: <4F479FDE.1070509@peak6.com>
Permalink:  ../4F479FDE.1070509@peak6.com/
Also on:    postgresql.org/message-id/4F479FDE.1070509@peak6.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: sthomas@peak6.com, reuven@lerner.co.il, glynastill@yahoo.co.uk
  Subject: Re: Very long deletion time on a 200 GB database
  In-Reply-To: <4F479FDE.1070509@peak6.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