- 201 Views
- 1 replies
- 3 kudos
Read a Query Profile: Find the Slow Step in Five Minutes
Optimization · SQL · Stop guessing why a query is slow and look at where the time wentBy Srinu in collaboration with SridharA dashboard query went from 20 seconds to four minutes. The usual response is to resize the warehouse and hope. That treats th...
- 201 Views
- 1 replies
- 3 kudos
- 193 Views
- 0 replies
- 0 kudos
The Small Files Problem, and What Predictive Optimization Does About It
Optimization · Delta Lake · Why a table gets slower as it grows, and what to stop doing by handBy @SrinuB in collaboration with @sridharplv A table that loads every 10 minutes works fine for a month, then dashboards on it start crawling. Nothing in ...
- 193 Views
- 0 replies
- 0 kudos
- 148 Views
- 0 replies
- 0 kudos
Why Your MERGE Stopped Conflicting: Deletion Vectors and Row-Level Concurrency
Optimization · Delta Lake · Change one row without rewriting the whole file, and let writers share a tableBy @SrinuB Two jobs update the same Delta table at the same time. One fails with ConcurrentAppendException or ConcurrentDeleteReadException, and...
- 148 Views
- 0 replies
- 0 kudos
- 196 Views
- 0 replies
- 0 kudos
Stop Choosing Partition Keys You Will Regret: A Practical Guide to Liquid Clustering
Optimization · Delta Lake · Change your table layout when your queries change, without rewriting the tableBy @SrinuB Every data team has one table it is afraid to touch.It was partitioned by date on day one, because that is what the tutorials said. T...
- 196 Views
- 0 replies
- 0 kudos
- 817 Views
- 2 replies
- 1 kudos
PARTITIONED BY, Liquid Clustering, and OPTIMIZE: when should you use each?
I put together a practical guide to Delta Lake table layouts, with SQL examples in Databricks:When to consider partitioning or Liquid Clustering.How OPTIMIZE works with partitions, ZORDER, and clustering.How to compare bytes scanned, query latency, a...
- 817 Views
- 2 replies
- 1 kudos
- 984 Views
- 0 replies
- 0 kudos
The Boring Truth Behind a 60% Speedup
How We Cut Refresh Time and Compute Cost by ~60% — the Mechanics, Not Just the Headline"We reduced compute costs by 60%" is a great line in a slide deck and a mostly useless one in a technical forum, because it doesn't tell you why. Here's the actual...
- 984 Views
- 0 replies
- 0 kudos