r/databricks • • 16h ago

Discussion what i found useful in this databricks autoscaling guide

1 Upvotes

disclosure: i work at hackmamba, and select is a client. i'm sharing this as part of my work.

my main takeaway: “autoscaling” can mean different things in databricks. this guide separates classic clusters, lakeflow pipelines, and lakebase, then focuses on classic cluster autoscaling.

the scale-down timings were the most useful detail: 40 seconds for job compute and 150 seconds for all-purpose compute. so if an all-purpose cluster doesn’t shrink right after a job ends, that can be normal.

for classic clusters, scale-up depends on pending tasks and available task slots. cpu alone won’t tell the whole story.

one setting worth checking: spark.dynamicAllocation.enabled. the guide says enabling it alongside databricks autoscaling can make the two systems conflict.

the final section discusses select’s own product, so i read that as the vendor’s perspective. the autoscaling mechanics were the useful part for me.


r/databricks • • 9h ago

Help Is system.billing.attributed_cost available yet?

Thumbnail
learn.microsoft.com
2 Upvotes

Hey everyone!

I recently came across a new system table in the billing schema called attributed_cost. I've been looking forward to something like this for cost analysis!

The problem is that the table is completely empty for me. According to the documentation, it's still in beta and should be available through the Previews menu, but I can't find that option in my workspace.

Has anyone managed to get this working? Are you seeing any data in the table, or is it empty for you too?

Thanks! First time posting here!


r/databricks • • 17h ago

General Databricks Job-Trigger (Beta): Job-Id Lookups

12 Upvotes

Databricks introduces job triggers such as described here.

Example from the Docu using DABs:

      triggers:
        - pause_status: UNPAUSED
          job_completion:
            jobs:
              - workspace_id: 'xxxx'
                job_id: ${var.upstream_job_id} 

As you can see: the job_ids are hard coded in this example which rarely make sense as usally the job IDs are different in Dev/Test/Prod.

Therefore, DABs have already a lookup

variables:
  upstream_job_id:
    lookup:
      job: "zzzz"

  jobs:
    yyy:
      triggers:
        - pause_status: UNPAUSED
          job_completion:
            jobs:
              - workspace_id: 'xxxx'
                job_id: ${var.upstream_job_id}
            if_status: SUCCESS

So on dev/test/prod the job_id is always looked up by name. In my opinion, job triggers make only sense with those lookups.


r/databricks • • 18h ago

General What migrations to Databricks are you seeing the most demand for right now ?

21 Upvotes

We are evaluating where to invest further in Databricks delivery capabilities and I am curious what others are seeing in the market. My analysis has been that Synapse to Databricks migrations are becoming increasingly common.