码迷,mamicode.com
首页 > 数据库 > 详细

备机大地院系项目dataguard archived_log及standby_log

时间:2015-02-06 14:30:53      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:

主库archivelog及standbylog

仅仅是测试4天的数据,项目并未正式上线
/data/dddb/DBSoftware/app/oracle/product/11.2.0/dbhome_1/dbs/archivelog
/data/dddb/DBSoftware/app/oracle/standbylog

技术分享

备库archivedlog及standbylog

技术分享

技术分享

技术分享

主库spfile

技术分享

主库"listener.ora"

技术分享

主库tnsnames.ora

技术分享

 备库spfile

技术分享

备库tnsnames.ora

/data/dddb/DBSoftware/app/oracle/product/11.2.0/dbhome_1/network/admin

技术分享

备库"listener.ora"

技术分享

主库spfile,listener.ora,tnsnames.ora

技术分享
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = priydb.cc)(PORT = 1521))
    )
  )

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = dg1.priydb.cc)
      (ORACLE_HOME = /data/dddb/DBSoftware/app/oracle/product/11.2.0/dbhome_1)
      (SID_NAME = dg)
    )
  )

ADR_BASE_LISTENER = /data/dddb/DBSoftware/app/oracle
listener.ora
技术分享
dg1 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = priydb.cc)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = dg1.priydb.cc)
    )
  )

dg2 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = stadby.cc)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = dg2.stadby.cc)
    )
  )

for_db =
 (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.252.32.183)(PORT = 1521))
"tnsnames.ora"
技术分享
dg.__db_cache_size=423624704
dg.__java_pool_size=4194304
dg.__large_pool_size=4194304
dg.__oracle_base=‘/data/dddb/DBSoftware/app/oracle‘#ORACLE_BASE set from environment
dg.__pga_aggregate_target=432013312
dg.__sga_target=641728512
dg.__shared_io_pool_size=0
dg.__shared_pool_size=197132288
dg.__streams_pool_size=0
*.audit_file_dest=‘/data/dddb/DBSoftware/app/oracle/admin/dg/adump‘
*.audit_trail=‘db‘
*.compatible=‘11.2.0.0.0‘
*.control_files=‘/data/dddb/DBData/oradata/dg/control01.ctl‘,‘/data/dddb/DBSoftware/app/oracle/flash_recovery_area/dg/control02.ctl‘
*.db_block_size=8192
*.db_domain=‘priydb.cc‘
*.db_name=‘dg‘
*.db_recovery_file_dest=‘/data/dddb/DBSoftware/app/oracle/flash_recovery_area‘
*.db_recovery_file_dest_size=4070572032
*.db_unique_name=‘dg1‘
*.diagnostic_dest=‘/data/dddb/DBSoftware/app/oracle‘
*.dispatchers=‘(PROTOCOL=TCP) (SERVICE=dgXDB)‘
*.fal_client=‘dg1‘
*.fal_server=‘dg2‘
*.local_listener=‘for_db‘
*.log_archive_config=‘DG_CONFIG=(dg1,dg2)‘
*.log_archive_dest_1=‘LOCATION=/data/dddb/DBSoftware/app/oracle/product/11.2.0/dbhome_1/dbs/archivelog valid_for=(all_logfiles,primary_role) db_unique_name=dg1‘
*.log_archive_dest_2=‘SERVICE=dg2 lgwr sync valid_for=(online_logfile,primary_role) db_unique_name=dg2‘
*.log_archive_dest_3=‘LOCATION=/data/dddb/DBSoftware/app/oracle/standbylog valid_for=(standby_logfile,standby_role) db_unique_name=dg1‘
*.memory_target=1073741824
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile=‘EXCLUSIVE‘
*.standby_file_management=‘AUTO‘
*.undo_tablespace=‘UNDOTBS1‘
/initdg.ora"

 

备机大地院系项目dataguard archived_log及standby_log

标签:

原文地址:http://www.cnblogs.com/ruiy/p/4276881.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!