Should your organization implement a Data Lake or a Data Warehouse? As Kelle O’Neal, CEO and Founder of First San Francisco Partners, pointed out during her presentation at the DATAVERSITY® 2017 Enterprise Analytics Online Conference, you don’t necessarily need to choose just one: Many organizations use both a Data Lake and a Data Warehouse. In fact, she said, they essentially complement each other:
“We talk about it as Data Lake vs. Data Warehouse, but the reality is that it’s not a versus. It’s not an either/or. There are many shades of grey in between. You can start with a Data Warehouse and blend it into a Data Lake, or you can start with a Data Lake and blend it into a Data Warehouse.”
The key to success, said O’Neal, is to understand how and when to use each one based on your organization’s requirements and ability to fulfill those requirements.
What Are Data Lakes and Data Warehouses?
O’Neal offered two definitions to get everyone in the audience on the same page. IT research company Gartner, she said, describes Data Warehouse as “a storage architecture that combines data in an aggregate, summary form suitable for enterprise-wide Data Analysis and reporting for predefined business needs,” while the data assets in a Data Lake are “stored in a near-exact, or even exact, copy of the source format.”
Pentaho CTO James Dixon, who coined the term “Data Lake,” once used this analogy:
“If you think of a Data Mart as a store of bottled water—cleansed and packaged and structured for easy consumption—the Data Lake is a large body of water in a more natural state. The contents of the Data Lake stream in from a source to fill the lake, and various users of the lake can come to examine, dive in, or take samples.” (You can substitute “Data Mart” for “Data Warehouse” in this context, noted O’Neal.)
TAKE A LOOK AT OUR DATA ARCHITECTURE TRAINING PROGRAM
If you find this article of interest, you might enjoy our online courses on Data Architecture strategies and fundamentals.
- Data Type: Data Warehouses contain only structured data required to answer a certain set of questions. Data Lakes can handle all types of data, including structured, semi-structured, and raw, making them naturally more flexible. “Data Lakes are designed for more fluid environments in which some of the questions are known, but many are not,” said O’Neal. “This provides the opportunity to leverage a broad and vast volume of data in potentially new and novel ways.”
- Processing and Agility: In Data Warehouses, the structure of data is applied as it is loaded in (schema-on-write), while the structure of data in Data Lakes is applied as it is pulled out (schema-on-read). “The implication with schema-on-read is that you can apply multiple structures or lenses, depending on the purpose of the inquirer,” said O’Neal. “The requirements for structure in a Data Warehouse, such as schema-on-write, make it more fixed and less agile.”
- Users: Data Warehouses are ideal for business users with a “specific viewpoint they are trying to understand,” said O’Neal, adding that you can build a Data Mart on top of a Data Warehouse to “provide an even more specific user community with a subset of that aggregated data.” More experimental-friendly Data Lakes call for more experienced users to reap their benefits.
The Challenges of Data Lakes and Data Warehouses
You might already be familiar with some of the drawbacks of Data Warehouses, since they’ve been around for decades: hefty expenses for large data volumes, limited scalability, difficulty adding new data and subjects. “Because the structure in a Data Warehouse is more fixed, it can be incredibly time-consuming to change that structure to add new data elements, data types, and data sources,” explained O’Neal.
“We had one client whose biggest challenge was the lead time to add a new data type into a Data Warehouse. Nine months! If you have a specific question or you need to do a certain analysis, by the time nine months comes around, that might actually be a moot point because either the business has moved on, your competitors have outsold you, or something else has changed.”
To optimize the Data Warehouse, focus on supporting self-service, boosting consistency and understanding of performance, ensuring Data Quality, and maintaining Data Governance. You can also address the limitations of a Data Warehouse by leveraging a Data Lake. Some organizations, for instance, are replacing their Data Warehouse staging area—the place where relatively unfiltered data lands before going into the warehouse—with a Data Lake, in order to “have the opportunity for a raw sort of Data Lake environment but still take advantage of some of the structured reporting and analysis that can come out of the Data Warehouse,” said O’Neal.
That’s not to say Data Lakes don’t have issues of their own. O’Neal warned that they lack built-in governance, can collect clutter and become “junk drawers,” are not as secure as Data Warehouses, and tend to be resource-intensive, “not many people understand how to implement Data Lakes and the technologies needed to do so.”
How to overcome the challenges of a Data Lake? O’Neal shared a case study of a large global organization in the travel industry that, given the opportunity to build their infrastructure anew, established a Data Lake as their primary data repository. They took several bold measures, including launching a governance program focused on the Data Lake, improving data understanding through a Business Glossary and better metadata, and providing a “warehouse-esque environment within the Data Lake to accommodate those users who were more comfortable with a structured format,” said O’Neal.
That last strategy is especially smart, said O’Neal, as it’s unlikely you’ll be hiring a whole new team of Data Scientists for your Data Lake: There are at least 20 job openings for every Data Scientist on the market, estimated O’Neal. She instead recommended helping your current user community embrace “all of that data at their fingertips.”
“You need to think about how you can take your existing staff and your existing skillset and upskill them to ensure that you have the resources to take advantage of the Data Lake. And then, as you increase the skills of each of those people, you’re going to want to put on some sort of golden handcuff so that they don’t leave in order to take advantage of that disequilibrium on the market.”
Chances are, there’s a place for both Data Lakes and Data Warehouses in your organization. “The Data Lake did not kill the Data Warehouse,” joked O’Neal, referencing the popular ’80s song “Video Killed the Radio Star.” Where one falls short, the other can fill in the gaps. Just remember to work with what you already have:
“You want to make sure you are enabling people over time, not creating something that’s so complex that it’s actually not usable for your existing organization,” said O’Neal. “You want to make sure that you’re growing into the organization of the future.”
Check out Enterprise Analytics Online at eanalyticsonline.com.
Here is the video of Kelle O’Neal’s Enterprise Analytics Online 2017 presentation:
Photo Credit: Risto Viita/Shutterstock.com