
More dashboard cubing work
We're still working on making dashboards faster. Here we show a quick demo of building topic-specific cubes to enable instant dashboard results on smaller data sets, without sacrificing…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Right, round two. See if it works this time. Um, kind of forgot where it was, but so we have two workbooks. Um, this is showing off the cubing stuff u or what what we have so far. Workbook A count status. And then you go to workbook B. It's a very similar query. Um, and I cleared the cache.
Let's see. So workbook B. I'm going to run this again. Cool. They both pull from cache. Now this query is in a different workbook, but it's basically the same thing that I have in Whip A. But when I run this query, it's not pulling from cache because it's a separate workbook, even if the field definitions are identical and it's essentially the same thing except this one has a filter.
Um, okay. So that's the current state. I'm going to clear cache again. Make sure they're all deleted. And then let's go to the topic that they're both pointing at. I'm in the shared model. And if I go down, there's this new managed topic cubes. This it's not great looking right now, but eventually this will be like a scheduling um modal.
I'm going to rebuild both of these cubes. And I got two. So there's just account, which is the status and count, and then this larger one that has some other fields and sorts. Okay. Triple check that the cache is cleared. You can see delete two. Gotta run that again actually because I just made the cache. Whoops. Okay, rebuilding it.
So these are both coming from the shared or these cubes are going to be built in the shared model. Um and that shared model is both used in workbook A. So if I refresh this, that's hitting cache which is great. But then if I refresh workbook B, that query is also hitting cache. So the cube that we built in the topic at the shared model is being used to uh as like a reququeryable entry for both workbook A and workbook B.
Um and there's you know this just the start. There's a lot of complexity with queries that we want to match to but um this is like a first pass at this stuff. So that's it. That's awesome. TJ, am I understanding correctly that currently we don't share cache across workbook even if the query is identical or could be reququeried?
We have um when we do a lookup for the cache entry, it's based on the model ID. So yeah, if it if it's coming from a workbook model, then those cache entries are different. So the cache is like and if it's based on content from a certain workbook, it's not going to be carried over to to another workbook.
I'm pretty sure that's correct. So if there's model drift in the workbook layer from the shared, then we we won't do it. Is that what or like if I create a workbook that like a dashboard that isn't like has no workbook model deviation, would that be shared? Uh, not currently, but if somebody like Stephen Yeah. Yeah. Yeah.
So, this is why we're trying to push it down. We might have to check on that and get