Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: can I measure IO per process?

RE: can I measure IO per process?

From: Henry Poras <henry_at_itasoftware.com>
Date: Tue, 14 Feb 2006 11:23:15 -0500
Message-ID: <009201c63182$f59d6400$3800040a@itasoftware.com>


Thanks Allen. I was thinking about at the OS level. Two reasons for this. One, if there is some non-database process out there (rman, exp, OS tool, ...), I don't skip it. Secondly, if it is a database issue, I can tell quickly if most of the IO is from the top 1,2,3,... processes, and then focus on those with the db tools.  

Henry  

-----Original Message-----
From: Allen, Brandon [mailto:Brandon.Allen_at_OneNeck.com] Sent: Tuesday, February 14, 2006 11:17 AM To: henry_at_itasoftware.com; oracle-l_at_freelists.org Subject: RE: can I measure IO per process?

If you're talking about how to associate IO with an oracle session, you can do something like this:  

select a.sid, a.username, a.osuser, d.spid, c.name, b.value from v$session a, v$sesstat b, v$statname c, v$process d where a.sid = b.sid and a.paddr = d.addr and b.statistic# = c.statistic# and c.name like 'physical%' and value
> 1000 order by b.value;
 

If you want to do it for a non-oracle process at the OS level, I'm not sure how to do that.    

-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Henry Poras
Sent: Tuesday, February 14, 2006 8:44 AM To: oracle-l_at_freelists.org
Subject: can I measure IO per process?

I'm currently running on RedHat AS3. On one of our boxes I noticed the CPU was spending most of its time with 'wait io' (wa column in vmstat was 85%-95%). The servicetime as seen from iostat -dk -x was also high, so this was a problem. What I couldn't figure out, and what would be very useful, was how to associate the io with specific processes. Is there a way to do this?

Thanks.

Henry

Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Feb 14 2006 - 10:23:15 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US