When you have a Raw Data Vault and a Business Data Vault they typically exist as separate components, separate data models. If you are looking in to Operational Data Vaults, you may soon realize that because of the nature of real-time data moving in and out within the raw data vault, that you now have to combine the raw and BDV together into a single instance. This is something I am doing in the ODV’s that I am building.
I know, I know – in class I taught you to separate the two, which in concept is great, and in most installs that are not ODV’s – it is a wonderful idea. However in the case of ODV, the need for timing (real-time operational data available to on-demand operational reports) means that they have to be pushed together.
Does this mean we mix raw and business computed data together?
I should say generally: no – not in the same tables. Generally what you should do is create another “layer” of Data Vault model on top of the raw data vault model. For example: suppose I am dealing with Medical Data, and I have a raw table called PEOPLE. The people table absorbs (for a variety of reasons) multiple duplicate definitions from different systems. I have a raw satellite from System A, a raw satellite from System B, and a raw Satellite from System C. What the consumer wants is a single master PATIENT record (duplicated People records rolled together through some light-weight business rules). To handle this situation, I added a PATIENT HUB, and a PATIENT DEMOGRAPHICS Satellite, and a PEOPLE TO PATIENT link structure.
In class you talked about the fact that “latency means no time to cleanse/merge data” so how does this work?
Yep, in class I did talk about this, and the rules still apply. However in this case, the latency of “patient data” here is interesting because the Operational Application is actually editing rolled up Patient Data!! External source feeds arrive once a day and are placed in to the People Table. So, this means that the operational transaction our ODV receives is directly inserted in to the patient data and is available on the operational report immediately. Voila – we have a working ODV without cleansing in the middle.
But what if the external source system (system A or B) sends transaction data? What happens to timing then?
In this case, these systems send massive batch feeds, and the patient record is synchronized once a night with all the updates being combined. However, to answer the question – you need to go back to the business user. Why? Because immediate response requires FASTER hardware, and faster hardware requires more money (usually a LOT more money), so the business needs to justify spending that money (on a recurring basis) in order to achieve super low latency with high computing power.
Why do they need high computing power?
Well, if you are dealing with 1 to 2 second latency and you have a heavy routine full of logic to “merge/mix/match/consolidate” people records into Patient records, then you need full power of parallelism to achieve this within 1 to 2 seconds. Especially if that person (who’s identified by a current transaction) has many historical records or many different person records that need to be munged together. You might even need the resources of cloud computing to scale the parallelism with super fast access.
I can buy that, but what happens if I have 2 or more transactions from different systems for the same person at the same time?
These are the same problems that OLTP systems deal with, and have been written up over the years in many different places. USE your OLTP operational knowledge to apply the same answer to the Operational Data Vault. Remember, an OPERATIONAL DATA VAULT takes on ALL the same characteristics of an operational system + a data warehouse.
Back to the point of the post: you can & should mix the two (raw DV + Business DV) models together, and use links to associate the tables. You can and should use Real-time mining algorithms to crunch, merge, rollup data sets in a master context inside the ODV (by the way, never forget that Data Quality really should be running on the source systems!! – not always a possibility when they are external to your organization).
The reality of it is: most business users are fine with the situation described here, and most business users don’t care, don’t know that an ODV is being used. In fact, the reality of this is: the situation here is that the operational application updates BDV tables not the raw DV tables, which means they get their data immediately.
Hope this helps shed some light on Operational Data Vaults, Business Data Vaults, and Raw Data Vaults.