---
title: Requirements for standalone pipelines
description: "Requirements for standalone materialized views and streaming tables: SQL warehouse or serverless general compute, permissions, and regional availability."
canonical_url: https://docs.databricks.com/gcp/en/sql/mv-st/compute
---

# Requirements for standalone pipelines

Creating and refreshing standalone materialized views and streaming tables requires a serverless-enabled, Unity Catalog-enabled workspace, and either a SQL warehouse or a notebook on serverless general compute.

You can create and refresh standalone materialized views and streaming tables using a SQL warehouse. To submit `CREATE` and `REFRESH` statements, use the SQL editor in the Databricks UI, the [Databricks SQL CLI](https://docs.databricks.com/gcp/en/dev-tools/databricks-sql-cli.md), or the [Databricks SQL API](https://docs.databricks.com/gcp/en/dev-tools/sql-execution-tutorial.md).

You can also create and refresh standalone materialized views and streaming tables from a notebook running on serverless general compute. See [Notebooks](https://docs.databricks.com/gcp/en/sql/mv-st/compute.md#notebooks).

## <a id="requirements" />Requirements

The following requirements apply to all standalone pipelines.

You must have:

* A Databricks account with serverless enabled. See [Set up serverless SQL warehouses](https://docs.databricks.com/gcp/en/admin/sql/serverless.md).
* A workspace with Unity Catalog enabled. See [Get started with Unity Catalog](https://docs.databricks.com/gcp/en/data-governance/unity-catalog/get-started.md).

### <a id="permissions" />Permissions to create or refresh

The owner (the user who creates the table) must have the following permissions:

* `SELECT` privilege on the base tables.
* `USE CATALOG` and `USE SCHEMA` privileges on the catalog and schema containing the source tables.
* `USE CATALOG` and `USE SCHEMA` privileges on the target catalog and schema.
* `CREATE MATERIALIZED VIEW` privilege on the schema containing the materialized view.
* `CREATE TABLE` privilege on the schema containing the streaming table. Pipelines using [legacy publishing mode](https://docs.databricks.com/gcp/en/ldp/live-schema.md) also require the `CREATE TABLE` privilege for materialized views.

To refresh a standalone materialized view or streaming table, you must be in the workspace that created it. You also need the following:

* For a materialized view, you must be the owner, or have both the `SELECT` and `REFRESH` privileges on the materialized view.
* For a streaming table, you must be the owner, or have both the `SELECT` and `MANAGE` privileges on the streaming table.
* On [serverless general compute](https://docs.databricks.com/gcp/en/sql/mv-st/compute.md#serverless-general-compute), only the owner can refresh a materialized view or streaming table.

## <a id="source-tables" />Source table requirements

For incremental refresh of materialized views from Delta tables, the source tables must have [row tracking enabled](https://docs.databricks.com/gcp/en/sql/mv-st/materialized.md#mv-row-tracking).

## <a id="sql-warehouses" />SQL warehouses

To create or refresh standalone materialized views using a SQL warehouse, you must have a Unity Catalog-enabled pro or serverless SQL warehouse. To create or refresh standalone streaming tables, you can use any Unity Catalog-enabled SQL warehouse, including a classic SQL warehouse. See [SQL warehouse types](https://docs.databricks.com/gcp/en/compute/sql-warehouse/warehouse-types.md).

## <a id="notebooks" />Notebooks

You can create and refresh standalone materialized views and streaming tables from a notebook with serverless general compute.

### <a id="serverless-general-compute" />Serverless general compute

You can create and refresh standalone materialized views and streaming tables from a notebook attached to serverless general compute. This option is useful when you want to define and run materialized views or streaming tables alongside other notebook-based workflows without provisioning a SQL warehouse.

To create and refresh standalone materialized views and streaming tables with Python in a notebook, see [Use Python with standalone pipelines](https://docs.databricks.com/gcp/en/sql/mv-st/using-python.md).

### <a id="serverless-gc-requirements" />Serverless general compute requirements

* A notebook attached to serverless general compute.
* Databricks Runtime 18.1 or above. Interactive notebooks meet this requirement automatically; jobs pinned to an older version do not.
* Your workspace must be in a region that supports [serverless compute](https://docs.databricks.com/gcp/en/sql/mv-st/compute.md#regional-availability).

### Limitations

* Only the table owner can refresh the table. To allow another user to refresh, change the owner. See [Change the owner of a streaming table](https://docs.databricks.com/gcp/en/sql/mv-st/streaming.md#change-owner) and [Change the owner of a materialized view](https://docs.databricks.com/gcp/en/sql/mv-st/materialized-configure.md#change-owner).
* Asynchronous refreshes are not supported. Use a synchronous refresh instead.
* The preview channel is not supported. Tables created on serverless general compute use the `current` channel.
* A table can only be refreshed using the compute type it was created with. A table created on a SQL warehouse must be refreshed on a SQL warehouse, and a table created on serverless general compute must be refreshed on serverless general compute. To check the compute type, view the table in [Catalog Explorer](https://docs.databricks.com/gcp/en/catalog-explorer/index.md).
* Cost attribution and control are not available. Use a SQL warehouse if you need per-table cost attribution.
* Vertical autoscaling on out-of-memory errors is not available.
* Retries for schema upgrades are not available.
* Performance mode selection on refresh is not available. See [Select a performance mode for scheduled refreshes](https://docs.databricks.com/gcp/en/sql/mv-st/schedule-refreshes.md#performance-mode).

> [!NOTE]
>
> In a notebook on serverless general compute, you can submit `CREATE` and `REFRESH` statements with `spark.sql`, or define the table in Python with the pipelines decorators. See [Use Python with standalone pipelines](https://docs.databricks.com/gcp/en/sql/mv-st/using-python.md).

## <a id="query" />Query requirements

To query a standalone materialized view or streaming table, you must be the owner, or you must have `SELECT` on the table along with `USE CATALOG` and `USE SCHEMA` on its parents.

You must use one of the following compute resources:

* SQL warehouse
* Lakeflow pipelines interfaces
* Standard access mode compute (formerly shared access mode)
* Dedicated access mode compute (formerly single user access mode) on Databricks Runtime 15.4 or above, if the workspace is enabled for serverless compute. See [Fine-grained access control on dedicated compute](https://docs.databricks.com/gcp/en/compute/single-user-fgac.md). If you are the owner, you can use dedicated access mode compute running Databricks Runtime 14.3 or above.

## <a id="regional-availability" />Regional availability

Tables created and refreshed using a Databricks SQL warehouse are available in all regions that support serverless Databricks SQL warehouses.

Creating and refreshing standalone materialized views and streaming tables on serverless general compute is available in all regions that support serverless compute.

For the list of supported regions for both compute options, see [Serverless availability](https://docs.databricks.com/gcp/en/resources/feature-region-support.md#serverless-gcp).
