oracle 升級12c引數樣例
alter system set audit_trail=DB scope=spfile;
alter system set shared_pool_size=2000M scope=spfile;
alter system set shared_pool_reserved_size=160M scope=spfile;
alter system set large_pool_size=176M scope=spfile;
alter system set db_cache_size=5000M scope=spfile;
alter system set streams_pool_size=128M scope=spfile;
alter system set java_pool_size=80M scope=spfile;
Alter system set DB_SECUREFILE='ALWAYS' scope=both;
Alter system set parallel_execution_message_size=32768 scope=spfile;
ALTER SYSTEM SET RESOURCE_LIMIT = TRUE;
alter system set deferred_segment_creation=false scope=both;
alter system set sec_case_sensitive_logon = false scope=both;
alter system set db_writer_processes = 4 scope=spfile;
alter system set archive_lag_target=900 scope=both;
alter system set fast_start_parallel_rollback=false scope=both;
alter system set fast_start_mttr_target=300 scope=both;
alter system set undo_retention=10800 scope=both ;
alter system set cell_offload_processing=false scope=both;
alter system set db_securefile='ALWAYS' scope=both ;
alter system set filesystemio_options='SETALL' scope=spfile;
alter system set log_checkpoints_to_alert=true scope=both;
alter database set default smallfile tablespace;
alter system set optimizer_secure_view_merging=false scope=spfile;
alter system set "_serial_direct_read"=never scope=both ;
alter system set "_use_adaptive_log_file_sync"=false scope=both ;
alter system set "_kttext_warning"=1 scope=both ;
alter system set event ="28401 TRACE NAME CONTEXT FOREVER, LEVEL 1" scope=spfile;
alter profile default limit failed_login_attempts unlimited;
alter profile default limit password_grace_time unlimited;
alter profile default limit password_lock_time unlimited;
alter profile default limit password_life_time unlimited;
noaudit alter system;
noaudit create external job;
noaudit create session;
noaudit role;
noaudit profile;
noaudit grant any role;
noaudit system grant;
noaudit create any procedure;
noaudit alter any procedure;
noaudit drop any procedure;
noaudit alter profile;
noaudit drop profile;
noaudit grant any privilege;
noaudit create any library;
noaudit exempt access policy;
noaudit grant any object privilege;
noaudit create any job;
noaudit system audit;
noaudit directory;
exec dbms_stats.set_global_prefs(pname=>'METHOD_OPT', pvalue=>'FOR ALL COLUMNS SIZE 1');
exec dbms_stats.set_global_prefs(pname=>'PUBLISH', pvalue=>'TRUE');
exec dbms_stats.alter_stats_history_retention(365);
exec dbms_workload_repository.modify_snapshot_settings(retention=>129600,interval=>15);
exec dbms_spm.configure('space_budget_percent',30);
exec dbms_auto_task_admin.disable(client_name=>'auto space advisor',operation=>NULL,window_name=>NULL);
exec dbms_auto_task_admin.disable(client_name=>'sql tuning advisor',operation=>NULL,window_name=>NULL);
exec dbms_stats.gather_dictionary_stats;
alter system set aq_tm_processes = 1 scope = both;
exec dbms_stats.gather_fixed_objects_stats;
alter system set aq_tm_processes = 0 scope = both;
alter system reset aq_tm_processes scope = spfile;
alter database add supplemental log data;
alter database force logging;
alter system set optimizer_capture_sql_plan_baselines = false scope = both;
ALTER SYSTEM SET RESOURCE_MANAGER_PLAN = '' SCOPE=BOTH;
execute dbms_scheduler.set_attribute('WEEKNIGHT_WINDOW','RESOURCE_PLAN','');
execute dbms_scheduler.set_attribute('WEEKEND_WINDOW','RESOURCE_PLAN','');
exec DBMS_STATS.SET_TABLE_PREFS ('SYS', 'WRI$_OPTSTAT_SYNOPSIS$','INCREMENTAL', 'FALSE');
相關文章
- Oracle 12c升級指南Oracle
- Oracle 12C升級到18COracle
- Oracle 11g升級到12COracle
- 【OCM】Oracle 12C OCMU 12c OCM升級考試大綱Oracle
- oracle 12c non-cdb升級成cdb模式Oracle模式
- 【資料庫升級】Oracle指令碼升級12c CDB to 19c CDB資料庫Oracle指令碼
- Oracle 12c升級需遵循的簡單步驟NFOracle
- 【RMAN】Oracle11g透過rman升級到12cOracle
- Oracle 12C新特性-資料泵新引數(LOGTIME)Oracle
- Oracle 12C 中CDB和PDB的引數檔案管理Oracle
- Oracle 12C新特性-資料泵新引數(VIEWS_AS_TABLES)OracleView
- Oracle 12c系列(九) | 通過unplug與plug方式升級pdb資料庫Oracle資料庫
- oracle 10 rac 升級 10.2.0.1升級到10.2.0.5Oracle
- jdk 升級引發bugJDK
- [20181109]12c sqlplus rowprefetch引數5SQL
- Oracle 核心引數Oracle
- Oracle 10.2.0.5升級至11.2.0.4Oracle
- 【Oracle升級】Oracle指令碼升級11g to 19c non-CDBOracle指令碼
- Oracle OCP(56):SQLLDR-樣例OracleSQL
- A Oracle Data Guard Broker 升級和降級Oracle
- 【UP_ORACLE】使用DBUA一鍵化靜默升級到19C以及DBUA引數詳解Oracle
- 升級後欄位引數有自定義函式失效函式
- 12. Oracle版本、補丁及升級——12.3. 升級Oracle
- Oracle:PDB 引數管理Oracle
- oracle rac 11.2.0.3 升級到11.2.0.4Oracle
- Oracle:Oracle RAC 11.2.0.4 升級為 19cOracle
- 靜默升級oracle 11g (從11.2.0.1升級到11.2.0.4)Oracle
- 可變引數例項
- [20181109]12c sqlplus rowprefetch引數5.txtSQL
- [20181108]12c sqlplus rowprefetch引數4.txtSQL
- [20181106]12c sqlplus rowprefetch引數3.txtSQL
- 不要升級!不要升級!MacOS 14.4 引發Java 應用崩潰MacJava應用崩潰
- Oracle database 升級(文件)to 10.2.0.4 from 10.2.0.1OracleDatabase
- 連載三:Oracle升級文件大全Oracle
- 【Oracle版本升級圖--小麥苗】Oracle
- oracle 12C的例項登入設計很腦殘吧Oracle
- CentOS升級核心與容器執行時核心引數的關係CentOS
- Oracle 12C TDE問題引發DG不同步案例分析Oracle