ORA-01281: SCN range specified is invalid錯誤

來源:互聯網
上載者:User

在配置Streams,如果先配置streams的進程,還不存在需要的傳輸資料的使用者容易出現ORA-01281: SCN range specified is invalid

select * from  dba_capture

可以看到

ORA-01281: SCN range specified is invalid

這是因為先配置了資料庫雙向傳輸streams的進程,還沒有建立資料庫傳輸的使用者。都是報scn不在範圍之內。

可以把兩端的資料庫的Streams進程刪除,重新設定可解決上面的問題。

exec dbms_capture_adm.drop_capture('CAPTURE_STREAM')

exec dbms_propagation_adm.drop_propagation('SOURCE_TO_TARGET')

exec dbms_apply_adm.drop_apply('TARGET_APPLY_STREAM')

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.