---
title: Data warehousing on Databricks
description: Learn about building a data warehousing solution on the Databricks platform using Databricks SQL.
canonical_url: https://docs.databricks.com/aws/en/sql/
---

# Data warehousing on Databricks

Databricks SQL is a cloud data warehouse built on lakehouse architecture. It runs directly on your data lake, supports ANSI SQL with Delta Lake extensions, and provides the tools to build highly performant, cost-effective data warehouses without moving your data.

## Interfaces and tools

Databricks SQL runs on [SQL warehouses](https://docs.databricks.com/aws/en/compute/sql-warehouse/index.md) and is accessible from multiple interfaces for querying, visualization, pipeline management, and automation.

| Interface                                                                                            | Description                                                                                                                                                                                                                 |
| ---------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [SQL editor](https://docs.databricks.com/aws/en/sql/user/sql-editor/index.md)                        | Write and run SQL queries with integrated AI assistance, code comments, and version history.                                                                                                                                |
| [Notebooks](https://docs.databricks.com/aws/en/notebooks/notebook-compute.md#notebook-sql-warehouse) | Attach a notebook to a SQL warehouse to run SQL alongside Python, Scala, or R. See [Notebooks and SQL warehouses](https://docs.databricks.com/aws/en/notebooks/notebook-compute.md#notebook-sql-warehouse) for limitations. |
| [Jobs](https://docs.databricks.com/aws/en/jobs/tasks/sql.md)                                         | Schedule SQL queries as jobs for automated data processing and reporting workflows.                                                                                                                                         |
| [Dashboards](https://docs.databricks.com/aws/en/dashboards/index.md)                                 | Create interactive AI/BI dashboards with AI-assisted authoring to share insights across your organization.                                                                                                                  |
| [Metric views](https://docs.databricks.com/aws/en/uc-semantics/metric-views/index.md)                | Define business metrics with consistent calculations using a semantic layer. Reuse metrics across queries and dashboards.                                                                                                   |
| [Alerts](https://docs.databricks.com/aws/en/sql/user/alerts/index.md)                                | Monitor query results, evaluate conditions, and deliver notifications automatically.                                                                                                                                        |
| [ETL](https://docs.databricks.com/aws/en/sql/mv-st/index.md)                                         | Define and refresh streaming tables and materialized views directly in Databricks SQL for incremental ETL pipelines.                                                                                                        |
| [REST API](https://docs.databricks.com/api/workspace)                                                | Automate and manage Databricks SQL objects programmatically.                                                                                                                                                                |

## Monitor and optimize

| Resource                                                                                                  | Description                                                                                    |
| --------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| [Query history](https://docs.databricks.com/aws/en/sql/user/queries/query-history.md)                     | Review past query runs, execution times, and resource usage across your warehouse.             |
| [Query profile](https://docs.databricks.com/aws/en/sql/user/queries/query-profile.md)                     | Inspect the execution plan for a query to identify bottlenecks and optimization opportunities. |
| [Query performance insights](https://docs.databricks.com/aws/en/sql/user/queries/performance-insights.md) | Get automatic insights and recommendations when queries run inefficiently.                     |

## Get started

If you're new to Databricks SQL, start with the concepts and then follow a hands-on walkthrough.

| Resource                                                                                                         | Description                                                                                                         |
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| [Databricks SQL concepts](https://docs.databricks.com/aws/en/sql/get-started/concepts.md)                        | Learn core concepts including queries, SQL warehouses, dashboards, and data management.                             |
| [Data warehousing architecture](https://docs.databricks.com/aws/en/sql/get-started/data-warehousing-concepts.md) | Understand lakehouse architecture, medallion layers, and data modeling approaches for Databricks SQL.               |
| [Get started with data warehousing](https://docs.databricks.com/aws/en/sql/get-started/index.md)                 | Follow a complete walkthrough covering sample dashboards, notebooks, jobs, data ingestion, and SQL warehouse setup. |
| [Unity Catalog metric views](https://docs.databricks.com/aws/en/uc-semantics/metric-views/index.md)              | Define consistent, reusable business metrics with a semantic layer for use across queries and dashboards.           |
| [Create an AI/BI dashboard](https://docs.databricks.com/aws/en/dashboards/tutorials/create-dashboard.md)         | Build and publish your first dashboard with datasets, visualizations, and filters using AI-assisted authoring.      |

## Reference

* [SQL language reference](https://docs.databricks.com/aws/en/sql/language-manual/index.md)
* [Connect to a SQL warehouse](https://docs.databricks.com/aws/en/compute/sql-warehouse/index.md)
* [Databricks SQL release notes](https://docs.databricks.com/aws/en/sql/release-notes/index.md)
