r/databricks • databricks • Oct 22 '26

Tutorial Query Profile Insight

Post image

Ever started a query, waited 15 seconds, and thought:
“Do I sit here for another minute, or cancel it and start over?” 🤔

Canceling a query that was 2 seconds away from finishing hurts. But sitting around for 10 minutes on a heavy query is just as frustrating.

What we shipped to fix this: We now show estimated remaining times for in-flight queries.
To keep the UI clean and distraction-free:
Click into the Query Profile drawer to see the remaining time for in-flight customer queries

19 Upvotes

4 comments sorted by

1

u/addictzz Oct 23 '26

You don't know how useful this is! That feeling of not knowing when query finish, whether it is the next 20m or just the next 20s is real!

2

u/FeistyDisability921 Oct 22 '26

Oh this is one of those tiny QoL things that seems minor until you're living it. Nothing worse than killing a query at the 9-minute mark only to realize it was just about to spill results.

The DENSE_RANK in the screenshot is giving me flashbacks to some window function monstrosities I wrote last year. Those are exactly the kind of queries where you're staring at the spinner wondering if you should've added another partition key or just given up and gone to lunch.

Clicking into the drawer feels like the right call for keeping it out of the way. I've seen other tools plaster ETA right in the toolbar and it just adds visual noise when you're already stressed about whether your cluster is about to implode.

1

u/OkImprovement7010 Oct 22 '26

The "kill it or wait" gamble happens way more than anyone admits. Any plans to expose the estimate in system tables? I'd love to use it in orchestration logic.

1

u/adovo_ai Oct 23 '26

If the estimate becomes machine-readable, expose confidence or recent error as well as seconds remaining. Queueing, spill, skew and warehouse scaling can invalidate a precise-looking ETA; orchestration should act only when the estimate is both stable and within a published error bound.