简体   繁体   English

在 Informatica 中更新目标表的最佳实践

[英]Best Practice For updating Target Table In Informatica

what is the best way to implement an update into the target table?:对目标表实施更新的最佳方法是什么?:

-using update strategy in designer part OR using Update Method in Session Properties - 在设计器部分使用更新策略或在 Session 属性中使用更新方法

I should use update strategy.我应该使用更新策略。 There are some differences and some similarities.有一些差异和一些相似之处。
Similarities -相似之处 -

  1. Performance - Identical performance.性能 - 相同的性能。 The Index(s) on the target matters in case of update.目标上的索引在更新时很重要。
  2. Define Key columns in Target.在 Target 中定义键列。 You have to do this for both strategies.您必须为这两种策略执行此操作。

But there are some differences which gives more power to Update strategy -但是有一些差异赋予了更新策略更多的权力——

  1. Flexibility - You can create logic for insert,update, delete,ignore.灵活性 - 您可以为插入、更新、删除、忽略创建逻辑。
  2. Future usage - An update strategy can be used to implement any logic in future.未来使用 - 更新策略可用于在未来实现任何逻辑。

Alternately, update in session property will give you a cleaner session log but thats all:)或者,更新 session 属性将为您提供更清洁的 session 日志,但仅此而已:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM