datastage中的数据库事务(提交和回滚)

发布于 2024-11-19 06:50:19 字数 103 浏览 5 评论 0原文

有没有一种方法可以在作业数据阶段实现事务,一种在我的作业中止时回滚所有更新插入的方法?
如果没有,是否有一种方法或标准实践、一种解决方法来模拟提交/回滚系统?

提前致谢

Is there a way to implement transaction in job datastage, a way to rollback all upsert when i.e. my job aborts?
If not, is there a way or standard practice, a workaround, to simulate commit/rollback sistem?

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ゝ偶尔ゞ 2024-11-26 06:50:19

这不是一个好的做法,在 DW ETL 过程中,您需要将作业设计为可重入
而不是交易,交易是昂贵的,你只需要解决问题并重新启动作业,在大多数情况下,如果没有人为干预,你无法解决问题,

This is not a good practice, in DW ETL process, you need to design you job as re-entrance able
rather than transaction, transaction is expensive, you just need to fix the issue and restart the job, in most cases ,you can't get issues fixed without human interfere,

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文