How long are Queries stored for in Databricks SQL (SQL Analytics)? Can I modify the time duration?

Anonymous
Not applicable
 

User16783855117
Databricks Employee
Databricks Employee
Hi! There are a few different types of caching that are supported in Databricks SQL, and you can see the cache retention policy for each of these different types of cache by starting here - https://docs.databricks.com/sql/admin/query-caching.html Query Results caching and Delta Caching are based on the cluster, which means restarting the cluster will invalidate this cache.

View solution in original post