Check the CBO stats gathering job Disable the stats gathering job 1.Check the processes instance parameter value The processes instance parameter needs to be set to at least 300. 2.Check the session_cached_cursors instance parameter value. The session_cached_cursors instance parameter should be set to 300. Any value between 200 and 500, inclusive, will be accepted. 3.Check the job_queue_processes instance parameter value. The job_queue_processes instance parameter should be set to 20. 4.Check the shared_pool_size instance parameter value. The shared_pool_size instance parameter should be set to at least 600 megabytes or roughly one third of the sga_target size. 5. Check the redo log size. The size of the EM database instance should be 300 megabytes or greater. Generally, there should be 3 or more redo logs available of this size. 6. Ensure that the EM tablespace has at least one datafile set to autoextensible Add at least one datafile with the autoextend attribute to the EM tablespace 7.Check the open_cursors instance parameter value. The open_cursors instance parameter should be set between 300 and 400, inclusive. 8.Check the sga_target instance parameter value. The sga_target instance parameter should be set to at least 2 gigabytes, and roughly twice the size of the pga_aggregate_target setting. 9.Check for invalid objects in the EM repository Compile all invalid objects in the EM repository
==> 如果之前你的db 安装了EM 的话,那么这条命令可以帮助你:
[oracle@em12c
~]$ emca -deconfig dbcontrol db -repos drop -SYS_PWD password -SYSMAN_PWD password
STARTED
EMCA at Jul 24, 2014 10:13:13 AM
EM
Configuration Assistant, Version 11.2.0.3.0 Production
Copyright
(c) 2003, 2011, Oracle. All rights reserved.
Enter
the following information:
Database
SID: em12c
Listener
port number: 1521
----------------------------------------------------------------------
WARNING
: While repository is dropped the database will be put in quiesce mode.
----------------------------------------------------------------------
Do
you wish to continue? [yes(Y)/no(N)]: Y
Jul
24, 2014 10:13:22 AM oracle.sysman.emcp.EMConfig perform
INFO:
This operation is being logged at /dba/app/oracle/cfgtoollogs/emca/em12c/emca_2014_07_24_10_13_12.log.
Jul
24, 2014 10:13:23 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO:
Stopping Database Control (this may take a while) ...
Jul
24, 2014 10:13:46 AM oracle.sysman.emcp.EMReposConfig invoke
INFO:
Dropping the EM repository (this may take a while) ...
Jul
24, 2014 10:15:57 AM oracle.sysman.emcp.EMReposConfig invoke
INFO:
Repository successfully dropped
Enterprise
Manager configuration completed successfully
FINISHED
EMCA at Jul 24, 2014 10:16:00 AM
被监控服务器,上关于sudo命令的设置:
---/usr/local/etc/sudoers
#
EM12C 安装及卸载 注意点整理,布布扣,bubuko.com
原文地址:http://blog.csdn.net/lmocm/article/details/38490757