Databricks book
The Modern Cloud Data Platform by Ulrika Jagare/Databricks
Describing Current Data Management (DM) Limitations
- Big Data forced companies to abandon the single database model
- Data silo: decentralized, fragmented stores of data across an organization
- Data warehouses introduced in late 1980s to provide architecture for storing AND using the data
- Managing unstructured and more complex data exposed limitations of the data warehouse:
- Huge IT project with high maintenance costs
- DWs only support BI and reporting use cases
- No end-to-end ML
- Lack scalability and flexibility in storing different types of data
- Data Lakes
- Introduced by the Hadoop ecosystem, built on Hadoop MapReduce and HDFS storage system
- Ushered in era of low-cost, open-source, unstructured storage
- Many migrated to running Apache Spark in the cloud instead of on-premises Hadoop
- Spark: first unified analytics engine to facilitate large-scale data processing, SQL analytics and ML. Also, 100x faster than Hadoop
- Cheap blob storage (Amazon S3, Azure Data Lake Storage) is used
- Why Lakes Aren't Enough
- no transactions, data quality control, consistency or isolation (i.e., no ACID)
The Lakehouse
- Need to address the data warehouse/business intelligence stack vs. data lake/machine learning stack
- Lakehouse allows BI, SQL analytics, data science, ML on a single platform.
- Data lakes have problems: Performance, data integrity, storage and access, versioning, retrieval, concurrency all still issues (then what problem, precisely, did data lakes solve in the first place?)
- Lakehouses handle 1) ACID transactions, 2) large metadata, 3) indexing and 4) schema validation
Comparison to Other DM Solutions
- Warehouse handles only structured data, data lakes and lakehouses handle both
- Cost entails vendor lock-in, esp for data warehouses
- Scalability; not good for warehouse, "elastically" expandable for lakes and lakehouses
- The key benefit of the lakehouse is to provide a unified venue for data storage and analytics
- Problems solved by a lakehouse
- Unifying data teams--engineers, data scientists, analysts
- Breaking data silos: getting rid of data widows and orphans
- Preventing stale data
- Reducing vendor lock-in: lakehouses use open formats and standards (Hadoop? Hbase? Parquet?)