THE SQL Server Blog Spot on the Web

Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | Join | Help
in Search

Microsoft OLAP by Mosha Pasumansky

Parent-Child Dimension Table Naturalizer

Parent-Child dimensions is an important feature of Analysis Services. Parent-Child dimension allow flexibility in the dimension modeling for scenarios such as Bill Of Materials, Chart of Accounts, Employee Organization Structure and others. However, this flexibility comes with the cost. Overuse of parent-child can cause performance problems. Additionally, there are some semantic quirks which can cause problems with calculations – such as parent-child not decoding related attributes like the normal dimensions do. So in some cases it is advisable to convert parent-child hierarchy to the regular multi-level hierarchy. This process of conversion is not a trivial one and it includes several steps.

Jon Burchel, Senior Support Escalation Engineer in Microsoft, looked deeper into this problem, and came up with the tool called “Analysis Services Dimension Table Naturalizer” (or PCDimNaturalizer), which automates conversion of parent-child dimensions to regular ones. He put the project on www.codeplex.com – meaning that all the source code is available as well.

Unlike most open source projects (at least on codeplex), this one is extensively documented (I guess Jon, being a support engineer, really understands the value of good documentation).

The PCDimNaturalizer can be used from command line, with UI and it also exposes object model allowing it to be embedded in the .NET application or SSIS package. I am sure this tool will be useful for many Analysis Services practicioners.

PCDimNaturalizer project at codeplex: http://www.codeplex.com/PCDimNaturalize


Published Monday, August 25, 2008 11:22 PM by mosha
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Thomas ivarsson said:

This is a nice tool but it will only work with SSAS 2008. I have got an exception /error when I have tried it on SSAS 2005.

August 27, 2008 8:31 AM
 

Jon B said:

Hi Thomas,

I just noticed your comment on Mosha's blog.  Thanks for trying out the tool, and I hope it will be useful for you.  It should work with 2005 or 2008 so this may be a bug.  Can you post the exact error you got when you ran it?  (You can post it here or better yet, file it as an issue on the CodePlex site on the Issues tab.) Then I will investigate and fix the problem.

Jon

August 28, 2008 12:54 AM
 

PASSJ 長崎友嘉 Blog said:

PCDimNaturalizer (Mosha Pasumansky さんのブログから)

August 29, 2008 5:25 PM
 

PASSJ 長崎友嘉 Blog said:

PCDimNaturalizer (Mosha Pasumansky さんのブログから)

August 29, 2008 5:39 PM
 

Parent-Child Dimensions – Introduction , drawback and alternative approach « SQL Kit said:

May 16, 2009 9:42 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement