发行说明


15.9 Chapter 8. Problem Determination

“复制分析器”在 Windows 32 位系统和 AIX 上运行。要在 AIX 上运行“分析器”,应确保在 PATH 环境变量中,sqllib/bin 目录在 /usr/local/bin 之前出现,以避免与 /usr/local/bin/analyze 发生冲突。

“复制分析器”还有两个附加的可选关键字 CT 和 AT。

CT=n
仅显示在 Capture 跟踪表中出现不到 n 天的那些条目。此关键字是可选的。如果未指定此关键字,则缺省值为 7 天。

AT=n
仅显示在 Apply 跟踪表中出现不到 n 天的那些条目。此关键字是可选的。如果未指定此关键字,则缺省值为 7 天。

示例:

analyze mydb1 mydb2 f=mydirectory ct=4 at=2 deepcheck q=applyqual1

对于“复制分析器”,更新了以下关键字信息:

deepcheck
指定“分析器”执行更为彻底的分析,包括下列信息:CD 和 UOW 表调整信息、DB2 OS/390 版表空间分区和压缩详细信息、有关预订键的目标索引的分析、预订时间限制和预订集 SQL 语句错误。分析会涵盖所有服务器。此关键字是可选的。

lightcheck
指定下列信息应从报告中排除:即下列项中的所有列详细信息应被排除:ASN.IBMSNAP_SUBS_COLS 表、预订错误、不规则或忽略的内容,以及不正确或效率低的索引。信息的减少会节省资源,并使生成的 HTML 输出文件更小一些。此关键字是可选的,且它与 deepcheck 关键字互斥。

“分析器”工具是在 PTF 中提供的,供在 AS/400 平台上进行复制之用。这些工具收集有关复制环境的信息,并生成一个 HTML 文件,该文件可发送至“IBM 服务代表”以帮助确定问题所在。要获取 AS/400 工具,下载适当的 PTF(例如,对于产品 5769DP2,必须下载 PTF SF61798 或其最新的替代产品)。

将以下问题和解决方案添加至“Troubleshooting”一节:

Problem: The Apply program loops without replicating changes; the Apply trail table shows STATUS=2.

The subscription set includes multiple source tables. To improve the handling of hotspots for one source table in the set, an internal CCD table is defined for that source table, but in a different subscription set. Updates are made to the source table but the Apply process that populates the internal CCD table runs asynchronously (for example, the Apply program might not be started or an event not triggered, and so on). The Apply program that replicates updates from the source table to the target table loops because it is waiting for the internal CCD table to be updated.

To stop the looping, start the Apply program (or trigger the event that causes replication) for the internal CCD table. The Apply program will populate the internal CCD table and allow the looping Apply program to process changes from all source tables.

A similar situation could occur for a subscription set that contains source tables with internal CCD tables that are populated by multiple Apply programs.

   


[ 页的顶部 | 上一页 | 下一页 | 目录 | 索引 ]