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..........

你可能感兴趣的:(cube)