Optimizing Databricks Compute Costs and Spark Workloads
Attribute Databricks spend with system tables, choose compute per workload, tune Spark and Delta layout, and hold the savings with policies and reviews.
Accelerator · Platform assessment
A structured, read-only review of a Databricks environment, with findings ranked by impact and effort.
This accelerator is in development and not yet available. This page describes its planned scope and design, which may change as it is built.
Overview
Databricks environments rarely degrade in one step. Settings chosen for a pilot become production defaults. Clusters multiply faster than the policies meant to govern them. Tables stay in the legacy Hive metastore long after a Unity Catalog rollout, and scheduled jobs keep running as the engineer who first wrote them.
None of this is a failure on its own. Together it adds cost and risk that are hard to see from inside a single team, and harder to explain to the people who pay for the platform.
The Lakehouse Health Check is being designed to make that picture visible in a structured, repeatable way: the same checks, run against configuration and usage metadata, producing findings that can be verified and compared over time.
Scope
The areas and checks below reflect the current design. They will be refined as it is built.
How each workspace is set up and administered, compared with Databricks' documented recommendations.
Whether workloads run on the right type of compute, sized for the work they actually do.
How access to data is granted, enforced and audited, centered on Unity Catalog.
How well production workloads withstand failure, and how quickly someone finds out when they do not.
Where Databricks spend goes, whether it can be attributed, and which changes are likely to reduce it.
Structural changes that would make the platform simpler to run and easier to extend, drawn from patterns across the other five areas.
Approach
The intended process, step by step. It describes the design, not a finished service.
With access agreed in advance, a collector would read configuration through the Databricks REST APIs and usage from system tables such as billing, compute, jobs and audit. It would not read the contents of any table. Where a setting can only be read by an administrator, the client could run the collector and share its output instead.
Each check would be a documented rule with a rationale, the evidence it relies on and a link to the relevant public Databricks documentation. The rule set would be versioned, so a later assessment can be compared with the first.
Each finding would be rated for severity and estimated effort, so quick wins are separated from structural work. Scores would rank findings within one assessment. They are not a benchmark against other organizations.
Findings would be grouped by area and ordered by priority. Each would state the evidence, the risk or cost involved and a specific recommendation, with a machine-readable export for tracking in the client's own backlog.
A working session with the platform team would walk through the findings, add context that metadata cannot show, and agree what to address first.
Future demo area
An interactive demo is planned for this space. Until it exists, the mock-up below shows the intended structure of the output. Every item in it is a generic example, not a result from a real environment.
Illustrative mock-up. Not real data. Interactive demo planned.
Lakehouse health check report
Example workspace, generic sample findings
Scheduled jobs run on all-purpose compute
Evidence: Job compute settings and the billing system tables
Recommendation: Move scheduled workloads to jobs compute or serverless. All-purpose compute is billed at a higher rate and can stay running between runs.
Privileges granted directly to individual users
Evidence: Unity Catalog grants on catalogs and schemas
Recommendation: Grant privileges to account-level groups, and manage membership through your identity provider.
Production jobs run as individual users
Evidence: The Run as setting on each job
Recommendation: Run production jobs as a service principal so they keep working when people change roles or leave.
Compute without cost-attribution tags
Evidence: Compute configuration and system.billing.usage
Recommendation: Enforce custom tags through compute policies, then report spend by tag from the billing system tables.
Long-lived personal access tokens used for automation
Evidence: Token management settings
Recommendation: Move automation to OAuth with service principals, and set a shorter maximum lifetime for new tokens.
External tables with many small files
Evidence: Table details and file counts
Recommendation: Schedule OPTIMIZE and VACUUM for these tables, or move them to Unity Catalog managed tables so predictive optimization can maintain them.
Benefits
The outcomes it is being designed to deliver for a client.
An evidence-based picture of how the platform is configured and used today, which can be repeated later to show what has changed.
Findings ranked by severity and effort, so the team knows what to fix first instead of facing a long list of observations.
Databricks cost attributed to workspaces, workloads and owners, with specific changes that are likely to reduce it.
Gaps in access control, failure handling and ownership surfaced before they become an incident or an audit finding.
Fit and scope
This accelerator is in development and not yet available. This page describes its planned scope and design, which may change as it is built. This page will be updated as it moves through each stage.
Early access
Tell us about your Databricks environment and what you would want assessed. Early conversations help decide which checks are built first, with no commitment on either side.