Oracle建庫必備的核心初始化引數
安裝完資料庫軟體的下一步就是建立資料庫,如果是手工建立資料庫或對資料庫所佔用的記憶體進行一些合理化配置,就需要理解必備的建庫初始化引數。
今天在手工建庫過程中,發現$ORACLE_HOME/dbs/下的init.ora和initdw.ora兩個檔案內容也是值得讀一遍。因此產生了Oracle建庫必備的核心初始化引數有哪些的想法,總結如下:
1、Oracle 9i 環境
以1G實體記憶體為例,給OS留50%,其餘用於Oracle。在Oracle9i提出了pga_agregate_target引數。
db_name = MY_DB_NAME
control_files = (ora_control1, ora_control2)
shared_pool_size = 50M
pga_aggregate_target = 200M
db_cache_size = 200M
undo_management = auto
undo_tablespace =undotbs1
[@more@]當然還有其他的引數,initdw.ora檔案中介紹的也是非常詳細,在此只是列出必備的。
# Memory is managed globally. The DBA should first determine how much
# memory is available for Oracle to use. Then, the DBA should choose
# memory parameters so that pga_aggregate_size + db_cache_size +
# shared_pool_size + large_pool_size is roughly equal to the amount
# of memory available for the Oracle database.
#
# For example, suppose that a DBA is managing a small data mart. The
# data mart server has 1GB of physical memory. The DBA has determined
# that 500M of memory will be used by the operating system and other
# applications, so that 500M is available for Oracle.
#
# The DBA may choose the following settings:
# shared_pool_size = 50M
# pga_aggregate_size = 200M
# db_cache_size = 200M
# large_pool_size =
#
# The total memory utilization is 450M plus a system-determined value
# for the large pool.
# pga_aggregate_target should, in general, be equal to 20-80% of the
# available memory, depending on the workload.
# db_cache_size should, in general, be equal to 20-80% of the
# available memory, depending on the workload.
# Shared pool size should be, in general, equal to 5-10% of the
# available memory.
2、Oracle 10g 環境
在Oracle10g,提出sga_max_size和sga_target引數
db_name = MY_DB_NAME
control_files = (ora_control1, ora_control2)
pga_aggregate_target = 200M
sga_target= 250M
undo_management = auto
undo_tablespace =undotbs1
3、Oracle 11g 環境
類似SGA_MAX_SIZE與SGA_TARGET一樣,MEMORY_MAX_TARGET與MEMORY_TARGET成對出現,這一特性的出現使得PGA+SGA作為整體記憶體使用被一致的納入自動管理範疇。。
在Oracle10g,提出sga_max_size和sga_target引數
db_name = MY_DB_NAME
control_files = (ora_control1, ora_control2)
memory_targe=450M
MEMORY_MAX_TARGET=450M
undo_management = auto
undo_tablespace =undotbs1
與Oracle10g類似,設定了自動記憶體管理之後,PGA_AGGREGATE_TARGET引數不再需要設定,取而代之發揮作用的引數是帶有2個下劃線的__PGA_AGGREGATE_TARGET引數
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/18841027/viewspace-1059851/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle建完庫後必須先設好的三個引數Oracle
- 核心引數導致的備庫當機分析
- Oracle 核心引數Oracle
- ORACLE核心引數Oracle
- oracle初始化引數Oracle
- ORACLE初始化引數的配置Oracle
- Oracle初始化引數的來源Oracle
- ORACLE RAC資料庫中的初始化引數的設定Oracle資料庫
- Oracle幾個初始化引數Oracle
- Oracle RAC初始化引數管理Oracle
- oracle 常見初始化引數Oracle
- 談談ORACLE核心引數Oracle
- oracle核心引數意義Oracle
- Oracle 並行相關的初始化引數Oracle並行
- Oracle 11G 資料庫重要的初始化引數設定Oracle資料庫
- ORACLE初始化引數:AUDIT_TRAILOracleAI
- Oracle FILESYSTEMIO_OPTIONS初始化引數Oracle
- oracle rac 核心引數詳解Oracle
- Oracle和SUN Solaris核心引數Oracle
- oracle相關的linux核心引數OracleLinux
- Linux核心引數以及Oracle引數調整(updated)LinuxOracle
- RCU-資料庫初始化引數資料庫
- ORACLE初始化引數檔案介紹Oracle
- Oracle USE_LARGE_PAGES初始化引數Oracle
- Oracle SQL92_SECURITY初始化引數OracleSQL
- Oracle初始化引數設定new(轉)Oracle
- Linux 核心引數優化(for oracle)Linux優化Oracle
- Oracle和SUN Solaris核心引數(轉)Oracle
- Linux 核心引數 和 Oracle相關引數調整LinuxOracle
- Linux 核心引數及Oracle相關引數調整LinuxOracle
- Oracle中的sysctl.conf核心引數Oracle
- 安裝oracle時核心引數的含義Oracle
- oracle sga配置相關的os 核心引數Oracle
- 搭建Oracle DataGurad需要的常用初始化引數Oracle
- Oracle修改初始化引數(initialization parameter)scope的選項Oracle
- Oracle 9i初始化引數檔案Oracle
- oracle10g初始化引數說明Oracle
- 【原創】Oracle 初始化引數&效能檢視Oracle