How to set LOGSOURCE PATHMAP on GoldenGate
Question: the source machine os is solaris ,the mid machine os is linux , the target machine os is solaris,i want extract archive log file and pump trail file to target on mid machine , i check GoldenGate Reference Guide version 10.4 about TRANLOGOPTIONS, must set ARCHIVEDLOGONLY and LOGSOURCE PATHMAP , in my environment ,how to set LOGSOURCE PATHMAP ? Answer: There two primary things that need to be met when extracting the data remotely. 1. Endian order (How the bytes are stored) Big endian OS : AIX, HPUX, MVS, SOLARIS, S290 Little endian OS : LINUX, VMS, WINDOWS 2. Bit (32 or 64 bit). If your source is SOLARIS(Big Endian) and mid machine where archive logs resides as LINUX(Little Endian), then you cannot use LOGSOURCE as it violates the ENDIAN order. For exampel you can either have source and mid machine as solaris solaris or AIX ,HPUX or vice versa The general syntax to extract data from transaction logs which resides on a platform other than the one which hosts the database If you the source and mid machine are Solaris you can use the following syntax. TRANLOGOPTIONS, LOGSOURCE SOLARIS, PATHMAP Please refer Oracle GoldenGate Reference guide page 356 for the example
posted on 2010-12-26 14:25 Oracle和MySQL 阅读(443) 评论(0) 编辑 收藏 举报
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步