- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: problem with oracle processes taking all cpu
Operating System - HP-UX
1753474
Members
4472
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2008 01:30 AM
тАО03-12-2008 01:30 AM
Hi All,
I'm having problems with a HP-UX server running oracle db for openview.
When OpenView is startet processes called oracleopenview take all available CPU, stalling the system.
Do anyone have some tips to get me started on investigating the cause of this?
Best regards
Uffe Gavnholt
I'm having problems with a HP-UX server running oracle db for openview.
When OpenView is startet processes called oracleopenview take all available CPU, stalling the system.
Do anyone have some tips to get me started on investigating the cause of this?
Best regards
Uffe Gavnholt
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2008 02:29 AM
тАО03-12-2008 02:29 AM
Solution
Hi Uffe,
Use the following query to know what is the Oracle process doing:
select distinct s.sid, s.serial#, s.process client_pid, p.spid server_pid, p.pid oracle_pid
, nvl( s.action, nvl( s.username, substr( s.program, instr( s.program, '(') ))) username_or_action
, s.schemaname, s.osuser, s.status, s.lockwait, s.program, s.machine
, si.consistent_gets, si.physical_reads, q.module, q.sql_text
, s.row_wait_obj#, s.row_wait_file#, s.row_wait_block#, s.row_wait_row#
, round( ss.value) , sn.name
from v$sess_io si, v$session s, v$process p, v$sql q, v$sesstat ss, v$statname sn
where si.sid (+) = s.sid
and p.addr (+) = s.paddr
and q.hash_value = s.sql_hash_value
and q.address = s.sql_address
and ss.sid = s.sid
and nvl( ss.value, 0) != :p_0
and sn.statistic# (+) = ss.statistic#
-- Non-idle:
and sn.name not like '%'||:p_time||'%'
and sn.name not like '%'||:p_sent||'%'
and sn.name not like '%'||:p_pinned||'%'
and sn.name not like '%'||:p_sql||'%'
/*** Filter: ***/
and sn.name like '%CPU%'
/***************/
order by round( ss.value) desc
Best Regards,
Eric Antunes
Use the following query to know what is the Oracle process doing:
select distinct s.sid, s.serial#, s.process client_pid, p.spid server_pid, p.pid oracle_pid
, nvl( s.action, nvl( s.username, substr( s.program, instr( s.program, '(') ))) username_or_action
, s.schemaname, s.osuser, s.status, s.lockwait, s.program, s.machine
, si.consistent_gets, si.physical_reads, q.module, q.sql_text
, s.row_wait_obj#, s.row_wait_file#, s.row_wait_block#, s.row_wait_row#
, round( ss.value) , sn.name
from v$sess_io si, v$session s, v$process p, v$sql q, v$sesstat ss, v$statname sn
where si.sid (+) = s.sid
and p.addr (+) = s.paddr
and q.hash_value = s.sql_hash_value
and q.address = s.sql_address
and ss.sid = s.sid
and nvl( ss.value, 0) != :p_0
and sn.statistic# (+) = ss.statistic#
-- Non-idle:
and sn.name not like '%'||:p_time||'%'
and sn.name not like '%'||:p_sent||'%'
and sn.name not like '%'||:p_pinned||'%'
and sn.name not like '%'||:p_sql||'%'
/*** Filter: ***/
and sn.name like '%CPU%'
/***************/
order by round( ss.value) desc
Best Regards,
Eric Antunes
Each and every day is a good day to learn.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2008 03:10 AM
тАО03-12-2008 03:10 AM
Re: problem with oracle processes taking all cpu
Hi Eric, I owe you a beer
:)
:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2008 03:18 AM
тАО03-12-2008 03:18 AM
Re: problem with oracle processes taking all cpu
Hi Uffe,
You are welcome to ship me some Tuborg's :-)
Eric
You are welcome to ship me some Tuborg's :-)
Eric
Each and every day is a good day to learn.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP