Any suggestions when poor performance leans towards "usr" processes like Oracle. It appears my CPU are expericencing a "thrashing" any suggestions on resolution. And shutting off Oracle is somethng I already suggested.
Oracle does not eat a lot of cpu by itself.
If some oracle process are using a lot of cpu for a long time, it usually means that a big request was made to the database (query or update).
if the procees starts with oracle, then it a user connection else if it starts with ora_ , it is an oracle core process.
Is it one process that grabs most of the cpu or multiple processes ?
How many users do you have connected and what is the hardware ?
Everything is slow, even my mailq is held up. I know the CPU is thrashed but there must be a way to track it back to the data the system is trying to access.
Tne ORA_SNP process is the process which run the jobs scheduled in DBMS_JOBS. The number Oracle starts up is controlled by the job_queue_processes init.ora parameter.
if you are not using the DBMS_JOBS utility then set the parameter to 0.
This process has also caused me problems with many versions of Oracle RDBMS. It seems that it loops and chews up CPU. I am not using it anymore (use cron instead).
There may be a patch for the version of Oracle you are using (doubt it).
DBMS_JOBS are user defined jobs. It is the scheduler from Oracle.
If you do not have any jobs that you want to schedule, then do as I said prior , set job_queue_processes to 0 in your init file, and then do a shutdown and restart of the database. ora_snp... process sould not be there anymore.
If you do have user scheduled jobs than you need to run, (usually PLSQL) then you can wrtie a script that will run the job and then put than script in cron.
If you have the replication or advanced queuing, these features also use DBMS_JOBS.
Also look at the tables DBA_JOBS and USER_JOBS to find out if you have any jobs scheduled. look at next scheduled time
You can also look at the content of table DBA_JOBS_RUNNING to see what is currently running.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.