ODI学习笔记-ODI update key 增量更新

在使用ODI进行增量更新时,需要设定Update Key来确定接口如何比较源数据与目标数据以决定插入和更新操作。默认情况下,ODI会设置目标数据存储的主键作为Update Key。但当主键值由自动计算或特定业务规则决定时,可能需要选择其他唯一列作为比较依据。更新键必须唯一标识每行,并可通过在模型中添加备用键或在接口中手动设置来更改默认Update Key。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Update Key and Incremental Update Strategy
If you plan to use an Incremental Update strategy to populate your target datastore,
you will need to consider setting an update key for your interface. This will indicate
the subset of columns of your target datastore that you want to use to compare
your flow data with your target existing data to determine what should be inserted
and what should be updated. By default, ODI sets this update key to the primary
key of your target datastore. In some cases, using the primary key as the update key
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值