Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 Oracle Golden Gate 中将日期时间戳更改为 unix 时间戳?Oracle 中没有针对它的内置函数,我正在编写的函数可能会导致 GG 复制延迟。我不能承受延迟,因为 GG 会复制实时数据
您可以使用以下解决方案:
使用 SQLEXEC 并调用将进行转换的自定义代码(存储过程)
用 C 代码编写一个 USER EXIT 自定义函数并从 GoldenGate 调用它
第二种解决方案将是最快的,因为在数据库中调用 SQL 代码时没有往返。