Product area

Delta Lake

Delta Lake as the lakehouse storage format: transactions, time travel, medallion architecture, gold-layer objects, liquid clustering, predictive optimization.

Concepts

13 in this area
  1. 1Delta Lake, the lakehouse table formatDelta Lake is the default table format on Databricks. A Delta table is a folder in object storage with two things inside: the data files in Parquet and a deltalog/ subfolder holding the transaction log, a sequence of JSON files (plus Parquet checkpoints) that…
  2. 2Time travel and table historyEvery write to a Delta table (see delta lake overview) becomes a numbered version in the transaction log. Time travel is the ability to query, or restore, the table as it looked at any past version or timestamp, as long as the pieces that version needs — the…
  3. 3Medallion architecture: bronze, silver, goldThe medallion architecture organizes the tables of a lakehouse into three layers, each with a different quality guarantee:
  4. 4Gold objects: tables, views, materialized views, streaming tablesGold is the layer that dashboards, analysts, and models read from (see medallion architecture). In Unity Catalog you can expose it through four different objects, all queried with a plain SELECT but with very different behavior underneath:
  5. 5Upsert with MERGE INTOMERGE INTO applies a batch of changes to a Delta table in a single atomic commit. You give it a target table, a source (a table, a view, a subquery or a DataFrame), a join condition, and then clauses describing what to do with rows that match, rows that exist…
  6. 6Liquid clusteringLiquid Clustering is how Delta Lake (see delta lake overview) physically organizes a table's files around one or more columns, so that queries filtering on those columns read fewer files. It replaces two older techniques: folder-based partitioning and the…
  7. 7OPTIMIZE, VACUUM, and file layoutOPTIMIZE and VACUUM are the two file-maintenance commands every Delta table (see delta lake overview) eventually needs. OPTIMIZE compacts many small data files into fewer, larger ones and, optionally, reorders their contents for faster filtering. VACUUM…
  8. 8Change Data FeedChange Data Feed (CDF) makes a Delta table (see delta lake overview) emit a row-level log of what changed on each write, not just the resulting state. Once enabled, every INSERT, UPDATE, DELETE, and MERGE is queryable as a stream of change records, each…
  9. 9Predictive optimizationPredictive optimization is a managed service that runs three maintenance commands on Unity Catalog managed tables without being asked: OPTIMIZE, VACUUM, and ANALYZE. It looks at how each table is written and queried, decides which tables would benefit from…
  10. 10Partitioning, Z-order, and data skippingBefore liquid clustering, getting a Delta table to read quickly meant four separate levers, and you operated all of them yourself:
  11. 11Deletion vectorsDeletion vectors are a table feature, available on both Delta Lake and Apache Iceberg tables, that turns a row-level change into a metadata write. Without them, removing one row from a 500 MB Parquet file means reading that file, dropping the row, and writing…
  12. 12Iceberg on DatabricksApache Iceberg is the other open table format, and Databricks meets it in four different places. They are easy to confuse because all four involve the word Iceberg and only one of them is about writing Iceberg tables on Databricks.
  13. 13Table history and transaction log checkpointsEvery operation that modifies a Delta Lake or managed Iceberg table creates a new version, and DESCRIBE HISTORY returns one row per version in reverse chronological order, 14 columns wide. It is the table's own record of what happened to it: who ran what…

News

No news for this area.

Resources

When to partition tables on DatabricksDocumentation · DatabricksFreeControl data file sizeDocumentation · DatabricksFreeData skippingDocumentation · DatabricksFreeDeletion vectors in DatabricksDocumentation · DatabricksFreeRow-level concurrencyDocumentation · DatabricksFreeREORG TABLEDocumentation · DatabricksFreeAuto-enable deletion vectorsDocumentation · DatabricksFreeWhat is Apache Iceberg in Databricks?Documentation · DatabricksFreeAccess Databricks tables from Apache Iceberg clientsDocumentation · DatabricksFreeRead Delta Lake tables with Iceberg clientsDocumentation · DatabricksFreeUpsert into a Delta Lake table using mergeDocumentation · DatabricksFreeUpdate table schemas with schema evolutionDocumentation · DatabricksFreePredictive optimization system table referenceDocumentation · DatabricksFreeWork with table historyDocumentation · DatabricksFreeTable history schema and operation metricsDocumentation · DatabricksFreeCheckpoint V2Documentation · DatabricksFreedelta-io/delta-rsRepository · Delta LakeFreeOptimizing MERGE Performance using Liquid ClusteringVideo · Databricks · checked 10 Sept 2026FreeAsk Databricks about medallion architecture best practices with Simon Whiteley and Franco Patano!Video · Databricks · checked 10 Sept 2026Freedbdemos: one-command Databricks demosRepository · Databricks · checked 10 Sept 2026Freedatabricks-demos/dbdemosRepository · Databricks · checked 10 Sept 2026Freedelta-io/deltaRepository · Delta Lake · checked 10 Sept 2026FreeDelta Lake project siteDocumentation · Delta Lake · checked 10 Sept 2026FreeThe Big Book of Data Engineering (free ebook)Book · Databricks · checked 10 Sept 2026FreeDelta Lake: The Definitive Guide (O’Reilly, free ebook)Book · O'Reilly / Databricks · checked 10 Sept 2026FreeDelta Lake - The Internals of Delta LakeBook · Jacek Laskowski · checked 10 Sept 2026FreeUse change data feed on DatabricksDocumentation · Databricks · checked 10 Sept 2026FreeOptimize data file layoutDocumentation · Databricks · checked 10 Sept 2026FreeRemove unused data files with vacuumDocumentation · Databricks · checked 10 Sept 2026FreeWhat is Delta Lake in Databricks?Documentation · Databricks · checked 10 Sept 2026FreeWork with table historyDocumentation · Databricks · checked 10 Sept 2026FreeUpdate table schemas with schema evolutionDocumentation · Databricks · checked 10 Sept 2026FreeWhat is a view?Documentation · Databricks · checked 10 Sept 2026FreeUse standalone materialized viewsDocumentation · Databricks · checked 10 Sept 2026FreeStreaming tablesDocumentation · Databricks · checked 10 Sept 2026FreeCREATE STREAMING TABLEDocumentation · Databricks · checked 10 Sept 2026FreeUse liquid clustering for tablesDocumentation · Databricks · checked 10 Sept 2026FreePredictive optimization for Unity Catalog managed tablesDocumentation · Databricks · checked 10 Sept 2026FreeWhat is the medallion lakehouse architecture?Documentation · Databricks · checked 10 Sept 2026Free