安裝em cc的注意點
阿新 • • 發佈:2019-02-18
1關閉自動統計資訊收集
SQL> BEGIN 2 dbms_auto_task_admin.disable( 3 client_name => 'sql tuning advisor', 4 operation => NULL, 5 window_name => NULL); 6 END; 7 / PL/SQL procedure successfully completed. SQL> select client_name,status from DBA_AUTOTASK_CLIENT; CLIENT_NAME STATUS ---------------------------------------------------------------- -------- auto optimizer stats collection ENABLED auto space advisor ENABLED sql tuning advisor DISABLED
SQL> BEGIN 2 dbms_auto_task_admin.disable( 3 client_name => 'auto space advisor', 4 operation => NULL, 5 window_name => NULL); 6 END; 7 / PL/SQL procedure successfully completed. SQL> select client_name,status from DBA_AUTOTASK_CLIENT; CLIENT_NAME STATUS ---------------------------------------------------------------- -------- auto optimizer stats collection ENABLED sql tuning advisor DISABLED auto space advisor DISABLED
SQL> BEGIN 2 dbms_auto_task_admin.disable( 3 client_name => 'auto optimizer stats collection', 4 operation => NULL, 5 window_name => NULL); 6 END; 7 / PL/SQL procedure successfully completed. SQL> select client_name,status from DBA_AUTOTASK_CLIENT; CLIENT_NAME STATUS ---------------------------------------------------------------- -------- auto optimizer stats collection DISABLED sql tuning advisor DISABLED auto space advisor DISABLED
2 ALTER SYSTEM SET processes=500 SCOPE=SPFILE;
ALTER SYSTEM SET session_cached_cursors=500 SCOPE=SPFILE;
ALTER SYSTEM SET sga_target=2G SCOPE=SPFILE;
ALTER SYSTEM SET job_queue_processes=20 SCOPE=SPFILE;
ALTER SYSTEM SET open_cursors=300 SCOPE=SPFILE;
alter system set db_securefile='PERMITTED';
alter system set parallel_max_servers=160 scope=spfile;
alter system set parallel_max_servers=8 scope=spfile;
3
redo日誌的大小至少要300m