- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2026 07:28 AM
Good write up, and the framing that mutable keys are the actual feature rather than the layout quality matches my experience.
Two refinements.
On best effort clustering, it is slightly better than "nothing happens until maintenance runs". Databricks attempts to cluster on write when the incoming write is small enough, so steady trickle ingestion stays reasonably clustered between OPTIMIZE runs. It is large writes and bulk loads that land unclustered and wait for maintenance. Worth knowing because it changes which workloads actually need aggressive scheduling.
On when to still partition, I would add a second case to yours. If you delete by time, dropping a partition is vastly cheaper than a DELETE across a clustered table, and retention policies are a lot easier to evidence when the boundary is physical. That is a lifecycle argument rather than a performance one, but it is the reason I have kept date partitioning on a couple of tables.
On your AUTO question, the thing to keep in mind is that it chooses keys from observed query history through predictive optimization. So it needs a warm up period on a new table, and it reacts to a shift in query patterns rather than anticipating one. For genuinely mixed workloads that is probably fine, since a human picking keys is also reacting. Where I would expect manual keys to still win is when you know a pattern is coming that the history has not seen yet, for example a new consumer about to onboard.
No numbers from me on the reclustering cost, but I would be interested in the same. My suspicion is that most teams never run the full variant and just let old data age out of relevance, which sidesteps the question rather than answering it.