Databricks Permissions
A reference explaining every permission Revefi asks for on Databricks and what each one is used for, including the system tables Revefi reads.
Overview
Revefi connects to Databricks as a single service principal. The grants on that service principal are the complete boundary of what Revefi can do in your workspace. Most of what Revefi does is read Databricks system tables: the operational metadata Databricks keeps for billing, compute, jobs, queries, and lineage.
This page explains why each permission in the Databricks setup guide is requested.
Every grant below goes to the service principal created in Step 1 of the setup guide. In the SQL commands, it's identified by its
<application_id>.
Unity Catalog permissions
See Step 2 of the setup guide.
| Permission | What Revefi uses it for |
|---|---|
USE_CATALOG, USE_SCHEMA, SELECT on the system catalog | Lets Revefi query the Databricks system tables. This is the source for spend attribution, query performance analysis, job and cluster optimization, usage analytics, and lineage — see below for the tables involved. Only a metastore admin can grant access to the system catalog. |
USE_CATALOG, USE_SCHEMA, SELECT on each catalog you want monitored | Lets Revefi read the tables in that catalog to run data quality monitors on them. Grant this only on the catalogs you want Revefi to monitor. |
USE_CATALOG, USE_SCHEMA, CREATE_SCHEMA, CREATE_MATERIALIZED_VIEW on the revefi catalog | Lets Revefi create views and materialized views over the system tables in its own catalog, to speed up its queries. See Revefi's own catalog. |
What Revefi reads from the system catalog
system catalogsystem is the read-only catalog Databricks provides in every Unity Catalog metastore. Some of its schemas must be enabled by an account admin before they hold any data. See Enable system tables in the Databricks documentation.
| Table | What Revefi uses it for |
|---|---|
system.billing.usage | DBU consumption by workspace, warehouse, cluster, job, pipeline, and product. The basis of all Databricks spend reporting and cost attribution. |
system.billing.list_prices | List price of each SKU, used to turn DBUs into dollar cost. |
system.billing.account_prices | Your account's negotiated price of each SKU. Used instead of list_prices when your Revefi account is set up to use account prices. |
system.compute.clusters | Cluster configuration and change history — node types, worker counts, autoscaling, and owners. Used for cluster cost attribution and job cluster recommendations. |
system.compute.node_timeline | Per-minute CPU and memory utilization of cluster nodes. Used to find idle or oversized clusters and to size job clusters. |
system.compute.warehouses | SQL warehouse configuration — size, type, cluster limits, and auto-stop. Used for warehouse recommendations and warehouse auto-management. |
system.compute.warehouse_events | SQL warehouse start, stop, and scaling events. Used to measure warehouse uptime and utilization. |
system.query.history | Queries run on SQL warehouses and serverless compute, with their duration, rows, and bytes. Used for query performance analysis and per-query cost. |
system.lakeflow.jobs | Job definitions — names, owners, and tags. |
system.lakeflow.job_run_timeline | Start time, end time, and result of each job run. Used for job run monitors (duration and failure rate) and job cost. |
system.lakeflow.job_task_run_timeline | Start time, end time, and compute of each task in a job run. Used to attribute cost and utilization to individual tasks for job optimization. |
system.lakeflow.pipelines | DLT pipeline definitions. Used for pipeline cost and DLT pipeline optimization. |
system.access.table_lineage | Which tables each query or job reads and writes. Used for lineage and table usage analytics. |
system.access.audit | Workspace audit events. Used to show configuration changes to clusters, jobs, and warehouses, attribute all-purpose cluster cost to users, and report Genie activity. |
system.access.workspaces_latest | Workspace names and URLs, used to label spend and link back to your workspace. |
system.information_schema.tables | Table names, types, owners, properties, and last-modified times. Used to discover tables and to run freshness monitors. |
system.information_schema.columns | Column names and data types of each table. Used for schema change monitoring. |
system.information_schemaonly lists tables in catalogs the service principal can access. Tables in catalogs you haven't granted Revefi access to stay hidden.
SQL warehouse permissions
See Step 3 of the setup guide.
| Permission | What Revefi uses it for |
|---|---|
CAN USE on Revefi's SQL warehouse | Lets Revefi run its queries on the system tables and your monitored catalogs. Revefi runs all of its queries on this one warehouse and doesn't run queries on your other warehouses. |
Jobs, clusters, and pipelines permissions
Revefi needs to view your jobs, all-purpose clusters, and DLT pipelines to optimize them. These permissions are required: without them, job and pipeline optimization doesn't work. See Step 5 and Step 8 of the setup guide for a script that grants them on every job, cluster, and pipeline.
| Permission | What Revefi uses it for |
|---|---|
CAN_VIEW on jobs | Reads each job's settings, tasks, and cluster definitions through the Databricks API, so Revefi can analyze job runs and recommend cluster configurations. |
CAN_VIEW on all-purpose clusters | Reads the configuration of all-purpose clusters that jobs run on, so Revefi can attribute their cost and recommend changes. |
CAN_VIEW on DLT pipelines | Reads pipeline settings and update history through the Databricks API, for pipeline cost and DLT pipeline optimization. |
CAN_VIEWonly lets Revefi read these objects. To let Revefi run experiments on alternative cluster configurations for a job, grantCAN_MANAGEon that job instead — see Optional permissions.
Revefi's own catalog
Revefi is granted CREATE_SCHEMA and CREATE_MATERIALIZED_VIEW on a catalog named revefi, which you create during setup. Revefi creates one schema per system schema it reads (billing, compute, lakeflow, access, and query) and adds a view over each system table listed above. Tables that rarely change — list_prices, account_prices, and workspaces_latest — are created as materialized views so Revefi can read them faster.
These grants are scoped entirely to the revefi catalog. None of your own tables live in it.
Optional permissions
These are only needed for specific features.
| Permission | Needed for | What Revefi uses it for |
|---|---|---|
CAN_MANAGE on jobs and all-purpose clusters | Job optimization experiments | Lets Revefi run experiments on alternative cluster configurations. Replaces CAN_VIEW on those jobs and clusters. |
READ_VOLUME on the revefi.default.logs volume | Job optimization | Reads the cluster logs your jobs write to the volume, for detailed Spark metrics. |
| Warehouse management permissions | Warehouse auto-management | Resizes your SQL warehouses to apply Revefi's recommendations. |
Related pages
- Databricks setup guide — the full onboarding steps
- Databricks Warehouse Auto-Management — permissions for automatic warehouse resizing
Questions about a specific grant? Reach out to [email protected].
Updated about 12 hours ago
