Lakehouse on Databricks
A Databricks lakehouse unifies ETL, SQL analytics, and ML on open Delta Lake tables in S3, governed by Unity Catalog. It follows the medallion pattern and scales storage and compute independently.
Lakehouse on Databricks
A lakehouse unifies the low-cost storage of a data lake with the management and performance features of a data warehouse. On Databricks, it is built on Delta Lake, an open table format that adds ACID transactions, schema enforcement, and time travel on top of Parquet files in cloud object storage. Use this design when you want one platform for batch ETL, streaming, SQL analytics, and machine learning without copying data between separate systems.
Components
- AWS S3: durable, cheap object storage holding all raw and curated data as Delta tables.
- Delta Lake: the open table format providing ACID writes, upserts (MERGE), and snapshot isolation over Parquet.
- Unity Catalog: centralized governance for tables, files, and ML models, with fine-grained access control and column-level lineage.
- Auto Loader: incremental, exactly-once file ingestion from S3 landing zones.
- Spark: the distributed engine for ETL and ML, running on autoscaling clusters.
- Databricks SQL: serverless SQL warehouses serving BI tools and ad-hoc queries.
- MLflow: experiment tracking and model registry integrated with the catalog.
Data Flow
Source systems land raw files in an S3 bronze zone. Auto Loader ingests them incrementally into bronze Delta tables. Spark jobs clean, deduplicate, and conform data into silver tables, then aggregate business-level entities into gold tables. This medallion progression keeps raw fidelity while producing trusted, query-ready marts. Databricks SQL serves gold tables to dashboards, while data scientists read silver and gold tables into feature pipelines and MLflow-tracked training runs.
Scaling and Resilience
Compute and storage scale independently. SQL warehouses and job clusters autoscale by load, and serverless options remove cluster management. Delta Lake's transaction log lets concurrent writers and readers operate safely; OPTIMIZE and Z-ORDER compaction keep file sizes healthy and queries fast. Time travel allows rollback to a prior table version after a bad write. Because data lives in S3, durability is eleven nines and disaster recovery is a matter of cross-region replication plus catalog backup.
Security
Unity Catalog enforces a single permission model across workspaces, supporting row filters, column masks, and audit logs. Data is encrypted at rest in S3 and in transit with TLS. Customer-managed keys and credential passthrough integrate with AWS IAM. Network isolation uses private endpoints and VPC peering so traffic never traverses the public internet.
Trade-offs and Alternatives
The lakehouse avoids the cost and lock-in of duplicating data into a proprietary warehouse, and Delta is open source. However, peak SQL performance and concurrency can lag a dedicated warehouse for highly tuned BI workloads, and Databricks pricing requires careful cluster governance. Alternatives include a Snowflake warehouse with external tables, or Apache Iceberg on a vendor-neutral engine such as Trino. Choose Databricks when unified ML and ETL on open formats matter more than squeezing the last percent of BI latency.