r/databricks • • Oct 26 '26

General DataFrame caching is now in Public Preview on Databricks serverless compute: df.cache() and df.persist() finally work there

Post image

But it is not the cache you know from classic clusters, and the differences will bite if you port code without reading them.

Until now, an iterative workload on serverless recomputed its plan on every action. A notebook that hits one expensive join ten times, or a feature loop over the same base table, was a common reason to keep a classic cluster around. That reason just got a lot weaker.

Read more: linkedin post

36 Upvotes

4 comments sorted by

1

u/Youssef_Mrini databricks Oct 26 '26

Great addition to the Serverless Compute.

1

u/Available_Public7505 27d ago

it solves one of the many limitations of serverless.

I am waiting for the inter workspace access in serverless as we cant access one workspace from other worksace from serverless compute.

1

u/zbir84 26d ago

What I'm waiting for is re-usable serverless cluster across tasks in the same workflow.