Hello everyone, I’ve been around the world and back – and I’ve seen and heard about many different kinds of automation tools for Data Vault systems out there. In fact, I partner and endorse one of them: AnalytixDS.com Mapping Manager. But something is consistently bothering me, and in this blog I will uncover the issues (as I see it) with Data Vault Model generators.
There is a need for automation, and generation, and from a perspective of auto-generating processing code, no one does it better than my friends at AnalytixDS.com with their tool Mapping Manager, and their specific CATfx (Code Automation Templates). There are plenty of other tools out there that also generate code including: Wherescape, and Quipu just to name a few.
Anyhow, over the past two years, I’ve heard about “tool X and tool Y” that supposedly generate Data Vault models. Well, let me tell you – there are not a lot of tool vendors that have stopped to understand just what they are really claiming. Or, the other case: they claim to generate Data Vault models when in reality, all they truly do is use Primary and Foreign keys to re-structure source system data models (making them look like a Data Vault Model).
Don’t get me wrong, with a bit of mathematical skills, understanding circular relationships, and multi-tennent PK attributes and FK attributes, the end result *might* be ok, but it certainly is no-where near what I would call a Raw Data Vault Model fully vetted with even it’s purest of intentions. What these tools typically produce, is what Ronald Damhof and I wrote about years ago called a: Source System Vault.
What’s the Difference?
There are quite a few differences, but mostly at the end of the day it’s the lack of focus that these “generated models” have on answering business key consolidation that has me worried. I’ve worked for years on this problem in my own software (written model generation and consolidation software for over 15 years) and even I still don’t have it completely solved. But with that, let me just say this – here is a short list of issues that these tools (usually) don’t even begin to address.
If or when they do, they will need PH.D. knowledge in math, and semantic studies to make it work right.
- Multi-source model consolidation
- Business Key Focus
- Relationship Folding (where appropriate)
- Ontology and Taxonomy aware decisions
- Semantic Lookups and References
- Incorporation of Business Terms & Glossaries
- Cyclical Relationship Resolution
That doesn’t even begin to address the mathematics side of the house, where we need to apply things like:
- Dijkstra Algorithms
- Shortest Path & Longest Path algorithms
- Heaviest Weight & Most Meaningful Node decisions
- K-Means Clustering
- Probability Distribution
- Confidence and Strength Ratings
- Association Rules
Now, all that to say I don’t have a mathematics degree, or even a Ph.D. in any of these things, but I know after 15 years of study, writing code, applying different algorithms, that these are NOT easy problems to solve. I have some of the answers and quite a bit of vision in this area, but I can say without a shadow of a doubt, that nearly every tool I’ve reviewed in the past 10 years (who CLAIM to generate Data Vault Models) – Don’t Do It Right.
Please, don’t take this to mean that the automation / generation tools aren’t good… The ones that generate ELT / ETL and Big Data data integration code are awesome, and spot on! What I’m talking about here are the tools that claim to generate Data Vault Models.
What Should I do with this knowledge?
Well, good question. Today the absolute best way to construct your Data Vault Model is to do it with your team. Engage in discussions all about the business, focus on the business keys and the consolidation of business keys horizontally across lines of business. You and your team will come up with a far better result than simply taking something that “generates” based on Primary Key (PK) and Foreign Key (FK), much less a tool that uses ONLY one source model.
What’s the danger of using a tool to generate a Data Vault Model?
You end up with
- too many Data Vault tables,
- a source system data vault model that fails to account for multi-system integration,
- disparate and duplicated / unnecessary Hubs Links and Satellites,
- lack of an integration across multiple systems,
- silo’d solutions and unmatched answers out of the marts on the end of the system.
Sure, there are always conclusions. For generating ETL, ELT, and Big Data solutions stick with my friends at AnalytixDS.com and their tool: Mapping Manager. For Data Vault Model generation: go your own way, do it by hand. Learn how to properly consolidate business keys, business ontologies and taxonomies – study the business metadata, and learn how to fold structures together with passive integration. Today, the human mind is far more powerful than the machine when it comes to the context decisions of metadata.
As always, you can contact me for data model reviews, guidance, assessments and the like. You can see a description of the packages we offer here: http://LearnDataVault.com/services
Hope this helps,