主库备库的初始化参数文件

Posted ORACLE-fans

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了主库备库的初始化参数文件相关的知识,希望对你有一定的参考价值。

主库初始化参数文件-initowner.ora

owner.__db_cache_size=1862270976

owner.__java_pool_size=33554432

owner.__large_pool_size=50331648

owner.__oracle_base=‘/u01/app/oracle‘#ORACLE_BASE set from environment

owner.__pga_aggregate_target=838860800

owner.__sga_target=2483027968

owner.__shared_io_pool_size=0

owner.__shared_pool_size=503316480

owner.__streams_pool_size=0

*.audit_file_dest=‘/u01/app/oracle/admin/owner/adump‘

*.audit_trail=‘db‘

*.compatible=‘11.2.0.4.0‘

*.control_files=‘/u01/app/oracle/oradata/owner/control01.ctl‘,‘/u01/app/oracle/oradata/owner/control02.ctl‘

*.db_block_size=8192

*.db_domain=‘‘

*.db_file_name_convert=‘/u01/app/oracle/oradata/ownerbak‘,‘/u01/app/oracle/oradata/owner‘

*.db_name=‘owner‘

*.diagnostic_dest=‘/u01/app/oracle‘

*.dispatchers=‘(PROTOCOL=TCP) (SERVICE=ownerXDB)‘

*.fal_client=‘owner‘

*.fal_server=‘ownerbak‘

*.log_archive_config=‘dg_config=(owner,ownerbak)‘

*.log_archive_dest_1=‘location=/u01/app/oracle/oradata/arch_dir/owner valid_for=(all_logfiles,all_roles) db_unique_name=owner‘

*.log_archive_dest_2=‘service=ownerbak  sync lgwr valid_for=(all_logfiles,all_roles) db_unique_name=ownerbak‘

*.log_archive_format=‘%t_%s_%r.arch‘

*.log_file_name_convert=‘/u01/app/oracle/oradata/ownerbak‘,‘/u01/app/oracle/oradata/owner‘

*.open_cursors=300

*.pga_aggregate_target=823132160

*.processes=150

*.remote_login_passwordfile=‘EXCLUSIVE‘

*.sga_target=2470445056

*.standby_file_management=‘AUTO‘

*.undo_tablespace=‘UNDOTBS1‘

 

备库初始化参数文件-initownerbak.ora

owner.__db_cache_size=1862270976

ownerbak.__db_cache_size=1862270976

owner.__java_pool_size=33554432

ownerbak.__java_pool_size=33554432

owner.__large_pool_size=50331648

ownerbak.__large_pool_size=50331648

owner.__oracle_base=‘/u01/app/oracle‘#ORACLE_BASE set from environment

ownerbak.__oracle_base=‘/u01/app/oracle‘#ORACLE_BASE set from environment

owner.__pga_aggregate_target=838860800

ownerbak.__pga_aggregate_target=838860800

owner.__sga_target=2483027968

ownerbak.__sga_target=2483027968

owner.__shared_io_pool_size=0

ownerbak.__shared_io_pool_size=0

owner.__shared_pool_size=503316480

ownerbak.__shared_pool_size=503316480

owner.__streams_pool_size=0

ownerbak.__streams_pool_size=0

*._enable_rename_user=TRUE

*.audit_file_dest=‘/u01/app/oracle/admin/ownerbak/adump‘

*.audit_sys_operations=TRUE

*.audit_trail=‘db‘

*.compatible=‘11.2.0.4.0‘

*.control_files=‘/u01/app/oracle/oradata/ownerbak/control01.ctl‘

*.db_block_size=8192

*.db_domain=‘‘

*.db_file_name_convert=‘/u01/app/oracle/oradata/owner‘,‘/u01/app/oracle/oradata/ownerbak‘

*.db_name=‘owner‘

*.db_unique_name=‘ownerbak‘

*.diagnostic_dest=‘/u01/app/oracle‘

*.dispatchers=‘(PROTOCOL=TCP) (SERVICE=ownerXDB)‘

*.fal_client=‘ownerbak‘

*.fal_server=‘owner‘

*.log_archive_config=‘dg_config=(owner,ownerbak)‘

*.log_archive_dest_1=‘location=/u01/app/oracle/oradata/arch_dir/ownerbak valid_for=(all_logfiles,all_roles) db_unique_name=ownerbak‘

*.log_archive_dest_2=‘service=owner sync lgwr valid_for=(online_logfiles,primary_role) db_unique_name=owner‘

*.log_archive_format=‘%t_%s_%r.arch‘

*.log_file_name_convert=‘/u01/app/oracle/oradata/owner‘,‘/u01/app/oracle/oradata/ownerbak‘

*.open_cursors=300

*.pga_aggregate_target=823132160

*.processes=150

*.remote_login_passwordfile=‘EXCLUSIVE‘

*.sga_max_size=4613734400

*.sga_target=2470445056

*.standby_file_management=‘auto‘

*.undo_tablespace=‘UNDOTBS1‘

 留做记录

以上是关于主库备库的初始化参数文件的主要内容,如果未能解决你的问题,请参考以下文章

详解dataguard 日志传输服务(参数解析)

ORACLE DG 主备库开启与关闭顺序

linux下oracle11G DG搭建:环绕备库搭建操作

RMAN 修复主库 nologging 操作导致物理备库的坏块

mysql进行分区之后所占的空间是否会变更大?

复制管理和维护