Processes that Used Too Much
CPU Resources
- Use 'top' command to find which processes (PID) eat much CPUs. - Join v$process & v$session & v$sqlarea to know what happens in. Check alert log for any error messages/trace file generated. You can also sice the oracle processes in windows. For that you have to install microsoft's qslice. (can be downloaded from microsoft site) Take note that using 'ALTER SYSTEM KILL SESSION' is not enough to kill absolutely a session; it just kill Oracle session. As we know, one session in V$SESSION will have one corresponding process on Server Operating System. So we also need to kill the server process. On *nix, we use 'kill' command to kill a process. On Windows, we can use $ORACLE_HOME/bin/orakill.exe. For finding which process eat much CPU resource, you can use this sql CODE: CPU Usage By Session
Username - Name of the user
select nvl(ss.USERNAME,'ORACLE
PROC') username,
Have a Oracle Question
Oracle Books
Oracle Application
Oracle Home
All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|