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 ;   
一直没有动,又不报错,不知道怎么回事 ?

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-677668/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/35489/viewspace-677668/

你可能感兴趣的:(alter database recover to logical standby xxx 很长时间,为什么)