- 最后登录
- 2012-7-10
- 在线时间
- 28 小时
- 威望
- 73
- 金钱
- 535
- 注册时间
- 2011-10-14
- 阅读权限
- 50
- 帖子
- 60
- 精华
- 0
- 积分
- 73
- UID
- 35
|
5#
发表于 2011-12-1 19:36:20
主库
# tnsnames.ora Network Configuration File: /u01/oraclehome/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
orcl1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.19.81)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
(INSTANCE_NAME = orcl1)
)
)
orcl2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.19.83)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
(INSTANCE_NAME = orcl2)
)
)
ORCLDG =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.15.61)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
初始化参数
orcl2.__db_cache_size=1040187392
orcl1.__db_cache_size=838860800
orcl2.__java_pool_size=67108864
orcl1.__java_pool_size=67108864
orcl2.__large_pool_size=16777216
orcl1.__large_pool_size=16777216
orcl1.__oracle_base='/u01/oraclehome/app/oracle'#ORACLE_BASE set from environment
orcl2.__oracle_base='/u01/oraclehome/app/oracle'#ORACLE_BASE set from environment
orcl2.__pga_aggregate_target=5217714176
orcl1.__pga_aggregate_target=5217714176
orcl2.__sga_target=2936012800
orcl1.__sga_target=2936012800
orcl2.__shared_io_pool_size=0
orcl1.__shared_io_pool_size=0
orcl2.__shared_pool_size=1761607680
orcl1.__shared_pool_size=1962934272
orcl2.__streams_pool_size=0
orcl1.__streams_pool_size=0
*.audit_file_dest='/u01/oraclehome/app/oracle/admin/orcl/adump'
*.audit_trail='db'
*.cluster_database=TRUE
*.compatible='11.2.0.0.0'
*.control_files='+DB/orcl/controlfile/current.330.764887531','+FRA/orcl/controlfile/current.352.764887531'
*.db_block_size=8192
*.db_create_file_dest='+DB'
*.db_domain=''
*.db_file_name_convert='+DB/orcl/datafile/','/u01/oraclehome/app/oracle/oradata/orcl/datafile','+DB/orcl/tempfile/','/u01/oraclehome/app/oracle/oradata/orcl/tempfile','+DB/orcl/','/u01/oraclehome/app/oracle/oradata/orcl/datafile'
*.db_name='orcl'
*.db_recovery_file_dest='+FRA'
*.db_recovery_file_dest_size=4039114752
*.diagnostic_dest='/u01/oraclehome/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.fal_client='ORCL'
*.fal_server='ORCLDG'
orcl1.instance_number=1
orcl2.instance_number=2
orcl1.local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.19.82)(PORT=1521))))'
orcl2.local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.19.84)(PORT=1521))))'
*.log_archive_config='DG_CONFIG=(orcl,orcldg)'
*.log_archive_dest_1='LOCATION=/tmp/arch/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=orcl'
*.log_archive_dest_2='SERVICE=orcldg LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=orcldg'
*.log_archive_dest_state_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
*.log_archive_format='%t_%s_%r.arc'
*.log_file_name_convert='+DB/orcl/onlinelog/','/u01/oraclehome/app/oracle/oradata/orcl/onlinelog','+DB/orcl/onlinelog/','/u01/oraclehome/app/oracle/oradata/orcl/onlinelog'
*.memory_target=8146386944
*.nls_language='SIMPLIFIED CHINESE'
*.nls_territory='CHINA'
*.open_cursors=300
*.processes=730
*.remote_listener='scan:1521'
*.remote_login_passwordfile='exclusive'
*.sessions=800
*.standby_file_management='AUTO'
orcl2.thread=2
orcl1.thread=1
orcl2.undo_tablespace='UNDOTBS2'
orcl1.undo_tablespace='UNDOTBS1'
备库
# tnsnames.ora Network Configuration File: /u01/oraclehome/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
orcl1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.19.81)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
(INSTANCE_NAME = orcl1)
)
)
orcl2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.19.83)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
(INSTANCE_NAME = orcl2)
)
)
ORCLDG =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.15.61)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)
*.audit_file_dest='/u01/oraclehome/app/oracle/admin/orcl/adump'
*.background_dump_dest='/u01/oraclehome/app/oracle/admin/orcl/bdump'
*.control_files='/u01/oraclehome/app/oracle/oradata/orcl/datafile/control01.ctl','/u01/oraclehome/app/oracle/oradata/orcl/datafile/control02.ctl','/u01/oraclehome/app/oracle/oradata/orcl/datafile/control03.ctl'
*.core_dump_dest='/u01/app/oracle/admin/orcl/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_file_name_convert='+DB/orcl/datafile/','/u01/oraclehome/app/oracle/oradata/orcl/datafile','+DB/orcl/tempfile/','/u01/oraclehome/app/oracle/oradata/orcl/tempfile','+DB/orcl/','/u01/oraclehome/app/oracle/oradata/orcl/datafile'
*.db_name='orcl'
*.db_unique_name='orcldg'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.fal_client='orcl'
*.fal_server='orcl1','orcl2'
*.job_queue_processes=10
*.log_archive_config='dg_config=(orcl,orcldg)'
*.log_archive_dest_1='LOCATION=/tmp/arch'
*.log_archive_dest_2='service=orcl1 VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=orcl'
*.log_archive_dest_state_2='ENABLE'
*.LOG_FILE_NAME_CONVERT='+DB/orcl/onlinelog/','/u01/oraclehome/app/oracle/oradata/orcl/onlinelog','+DB/orcl/onlinelog/','u01/oraclehome/app/oracle/oradata/orcl/onlinelog'
*.open_cursors=300
*.pga_aggregate_target=59768832
*.processes=150
*.remote_login_passwordfile='exclusive'
*.sga_target=179306496
*.standby_archive_dest='/tmp/arch'
*.standby_file_management='auto'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u01/oraclehome/app/oracle/admin/orcl/udump' |
|