ERROR OGG-01172 Discard file (./dirrpt/repl.dsc) exceeded max bytes (50000000)


今天早上發現OGG目標數據庫復制進程repl一直起不來,在dirrpt目錄下找到repl進程相關日志,其中有這么一句提示

ERROR   OGG-01172  Discard file (./dirrpt/repl.dsc) exceeded max bytes (50000000)

這個錯誤是由於discardfile配置的megabytes 值太小,而傳輸過來的數據太大導致。

該問題可以通加大megabytes的配置,也可以直接刪除該文件,然重啟復制進程。

最終配置參數如下

GGSCI (Roobbin-PC) 47> view params repl
replicat repl

userid ggs_test,password 123456

assumetargetdefs

reperror default,discard

discardfile ./dirrpt/repl.dsc,append,megabytes 50000

dynamicresolution

MAP bjxxjgxt.ryjbxxb, target bjxxjgxt.ryjbxxb;


GGSCI (Roobbin-PC) 48>

數值根據生產環境情況而定。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM