SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Analysis Server and Reporting Services (2012)
 Partioning cube Measures dynamically
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jim123456789jim
Starting Member

13 Posts

Posted - 01/28/2014 :  12:12:22  Show Profile  Reply with Quote
Hi Team,

We need to partition our cube dynamically based on year and period(ex 201306). So when there is a data load/update is happening in the fact only the particular partition is processed and not all.

Dynamic partition I mean, when there is a load happening for a particular Year and Period, then a partition need to created in the cube.

Please suggest. Thanks.

Regards

Jim

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 01/29/2014 :  04:29:42  Show Profile  Reply with Quote
you can do this by generating XMLA script for the create partition dynamically based on arrinving date values.
First you need to maintain a table with information of existing partitions for each measure group.
In your SSIS package you need to check incoming date values against the values in the table and see if there are any new year /period values coming. then you can generate XMLA script based on these new values and execute it using Analysis Services DDl task and use Analysis Services processing task for processing them.
see
http://sql-developers.blogspot.in/2010/12/dynamic-cube-partitioning-in-ssas-2008.html

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000