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: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Tue, 14 Feb 2006 09:17:17 -0700
Message-ID: <04DDF147ED3A0D42B48A48A18D574C4503D40231@NT15.oneneck.corp>


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:17:17 CST

Original text of this message

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