cancel
Showing results for 
Search instead for 
Did you mean: 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results for 
Search instead for 
Did you mean: 

SQL Warehouse - Turning off caching

KosmaS
New Contributor III

Hi All,

I'd like to do some benchmarking and I need to turn off caching on my SQL Warehouse Server. However, whatever I try I receive quite high level of caching after running my queries (>60%). I tried to turn off my server, but it automatically wakes up right away and it didn't help. I tried as well 'SET use_cached_result = false' from this page, which didn't help as well:  https://docs.databricks.com/en/sql/user/queries/query-caching.html

Could you advise me how to proceed to be sure that cache is turned off when I run my query?

1 REPLY 1

Walter_C
Databricks Employee
Databricks Employee

To disable query result caching, you can run SET use_cached_result = false in the SQL editor.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityā€”sign up today to get started!

Sign Up Now