Re: Need to find out which process is hitting hda

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
Cc: "Ow Mun Heng" <Ow(dot)Mun(dot)Heng(at)wdc(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Need to find out which process is hitting hda
Date: 2007-12-14 06:54:01
Message-ID: 28635.1197615241@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Merlin Moncure" <mmoncure(at)gmail(dot)com> writes:
> there are a few things that I can think of that can can cause postgres
> to cause i/o on a drive other than the data drive:
> * logging (eliminate this by moving logs temporarily)
> * swapping (swap is high and changing, other ways)
> * dumps, copy statement (check cron)
> * procedures, especially the external ones (perl, etc) that write to disk

> my seat-of-the-pants guess is that you are looking at swap.

vmstat would confirm or disprove that particular guess, since it tracks
swap I/O separately.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-12-14 07:00:04 Re: UNION not working... why?
Previous Message Stefan Schwarzer 2007-12-14 06:48:07 Re: UNION not working... why?