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


Stratety of processing dimensions and partitions (SSAS 2005)


Stratety of processing dimensions and partitions (SSAS 2005)

Author
Message
nzhang6666
nzhang6666
SSC-Addicted
SSC-Addicted (485 reputation)SSC-Addicted (485 reputation)SSC-Addicted (485 reputation)SSC-Addicted (485 reputation)SSC-Addicted (485 reputation)SSC-Addicted (485 reputation)SSC-Addicted (485 reputation)SSC-Addicted (485 reputation)

Group: General Forum Members
Points: 485 Visits: 321
So in my case there are couple of dimensions and couple of measure groups. Each measure group has couple of partitions, which are partitioned by year (query binding). The dimensions will have updates/inserts occasionally and the facts will have inserts only daily. What's the best strategy to process the dimensions and facts? I am thinking of using a XMLA script (scheduled in SQL Server job) to process update all dimensions and process full partitions of current year daily and leave partitions of previous years untouched. But I also read somewhere process update (for dimensions in my case) is not as good as process full because indexes not be created (not sure about this). But if I use process full for dimensions, all related partitions will be invalidated, which means partitions of previous years will be invalid until I use process full on them.

I believe this is a very common case and wondering what's the general approach/best approach?
PB_BI
PB_BI
SSCarpal Tunnel
SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)

Group: General Forum Members
Points: 4536 Visits: 2745
The way I have handled this in the past is to do a process update to the dimensions followed by processing the latest partition in the facts. Then the final step would be a process default or a process index on the entire SSAS database. This ensures that all of your aggregations are processed correctly. This will increase processing time but will make sure that your query performance is as good as it should be (that is, if you have the right aggregations designed!).

More info from a Chris Webb presentation here:
http://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CC0QFjAA&url=http%3A%2F%2Fwww.dvbi.ru%2FLinks%2FUseful_Books%2Ftabid%2F109%2FFileId%2F3562%2Flanguage%2Fru-RU%2FDefault.aspx&ei=S0TeUp2NM66w7Ab79IGQDw&usg=AFQjCNE6h7luuzwbgK_iUwDAb8oqEnT_XA&bvm=bv.59568121,d.bGQ&cad=rja




I'm on LinkedIn
nzhang6666
nzhang6666
SSC-Addicted
SSC-Addicted (485 reputation)SSC-Addicted (485 reputation)SSC-Addicted (485 reputation)SSC-Addicted (485 reputation)SSC-Addicted (485 reputation)SSC-Addicted (485 reputation)SSC-Addicted (485 reputation)SSC-Addicted (485 reputation)

Group: General Forum Members
Points: 485 Visits: 321
Thanks for the reply. That's a very good point. I also found this:

http://social.msdn.microsoft.com/Forums/sqlserver/en-US/34175435-7020-4aee-8c93-0535d5c21329/ssas-cube-processing-best-practice-sql-server-agent-job?forum=sqlanalysisservices

The guy in the post seems having a similar question. I agree there is no one best practice for all situation.
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