首页 > 代码库 > 对一段Oracle GoldenGate (OGG) 传输进程日志(.rpt文件)的解释
对一段Oracle GoldenGate (OGG) 传输进程日志(.rpt文件)的解释
本文为原创,转载请注明出处。
说明:
/u02/ggs/dirdat/sb为源头抽取进程形成的trail文件名
/u02/ggs/dirdat/tb为源头传输进程往目的端传输,在目的端形成的trail文件名。
2014-08-01 13:51:11 INFO OGG-01026 Rolling over remote file /u02/ggs/dirdat/tb001540.--->这个Rolling over 就是传输进程正在向目的端传输trail文件,在目的端形成的trail文件名为tb001540(当然,熟悉OGG的人都知道,在目的端上还有server进程,负责在目的端写入源头传输进程传输过来的trail文件。这里不描述server进程) Switching to next trail file /u02/ggs/dirdat/sb005614 at 2014-08-01 13:58:01 due to EOF, with current RBA 49999629 Opened trail file /u02/ggs/dirdat/sb005614 at 2014-08-01 13:58:01 Switching to next trail file /u02/ggs/dirdat/sb005615 at 2014-08-01 14:04:37 due to EOF, with current RBA 49999885 Opened trail file /u02/ggs/dirdat/sb005615 at 2014-08-01 14:04:37 Switching to next trail file /u02/ggs/dirdat/sb005616 at 2014-08-01 14:11:10 due to EOF, with current RBA 49999729 Opened trail file /u02/ggs/dirdat/sb005616 at 2014-08-01 14:11:10 Switching to next trail file /u02/ggs/dirdat/sb005617 at 2014-08-01 14:18:09 due to EOF, with current RBA 49999971 Opened trail file /u02/ggs/dirdat/sb005617 at 2014-08-01 14:18:09 --->以上四组Switching to next trail file 就是传输进程在检索源头trail文件(sb005614到sb005617)。也许有人会问,还要检索干啥,其实,OGG灵活就灵活在这里,用一句话来概括:抽取的table未必都传输,传输的table未必都应用。
2014-08-01 14:24:46 INFO OGG-01026 Rolling over remote file /u02/ggs/dirdat/tb001541. Switching to next trail file /u02/ggs/dirdat/sb005618 at 2014-08-01 14:25:42 due to EOF, with current RBA 49999853 Opened trail file /u02/ggs/dirdat/sb005618 at 2014-08-01 14:25:42
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。