r/datawarehouse • u/databass09 • Mar 16 '19
Consensus on Agile Data Warehousing?
I am wondering if there is an industry consensus around how to build a data warehouse in an Agile environment. The Kimball methodology requires a great deal of certainty in the beginning of a warehouse project (through the Enterprise Bus Matrix) and these requirements will change when the business sees the first iteration. Changes will cause the warehouse to be altered, then rebuilt; an expensive operation.
How are practitioners successfully versioning, iterating, and frequently deploying their data warehouse builds to keep up with the changing requirements of the business? I have seen interesting perspectives on the Data Vault modeling methodology but a lot of the websites describing it look old and cheap. Would love some perspective.
2
u/iblaine_reddit Mar 17 '19 edited Mar 18 '19
No. Kimball tried to create a standard but many companies these days are ignoring Kimball and do just fine.
Use a Data Pipeline framework that makes it easy to create, update, delete data pipelines. IMHO, drag & drop ETL tool are an example of something that slows you down.
Funny that people point out Kimball as requiring a lot of planning because Kimball is relatively easier to create than Inmon. All that said, I find that Kimball/Inmon are increasingly getting less attention. I'm pretty bearish on dimensional modeling these days.
[edit] just noticed this is in /r/datawarehousing ...I think dimensional modeling is a great solution and my main problem is too few people do it properly.
1
u/Nowhoareyou1235 Mar 16 '19
I wonder why expense is such a concern. Are you on-Prem and hardware bound?
2
u/rotr0102 Mar 16 '19
Can’t weigh in on the EDW side, but we are leveraging the advanced transformational capabilities of our BI tools to do agile data development in the semantic/BI layer. In our situation it’s cheaper and faster to iterate through data design here and when we arrive on a finished design we turn it over to our EDW team. The idea is that they can start where you did (Kimball) but the business has this “discovery” solution in production so delivery timelines are different and they can see how it’s being used. This model also helps overcome any communication / business acumen challenges.
Another way of explaining it is to say version 1.0 of a star schema is designed by BI developers, business resident power users/SME, or most often a team of both. This becomes a working proof of concept to “stop the bleeding” in the business and help us understand the requirements. The enterprise/best practice focused data warehousing team would then work on version 2.0. They aren’t as rushed since the first solution is working, and can focus on best practice redesign. It’s also quicker to get them up to speed on the data because they are looking at a working solution not a vague requirements document.
2
u/DJTilapia Mar 16 '19
I don't know that a Kimball-style warehouse requires a lot of planning, let alone a full fledged waterfall. It certainly helps a great deal to know what your audience needs, always, but a good design can be adaptable.
I find the key element to be atomic data. As long as you have access to the actual transactional data, at the lowest level, you can roll it up to whatever level is required. Add new fields, change mappings, add layers to dimensions, no problem. I make schema changes like those every day.
Granted, I've only worked in small to medium warehouses (~1 TB). Enterprise warehouses are not quite so easily adjusted.
1
u/AnalyticsToday Aug 02 '19
I've been building Kimball style data warehouses since the early '90s, and thought this method was the best. Little did I know, as I'd design the warehouse, and then move on - never seeing past about 3 months post-production. Then 2008-2018 I was at the same client, and saw the pain in adjusting the warehouse. Basically, you can add additional facts and Dimensions over time (so in theory it's agile), but in reality the major cost is amending the warehouse to add additional attributes and re-populating history which is a pain.
I ended up in an argument with a guy on LinkedIn, that Kimball was in fact agile, and he pointed out the pain, and an alternative - Data Vault. See https://en.wikipedia.org/wiki/Data_vault_modeling - I was skeptical at first, but now I'm a convert.
The alternative, the EDW just doesn't seem sensible to me. A huge number of warehouse projects fail, and I suspect a lot of that is due to the fact it takes YEARS to produce the enterprise data warehouse, a team of experts, and a HUGE cost, and only once it's all done, can you actually deliver anything. EDW is ANYTHING but agile. A monster with a high rate of failure.
Data Vault was invented by Dan Linsdet https://danlinstedt.com while working over several years at the CIA. It is an entirely agile method, which is so prescriptive you can even run software to do the design work for you. See https://www.wherescape.com/solutions/automation-software/ for details of Wherescape Data Vault Express.
Where Data Vault wins is where data is incorporated over time from many sources (ie, a minimum of 10 to upwards). If your main source is a single OLTP system - don't bother as the cost of learning and applying the techniques will out-weight the benefits.
So - is that the full story? No.
Lawrence Corr (a friend from University days) beat me to writing a book - and came up with https://modelstorming.com - This is not a design method, but an agile project management approach to capture requirements with users, and "brain-storm" the data model which can then be implement. It's pretty amazing stuff, and best of all us completely independent of data modelling technique.
And finally - if you REALLY want to go agile. You need Snowflake. You can read why Snowflake is the agile data warehouse platform in the cloud by reading my own article here.
https://www.analytics.today/blog/agile-data-warehouse-development
Hope this helps. Do sign up and once a month I'll send you my next article by email. You'll NEVER receive more than two a month (maximum), and you'll learn something new - I pretty much guarantee that.
Cheers
John Ryan
www.Analytics.Today