Cache only auto run

Jonathan Swenson · Friday Demos · October 24, 2025 · 2:24

A new experience that allows being conservative with database load (ie hit the run button), but still allows for instant results from the cache. Great for cache debugging as well.

Try it yourselfThe full week on docsperformanceworkbook

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Hey all. Um, just a little something that I just quickly threw together while I was um off working on some cubing and extract based stuff. Find to the right screen to share. Um, one thing that u we were kind of playing with when we um were trying to make sure that we're you know hitting the cubes that we want to hit and things along those lines.

  2. I sort of was trying to run queries, but I didn't actually want to hit the data warehouse in the case that it was going to run an expensive query and I wanted to make sure that it was going to hit the cube. Um, I was sort of playing with the concept of a caching policy that would allow for not hitting the customer data warehouse.

  3. So someone could come in and do in sort of an auto run off mode come in and say, okay, like I want to not run queries. I only want to be able to do stuff that I've hit from cache by default. So here, these queries, I'm just doing a quick restart here that's hitting the cache. I can come in, I can add a year to my query that stops because it doesn't hit the cache.

  4. I can then run my query manually. That was with a keyboard short f. But so that runs the query. Then I can come in and do sorts and things like that. This is hitting the requiable cache. I can come in, I can filter on a year. So that hits the requerable cache. All these queries are good. But as soon as I want to like pull in, we'll say status, this doesn't happen.

  5. I can run that query manually, then come in and say sort and pivot. This will um do as you expect. It will hit the requable cache. Um and all of these things sort of allow for someone who doesn't necessarily want to put load on their data data warehouse um with auto run off to have like a slightly better experience than they currently do.

  6. Um and then theoretically we could also you know in the case where you come in and maybe run a query um that doesn't actually run um we could do something sort of similar to um what say um what you might want from BigQuery and say here like actually this query if you were to run it would scan this much data or something along those lines.

  7. Um so it sort of allows for a more flexible experience there in the auto run.