【转】DSO ---> Cube Delta 加载的一个问题 (一问一答)

Delta load from DSO to InfoCube only with 0RECORDMODE:

After-image (blank)  

 

Ask

 

Hi Gurus,
I have been searching for a simple explanation about how to make a delta load from data source-> DSO -> InfoCube over internet and have not found any clue.

Information:
The data source only send after image to DSO (0RECORDMODE is blank). I understand that in Change Log table consists the first record (with after-image) from the first request/data load. After second load occured the Change Log table consists the first & second record which overwrite the first record (setting in transformation already made from addition to overwrite).

Question: How to load this data to InfoCube, if in the InfoCube the first record still there (no overwrite modus allowed)?

I will be very grateful for any kind of answer and explanation.

 

Answer

 

Hi Eddy....

When a new record will get loaded in a ODS then the record mode for that record will be N in the Change Log table......i.e. New record....

Suppose , you have loaded A 1000..............and the same record is there in the cube level also......
When you will load the data with the same key combination in the ODS with a different keyfigure value........then though the record will get overwritten in the Active Table.....but in the Change log it will be....
A -1000 --> Before Image...
【自动产生前镜像】标识为 X
A 2000 --> After Image.......  
【生成后镜像】标识为“”

Both the records will be part of the same request.....automatically will get generated......
Delta load from ODS to cube will fetch data from the Change loag table............so in the cube the situation will be...

A 1000
A -1000
A 2000

1000 and -1000 will cancell each other.........and ultimately the sum will be 2000..........i.e. the new value.......

The problem will arise if you delete the change log table......
In that case either you have to do a selective deletion or you have to run a booklet.............

and then do a Full repair.....make sure that the setting is from the Active table......
After that don't forget to run the Delta DTP with the option "No fetch no data".....otherwise the delta load will again fetch the same request from the DSO which in turn will result duplicate records in the cube level..........

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值