- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to trace which user slow down oracle perfo...
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО06-04-2007 03:17 AM
тАО06-04-2007 03:17 AM
How to trace which user slow down oracle performance
I wonder if someone could help me : I am using Oracle Application 11.5.7 and Database 8.1.7. How do i trace PID from TOP is belongs to whom ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 03:37 AM
тАО06-04-2007 03:37 AM
Re: How to trace which user slow down oracle performance
A PID in top does normally display the user.
ps -ef | grep
See what information you get.
Oracle Application and database on the same system may be the cause of the issue. That requires a large amount of memory to run efficiently.
http://www.hpux.ws/system.perf.sh
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 03:38 AM
тАО06-04-2007 03:38 AM
Re: How to trace which user slow down oracle performance
Replace
SELECT s.osuser
FROM v$process p, v$session s
WHERE p.addr = s.paddr
AND p.spid='
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 12:35 PM
тАО06-04-2007 12:35 PM
Re: How to trace which user slow down oracle performance
i can't really know who are the user from the output, perhaps we need something like login name ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 12:57 PM
тАО06-04-2007 12:57 PM
Re: How to trace which user slow down oracle performance
Looks at other 'intersting' columns v$process
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_2022.htm
And specifically, check out
MACHINE, TERMINAL, and PROGRAM in
v$session
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_2088.htm
Hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 01:29 PM
тАО06-04-2007 01:29 PM
Re: How to trace which user slow down oracle performance
i suspect something wrong with my settings.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 07:30 PM
тАО06-04-2007 07:30 PM
Re: How to trace which user slow down oracle performance
What you see from v$process and v$session is correct information.
I usually use the following query to find user information:
select b.sid SID,b.serial# "Serial#", c.spid "srvPID", b.osuser, b.username, b.status, b.client_info, machine
from v$session b, v$process c
where b.paddr = c.addr
and c.sPID = &OSPID
from the snap that you have uploaded, we find that both sessions have connected to the database using USERNAME: oraprod
if you need any specific help please let us know.
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 07:44 PM
тАО06-04-2007 07:44 PM
Re: How to trace which user slow down oracle performance
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 07:53 PM
тАО06-04-2007 07:53 PM
Re: How to trace which user slow down oracle performance
break this query into 2 parts and display the results:
select b.sid SID,b.serial# "Serial#", c.spid "srvPID", b.osuser, b.username, b.status, b.client_info, machine
from v$session b, v$process c where b.paddr = c.addr and c.sPID = &OSPID
ie.
select c.spid "srvPID", c.addr
from v$process c
where c.sPID = &OSPID;
and
select b.sid SID,b.serial# "Serial#", b.osuser, b.username, b.status, b.client_info, machine
from v$session b
where b.paddr =
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 08:40 PM
тАО06-04-2007 08:40 PM
Re: How to trace which user slow down oracle performance
thanks