• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

DYNAMICRESOLUTION|NODYNAMICRESOLUTION

mysql 搞代码 4年前 (2022-01-09) 21次浏览 已收录 0个评论

有时候开启OGG进程的时候较慢,可能是因为需要同步的表太多,OGG在开启进程之前会将需要同步的表建立一个记录并且存入到磁盘中,这样就需要耗费大量的时间。OGG同时也提供了DYNAMICRESOLUTION | NODYNAMICRESOLUTION参数来解决这个问题,看官方如何描述的:

有时候开启OGG进程的时候较慢,可能是因为需要同步的表太多,OGG在开启进程之前会将需要同步的表建立一个记录并且存入到磁盘中,这样就需要耗费大量的时间。OGG同时也提供了DYNAMICRESOLUTION | NODYNAMICRESOLUTION参数来解决这个问题,看官方如何描述的:

DYNAMICRESOLUTION | NODYNAMICRESOLUTIONValid for Extract and ReplicatUse the DYNAMICRESOLUTION and NODYNAMICRESOLUTION parameters to control how tablenames are resolved.Use DYNAMICRESOLUTION to make processing start sooner when there is a large number oftables specified in TABLE or MAP statements. By default, whenever a process starts, OracleGoldenGate queries the database for the attributes of the tables and then builds an objectrecord for them. The record is maintained in memory and on disk, and the process ofbuilding it can be time-consuming if the database is large.DYNAMICRESOLUTION causes the object record to be built one table at a time, instead of all atonce. A table’s attributes are added to the record the first time its object ID enters thetransaction log, which occurs with the first extracted transaction on that table. Recordbuildingfor other tables is deferred until activity occurs. DYNAMICRESOLUTION is the same asWILDCARDRESOLVE DYNAMIC.NODYNAMICRESOLUTION causes the object record to be built at startup. This option is notsupported for Teradata. NODYNAMICRESOLUTION is the same as WILDCARDRESOLVE IMMEDIATE.For more information about WILDCARDRESOLVE, see page 389.

发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址