Databricks

On this page 7

Databricks is a cloud-based data and AI platform that combines distributed processing on Apache Spark, open table storage in Delta Lake and centralized governance into a single environment. In data engineering, it is the best-known commercial implementation of the lakehouse architecture, in which one copy of data in low-cost object storage serves batch pipelines, streaming jobs, SQL analytics and machine learning.

The company was founded in 2013 by the original creators of Apache Spark at the University of California, Berkeley. The platform runs as a managed service on AWS, Microsoft Azure and Google Cloud, while customer data usually remains in the customer’s own cloud storage account.

How the Databricks platform is structured

Databricks separates a control plane, operated by the vendor, from a compute plane in which clusters or serverless resources actually process data. The control plane hosts the web workspace, notebooks, job scheduler and metadata services, while the compute plane reads and writes files directly in object storage such as Amazon S3, Azure Data Lake Storage or Google Cloud Storage.

This split means that storage and compute scale independently. A team can keep petabytes of data in inexpensive storage and start large clusters only for the minutes a job needs them, then shut them down. The table below lists the main building blocks of the platform.

ComponentRoleTypical users
Apache Spark runtimeDistributed processing of batch and streaming dataData engineers
Delta LakeTransactional table format on Parquet filesAll workloads
Unity CatalogCentral governance, permissions and lineagePlatform and security teams
Databricks SQLSQL warehouses and dashboardsAnalysts
PhotonVectorized native query engineSQL and ETL workloads
MLflowExperiment tracking and model managementData scientists
Jobs and pipelinesOrchestration and declarative ETLData engineers
Core components of Databricks

Delta Lake and the lakehouse in Databricks

Delta Lake is the storage foundation of Databricks. It stores data as Parquet files and adds a transaction log that records every change, which gives tables ACID transactions, schema enforcement, schema evolution and time travel to earlier versions.

These guarantees close the historical gap between a data lake, which is cheap but unreliable, and a data warehouse, which is reliable but more rigid and costly. Databricks commonly organizes tables according to the medallion architecture: raw bronze tables, cleaned silver tables and business-ready gold tables.

Delta tables can also be read by external engines, and the platform supports Apache Iceberg clients through compatibility features, which reduces the risk of format lock-in. Even so, some performance features, such as liquid clustering, predictive optimization and Photon acceleration, work best inside the Databricks runtime.

Databricks is most often compared with Snowflake and Google BigQuery, which also offer managed analytics at scale. The historical difference lies in their origins: Databricks grew from programmable Spark processing, whereas Snowflake and BigQuery began as SQL-first cloud data warehouses.

The comparison below summarizes the typical positioning of each platform, although the products increasingly overlap.

PlatformOriginStorage modelTypical strength
DatabricksApache SparkOpen Delta tables in customer storageEngineering, streaming and machine learning
SnowflakeCloud data warehouseManaged proprietary storage, plus IcebergSimple SQL analytics and data sharing
Google BigQueryServerless warehouseManaged columnar storageServerless SQL on Google Cloud
Self-managed SparkOpen-source projectAny file systemFull control at higher operating cost
Databricks compared with other cloud data platforms

In practice, the choice depends less on raw capability and more on team skills, existing cloud contracts and workload mix. Organizations heavy in Python, streaming and machine learning often favor Databricks, while teams centered on SQL reporting often find a warehouse simpler to operate.

Typical data engineering workloads on Databricks

Databricks supports the full pipeline lifecycle: ingestion, transformation, orchestration, quality checks and serving. Engineers write code in Python, SQL, Scala or R, either in notebooks or in versioned repositories connected to Git.

Ingestion often relies on Auto Loader, which incrementally detects new files in cloud storage, or on change data capture feeds from operational databases. Declarative pipelines let engineers define tables and data quality expectations, while the platform manages dependencies, retries and incremental processing. Transformation tools such as dbt can also run against Databricks SQL warehouses.

The table below maps common tasks to the platform features usually chosen for them.

TaskRecommended featureReason
Incremental file ingestionAuto LoaderTracks processed files automatically
Streaming transformationsStructured StreamingExactly-once processing into Delta tables
Declarative ETL with quality rulesDeclarative pipelinesManaged dependencies and expectations
Scheduled multi-step workflowsJobsBuilt-in orchestration and retries
Business intelligence queriesSQL warehousesPhoton acceleration and concurrency
Access control and auditingUnity CatalogOne permission model across workspaces
Matching tasks to Databricks features

Costs, limitations and common mistakes

Databricks charges in Databricks Units (DBUs), a normalized measure of processing capacity per hour, in addition to the cloud provider’s charges for virtual machines and storage when classic compute is used. Rates differ by workload type, so interactive all-purpose compute is usually more expensive than automated job compute.

  • Running pipelines on interactive clusters: production jobs should use job compute or serverless compute to avoid paying higher rates.
  • Leaving clusters idle: without auto-termination, forgotten clusters generate costs for hours or days.
  • Ignoring small files: frequent tiny writes degrade performance until tables are compacted and optimized.
  • Skipping governance early: retrofitting Unity Catalog permissions onto many legacy workspaces is slow and error-prone.
  • Treating notebooks as production code: untested notebooks without version control make pipelines fragile.

The platform also has a real learning curve. Spark tuning, partitioning strategy and cluster sizing still require expertise, even though serverless options and automatic optimization have reduced the manual work considerably.

The simple explanation

Databricks is a shared workshop in the cloud where a company keeps its data and the tools to work on it. Engineers clean and combine data there, analysts ask questions with SQL and data scientists train prediction models, all on the same set of tables.

Instead of copying data between separate systems, everyone works from one storage area and rents computing power only when needed. The main benefit is less duplication and fewer delays, while the main risk is a large bill if nobody switches the machines off.

How it is used in practice

A regional energy supplier collects meter readings from about two million households every fifteen minutes. The files land in cloud storage, where Auto Loader ingests them into bronze Delta tables within minutes of arrival.

A declarative pipeline removes duplicate readings, rejects values outside physical limits and builds silver tables per household. Gold tables then aggregate consumption by region and hour. Analysts query these through a SQL warehouse for daily dashboards, and data scientists use the same tables to train a demand forecasting model tracked in MLflow.

After moving from three separate systems to this setup, the team removed two copies of the data and shortened the time from meter reading to dashboard from one day to under an hour. Job compute with auto-termination kept processing costs predictable.