欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

对一段Oracle GoldenGate (OGG) 传输进程日志(.rpt文件)的解

程序员文章站 2024-01-18 18:10:10
...

说明: /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 就

说明:

/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