SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How to handle historical data change in SSAS


How to handle historical data change in SSAS

Author
Message
PKDC
PKDC
SSC Veteran
SSC Veteran (242 reputation)SSC Veteran (242 reputation)SSC Veteran (242 reputation)SSC Veteran (242 reputation)SSC Veteran (242 reputation)SSC Veteran (242 reputation)SSC Veteran (242 reputation)SSC Veteran (242 reputation)

Group: General Forum Members
Points: 242 Visits: 450
I am a novice to SSAS and I was wondering if there is a way to process historical data change in a fact table? Time to time we do need to make adjustment to the data that was loaded to warehouse. In stead of doing full process, is there a way for SSAS to recognize the only updated info and process? Any help on this would be appreciated.
Ells
Ells
SSCrazy
SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)

Group: General Forum Members
Points: 2426 Visits: 931
What is the database that you are looking at. If SQL Server then possibly CDC(change data capture) could be of interest? That would identify the changes.

Then process update could avoid a full process (depending on what changed).

E
PKDC
PKDC
SSC Veteran
SSC Veteran (242 reputation)SSC Veteran (242 reputation)SSC Veteran (242 reputation)SSC Veteran (242 reputation)SSC Veteran (242 reputation)SSC Veteran (242 reputation)SSC Veteran (242 reputation)SSC Veteran (242 reputation)

Group: General Forum Members
Points: 242 Visits: 450
We have a process to identify the changes, but I am more curious about how to process incrementally if the data is altered was 2 weeks old data or older(cloud be any historical date range) entry in fact table. Any help would be appreciated.
Ells
Ells
SSCrazy
SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)

Group: General Forum Members
Points: 2426 Visits: 931
[url=http://technet.microsoft.com/en-us/library/ms174774.aspx][/url]

This location documents the processing options for Analysis Services objects. Have a good read through and see what will work for you. If it is historical data how regularly are you going to update it? Would splitting the cube into different partitions help?


E
RonKyle
RonKyle
SSCertifiable
SSCertifiable (6.9K reputation)SSCertifiable (6.9K reputation)SSCertifiable (6.9K reputation)SSCertifiable (6.9K reputation)SSCertifiable (6.9K reputation)SSCertifiable (6.9K reputation)SSCertifiable (6.9K reputation)SSCertifiable (6.9K reputation)

Group: General Forum Members
Points: 6856 Visits: 3620
It sounds like your fact table is an accumulating snapshot. So snless the cube is split into partitions, and you can be certain that all the changes are in certain partitions, you will have to do a full process. Is the time so long that this is unrealistic. Mine have millions of rows and compile in about 10 minutes, but I can easily imagine that this might be small compared to others.



MMartin1
MMartin1
SSCertifiable
SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)

Group: General Forum Members
Points: 7111 Visits: 2033
How you define your partition is partly if not fully influenced by business logic. If a sale has a 30 day return period then you can create each partition in monthly increments more or less. You just process the affected partition rather than the entire cube.

I think the process update only works on dimensions, or am I wrong?

thanks.

----------------------------------------------------
How to post forum questions to get the best help
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search