Skip site navigation (1) Skip section navigation (2)

Crappy performance even though not swapping

From: "Neil Aggarwal" <neil(at)JAMMConsulting(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Crappy performance even though not swapping
Date: 2007-02-28 02:50:27
Message-ID: 003001c75ae3$34320d80$0501a8c0@neilhp (view raw, whole thread or download thread mbox)
Lists: pgsql-novice

I have a Java program that is trying to import over 8 million 
rows from a text file.

When the program starts up, it runs fine, but after a while
it begins to crawl.

This is usually symptomatic of a machine that started swapping,
but take a look at the attached output from top.

I am using a LOT of memory, but the swap is still very 
low.  I don't think the machine should be paging to disk.

The CPU states show that the cpus are spending most of their time 
in an idle state.  The process list shows the postmaster and java 
processes are less than 10 percent the CPU cycles.

Having said that, the load average is still about 2.

Any ideas what could be going on?


Neil Aggarwal, (214)986-3533,
FREE! Eliminate junk email and reclaim your inbox.
Visit for details.

Attachment: top.txt
Description: text/plain (11.3 KB)


pgsql-novice by date

Next:From: Phillip SmithDate: 2007-02-28 03:10:27
Subject: Re: Crappy performance even though not swapping
Previous:From: Tom LaneDate: 2007-02-27 16:06:54
Subject: Re: Revoking the right to create (non-temporary) tables?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group