Oracle初始化引數設定new(轉)
Oracle初始化引數設定
[@more@]ALTER DATABASE DATAFILEd:ORANTDATABASEUSER1ORCL.ORA RESIZE 1000M;
CREATE TABLESPACE INDEX_DATA DATAFILEd:ORANTDATABASEINDEX_DATA SIZE 500M;
ALTER DATABASE DATAFILEd:ORANTDATABASERBS1ORCL.ORA RESIZE 300M;
ALTER DATABASE DATAFILEd:ORANTDASTABASETMP1ORCL.ORA RESIZE 300M;
alter rollback segment "RB1" offline;
alter rollback segment "RB2" offline;
alter rollback segment "RB3" offline;
alter rollback segment "RB4" offline;
alter rollback segment "RB5" offline;
alter rollback segment "RB6" offline;
alter rollback segment "RB7" offline;
alter rollback segment "RB8" offline;
alter rollback segment "RB9" offline;
alter rollback segment "RB10" offline;
alter rollback segment "RB11" offline;
alter rollback segment "RB12" offline;
alter rollback segment "RB13" offline;
alter rollback segment "RB14" offline;
alter rollback segment "RB15" offline;
alter rollback segment "RB16" offline;
drop rollback segment "RB1";
drop rollback segment "RB2";
drop rollback segment "RB3";
drop rollback segment "RB4";
drop rollback segment "RB5";
drop rollback segment "RB6";
drop rollback segment "RB7";
drop rollback segment "RB8";
drop rollback segment "RB9";
drop rollback segment "RB10";
drop rollback segment "RB11";
drop rollback segment "RB12";
drop rollback segment "RB13";
drop rollback segment "RB14";
drop rollback segment "RB15";
drop rollback segment "RB16";
create rollback segment "RB1" tablespace "ROLLBACK_DATA" storage (initial 1m next 1m);
create rollback segment "RB2" tablespace "ROLLBACK_DATA" storage (initial 1m next 1m);
create rollback segment "RB3" tablespace "ROLLBACK_DATA" storage (initial 1m next 1m);
create rollback segment "RB4" tablespace "ROLLBACK_DATA" storage (initial 1m next 1m);
create rollback segment "RB5" tablespace "ROLLBACK_DATA" storage (initial 1m next 1m);
create rollback segment "RB6" tablespace "ROLLBACK_DATA" storage (initial 1m next 1m);
alter rollback segment "RB1" online;
alter rollback segment "RB2" online;
alter rollback segment "RB3" online;
alter rollback segment "RB4" online;
alter rollback segment "RB5" online;
alter rollback segment "RB6" online;
alter database add logfile c:orantdatabaselog1.ora size 10m;
alter database add logfile c:orantdatabaselog2.ora size 10m;
alter database add logfile c:orantdatabaselog3.ora size 10m;
alter database add logfile c:orantdatabaselog4.ora size 10m;
alter database drop logfile c:orantdatabaselog1orcl.ora;
alter database drop logfile c:orantdatabaselog2orcl.ora;
alter database drop logfile c:orantdatabaselog3orcl.ora;
alter database drop logfile c:orantdatabaselog4orcl.ora;
INITORAL.ORA配置:
SGA=db_block_buffers*db_block_size+share_pool_size+log_buffers+sort_arer_size+1m=1/3--1/2
以128M為例:
DB_BLOCK_BUFFERS=16000(db_block_size=2k)
SHARE_POOL_SIZE=30720000(伺服器要增大10倍)
LOG_BUFFERS=655360
SORT_AREA_SIZE=327680(伺服器要增大100倍)----------新增
GLOBAL_NAME=FALSE
ROLLBACK_SEGEMENTS=(RB1,RB2)//一般大型資料庫要建立6-8個回滾段
新增:
DML_LOCKS=1000
OPEN_CURSORS=200
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9417382/viewspace-937337/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 2.7.6.2 設定或修改初始化引數的值
- Oracle初始化引數的來源Oracle
- java 執行緒池的初始化引數解釋和引數設定Java執行緒
- 所有初始化引數說明(轉)
- Oracle 標準審計,設定AUDIT_SYSLOG _LEVEL引數Oracle
- Oracle RAC引數設定優先順序別問題分析Oracle
- tomcat vm 引數設定Tomcat
- Oracle安裝相關Linux引數(轉)OracleLinux
- 16 初始化引數
- pandas引數設定小技巧
- Metasploit設定VERBOSE引數技巧
- Metasploit設定HttpTrace引數技巧HTTP
- Metasploit設定LHOST引數技巧
- JVM引數設定大氣JVM
- JVM常見引數設定JVM
- [轉帖]Redis相關的核心引數解釋與設定Redis
- 超大記憶體環境下的Oracle RAC引數設定建議記憶體Oracle
- Oracle RAC啟動歸檔時需要設定CLUSTER_DATABASE引數嗎?OracleDatabase
- 2.6 指定初始化引數
- 2.7.5 SPFILE初始化引數
- 2.6.10 設定許可證引數
- [20200220]windows設定keepalive引數.txtWindows
- Oracle 核心引數Oracle
- 0607-引數初始化策略
- Java設定JSON字串引數編碼JavaJSON字串
- Nginx伺服器常用引數設定Nginx伺服器
- 2.7.11 檢視引數設定的方法
- Azure Blob (三)引數設定說明
- curl CURLOPT_WRITEFUNCTION 的引數設定Function
- basler工業相機引數設定
- Oracle:PDB 引數管理Oracle
- C++11(列表初始化+變數型別推導+型別轉換+左右值概念、引用+完美轉發和萬能應用+定位new+可變引數模板+emplace介面)C++變數型別
- 2.6.9.1 關於 COMPATIBLE初始化引數
- 2.6.8.2 UNDO_TABLESPACE 初始化引數
- 2.6.8.1 UNDO_MANAGEMENT 初始化引數
- 2.6.2.2 初始化引數DB_DOMAINAI
- 2.6.2.1 初始化引數DB_NAME
- 2.6.1.1 初始化引數檔案示例
- 2.7.7 清除初始化引數的值