alter database recover to logical standby xxx 很長時間,為什麼
SQL> alter database recover to logical standby mxdell2 ;
設定的引數如下: 由於不準備進行primary 和logical standby的切換,僅僅是把logical standby當作查詢server而已,所以沒有設定log_archive_dest_3 .
primary db :
mxdell.__db_cache_size=452984832
mxdell.__java_pool_size=16777216
mxdell.__large_pool_size=16777216
mxdell.__shared_pool_size=704643072
mxdell.__streams_pool_size=0
*.archive_lag_target=600
*.audit_file_dest='/u01/product/admin/mxdell/adump'
*.background_dump_dest='/u01/product/admin/mxdell/bdump'
*.compatible='10.2.0.3.0'
*.control_files='/u01/product/oradata/mxdell/control01.ctl','/u01/product/oradata/mxdell/control02.ctl','/data1/mxdell/control03.ctl'
*.core_dump_dest='/u01/product/admin/mxdell/cdump'
*.db_block_size=16384
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_files=500
*.db_name='mxdell'
*.db_unique_name='mxdell'
*.db_recovery_file_dest='/u01/product/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=mxdellXDB)'
*.event='1652 trace name errorstack'
*.job_queue_processes=36
*.log_archive_config='DG_CONFIG=(mxdell,standby)'
*.log_archive_dest_1='LOCATION=/data1/mxdell/arch valid_for=(ALL_LOGFILES,ALL_ROLES) db_unique_name=mxdell'
*.log_archive_dest_2='service=standby LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=standby'
*.log_archive_dest_state_1=enable
*.log_archive_dest_state_2=enable
*.log_archive_format='%t_%s_%r.arc'
*.log_archive_max_processes=30
*.open_cursors=1000
*.pga_aggregate_target=402653184
*.processes=1000
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=555
*.sga_max_size=2684354560
*.sga_target=1207959552
*.standby_file_management='AUTO'
*.timed_statistics=FALSE
*.undo_management='AUTO'
*.undo_retention=3600
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u01/product/admin/mxdell/udump'
standby db:
mxdell.__db_cache_size=855638016
mxdell.__java_pool_size=16777216
mxdell.__large_pool_size=16777216
mxdell.__shared_pool_size=301989888
mxdell.__streams_pool_size=0
*.audit_file_dest='/u01/product/admin/mxdell/adump'
*.background_dump_dest='/u01/product/admin/mxdell/bdump'
*.compatible='10.2.0.3.0'
*.control_files='/u01/product/oradata/mxdell/control01.ctl','/u01/product/oradata/mxdell/control02.ctl','/data1/mxdell/control03.ctl'
*.core_dump_dest='/u01/product/admin/mxdell/cdump'
*.db_block_size=16384
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_file_name_convert='/data1/mxdell','/data1/mxdell'
*.db_files=500
*.db_name='mxdell'
*.db_unique_name='standby'
*.log_archive_config='DG_CONFIG=(mxdell,standby)'
*.db_recovery_file_dest='/u01/product/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=mxdellXDB)'
*.job_queue_processes=10
*.log_archive_dest_1='LOCATION=/data1/mxdell/arch valid_for=(ALL_LOGFILES,ALL_ROLES) db_unique_name=standby'
*.log_archive_dest_2='service=mxdell LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=mxdell'
*.LOG_ARCHIVE_DEST_STATE_1=ENABLE
*.LOG_ARCHIVE_DEST_STATE_2=ENABLE
*.FAL_SERVER=mxdell
*.FAL_CLIENT=standby
*.log_archive_format='%t_%s_%r.arc'
*.log_file_name_convert='/data1/mxdell','/data1/mxdell'
*.open_cursors=1000
*.pga_aggregate_target=402653184
*.processes=500
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=555
*.sga_target=1207959552
*.standby_file_management='AUTO'
*.timed_statistics=FALSE
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u01/product/admin/mxdell/udump'
建立的物理standby名稱和primary db名稱一樣, 然後執行
SQL> alter database recover managed standby database cancel ;
SQL> alter database recover to logical standby mxdell2 ;
一直沒有動,又不報錯,不知道怎麼回事 ?
設定的引數如下: 由於不準備進行primary 和logical standby的切換,僅僅是把logical standby當作查詢server而已,所以沒有設定log_archive_dest_3 .
primary db :
mxdell.__db_cache_size=452984832
mxdell.__java_pool_size=16777216
mxdell.__large_pool_size=16777216
mxdell.__shared_pool_size=704643072
mxdell.__streams_pool_size=0
*.archive_lag_target=600
*.audit_file_dest='/u01/product/admin/mxdell/adump'
*.background_dump_dest='/u01/product/admin/mxdell/bdump'
*.compatible='10.2.0.3.0'
*.control_files='/u01/product/oradata/mxdell/control01.ctl','/u01/product/oradata/mxdell/control02.ctl','/data1/mxdell/control03.ctl'
*.core_dump_dest='/u01/product/admin/mxdell/cdump'
*.db_block_size=16384
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_files=500
*.db_name='mxdell'
*.db_unique_name='mxdell'
*.db_recovery_file_dest='/u01/product/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=mxdellXDB)'
*.event='1652 trace name errorstack'
*.job_queue_processes=36
*.log_archive_config='DG_CONFIG=(mxdell,standby)'
*.log_archive_dest_1='LOCATION=/data1/mxdell/arch valid_for=(ALL_LOGFILES,ALL_ROLES) db_unique_name=mxdell'
*.log_archive_dest_2='service=standby LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=standby'
*.log_archive_dest_state_1=enable
*.log_archive_dest_state_2=enable
*.log_archive_format='%t_%s_%r.arc'
*.log_archive_max_processes=30
*.open_cursors=1000
*.pga_aggregate_target=402653184
*.processes=1000
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=555
*.sga_max_size=2684354560
*.sga_target=1207959552
*.standby_file_management='AUTO'
*.timed_statistics=FALSE
*.undo_management='AUTO'
*.undo_retention=3600
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u01/product/admin/mxdell/udump'
standby db:
mxdell.__db_cache_size=855638016
mxdell.__java_pool_size=16777216
mxdell.__large_pool_size=16777216
mxdell.__shared_pool_size=301989888
mxdell.__streams_pool_size=0
*.audit_file_dest='/u01/product/admin/mxdell/adump'
*.background_dump_dest='/u01/product/admin/mxdell/bdump'
*.compatible='10.2.0.3.0'
*.control_files='/u01/product/oradata/mxdell/control01.ctl','/u01/product/oradata/mxdell/control02.ctl','/data1/mxdell/control03.ctl'
*.core_dump_dest='/u01/product/admin/mxdell/cdump'
*.db_block_size=16384
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_file_name_convert='/data1/mxdell','/data1/mxdell'
*.db_files=500
*.db_name='mxdell'
*.db_unique_name='standby'
*.log_archive_config='DG_CONFIG=(mxdell,standby)'
*.db_recovery_file_dest='/u01/product/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=mxdellXDB)'
*.job_queue_processes=10
*.log_archive_dest_1='LOCATION=/data1/mxdell/arch valid_for=(ALL_LOGFILES,ALL_ROLES) db_unique_name=standby'
*.log_archive_dest_2='service=mxdell LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=mxdell'
*.LOG_ARCHIVE_DEST_STATE_1=ENABLE
*.LOG_ARCHIVE_DEST_STATE_2=ENABLE
*.FAL_SERVER=mxdell
*.FAL_CLIENT=standby
*.log_archive_format='%t_%s_%r.arc'
*.log_file_name_convert='/data1/mxdell','/data1/mxdell'
*.open_cursors=1000
*.pga_aggregate_target=402653184
*.processes=500
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=555
*.sga_target=1207959552
*.standby_file_management='AUTO'
*.timed_statistics=FALSE
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u01/product/admin/mxdell/udump'
建立的物理standby名稱和primary db名稱一樣, 然後執行
SQL> alter database recover managed standby database cancel ;
SQL> alter database recover to logical standby mxdell2 ;
一直沒有動,又不報錯,不知道怎麼回事 ?
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-677668/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 建立 Logical Standby DatabaseDatabase
- manage logical standby databaseDatabase
- 監控Logical standby databaseDatabase
- Oracle DG建立Logical Standby DatabaseOracleDatabase
- Logical Standby Database的配置步驟.Database
- 建立Data guard logical standby database須知Database
- [江楓]In Memory Undo與logical standby databaseDatabase
- Recover physical standby database after loss of archive log(2)DatabaseHive
- 為什麼你的專案要花這麼長時間?
- ORA-279 signalled during: alter database recover logfileDatabase
- "Alter Database Recover Managed Standby" Errors ORA-1157/1110/27037_1484843.1DatabaseError
- Recover physical standby database after loss of archive log – roll forward(轉)DatabaseHiveForward
- 為什麼程式設計師不擅長估算時間程式設計師
- standby庫,在sqlplus下用recover standby database進行手工恢復SQLDatabase
- Logical Standby中為什麼要求表中資料的唯一性約束
- recover database skip [forever] tablespace XXX 的用法介紹Database
- recover database until cancel和 recover database區別Database
- 4 Creating a Logical Standby Database 建立邏輯備庫Database
- 長時間工作意味著什麼?
- 長時間工作意味著什麼
- Recover_DatabaseDatabase
- rman recover databaseDatabase
- DataGuard:Logical Standby Switchover
- restore、recover到指定時間REST
- Googler為什麼很幸福?Go
- 為什麼《夢幻西遊》能這麼長壽?大型複雜遊戲如何長時間經營?遊戲
- gRPC為什麼使用截止時間而不是超時時間?RPC
- 電腦長時間停留在啟動等待介面是為什麼
- alter database in OracleDatabaseOracle
- Oracle 19c透過recover standby database from service修復GAP案例OracleDatabase
- recover database until timeDatabase
- DataGuard:Logical Standby FailoverAI
- standby databaseDatabase
- 為什麼有些公司的IT很亂?
- 冷備手工完全恢復(recover database,recover tablespace,recover datafile)Database
- Convert a Physical Standby Database into a Snapshot Standby DatabaseDatabase
- alter database datafile offline and alter database tablespace ...offlineDatabase
- recover database using backup controlfile與 recover database 的區別Database