Cube builder + debugger

TJ Banghart · Friday Demos · October 10, 2025 · 4:14

We added a UI builder for Cubes (aggregate awareness to build intermediate caching), plus layered in clear debugging for the inspector. This is all in service of faster dashboards and…

Try it yourselfThe full week on docsdevelopmentperformanceworkbook

Transcript

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

  1. There's a lot of discussion about cubes this week and last week. So, I'm going to try to demonstrate the current state of where we are with that. Um, first might help if I clear I'm going to clear the entire cache. So, there's nothing in there. So, this is like imagine opening up Omni for the first time. You know, before anything scheduled or, you know, empty cache run a dashboard.

  2. Great. Everything hit the the warehouse. Now, let's see if we can do something a little bit nifty and maybe pre-warm the cache with some cube that we come up with. Um, so the first thing we added is if you're in a workbook, you can do this save cube to topic. So, it'll take that query that you have and I'm starting with with this like order um by date because I know date is probably the the smallest granularity that I have and then hopefully we can roll up to month and and year.

  3. Um, so I'm going to save that as I think count order items by date. So I'm saving it to the topic. Cool. And then from the same workbook, it's kind of a weird example because it's definitely contrived. So I'm going to rebuild it even though I just ran the same query. Um, let's see. Actually, let let me do this again.

  4. So clear cache again. So it's starting from nothing. Going to go do it from the shared model. I think that works better sometimes. Oh yeah, and that's the other thing is like we have the state management thing. So it'll it'll show you when we start the cube building process and then it'll update that uh toast when it's actually complete.

  5. Um okay, great. Just verify it worked. So that's that was a normal server requery. So the only thing in cache right now is the cube. And if I refresh, yes, and we updated this little debug panel. So if it's a cube hit, it'll say explicitly that like, oh yeah, that's a cube re-query and this is the cube name that it you hit.

  6. Um, which is helpful for debugging this kind of stuff. Um, now let's see if it actually is going to make a difference. Actually publish. Let's see. Go back to the dashboard. Okay, so this is this is kind of the problem. The limiting factor of these cube things is we have order by date. Uh and you know there is a filter applied and there's a filter applied to the year as well.

  7. It's the past seven years so it should be the same. Uh but for some reason we didn't hit that cube as a potential rollup query. Um so that's kind of the state we're at now is like we're we're able to go into a workbook, build the cube, build it, you know, rebuild or schedule it. I think the scheduling is going to come a little later.

  8. Um, but then we're still kind of dependent on our ability to find matches. Um, which is a hard problem to solve. Uh, but a lot of the the requests recently were like, how do you know when the cube is built? Um, is there a way to make a cube uh easily from the workbook? And so we're kind of addressing that stuff first and then we'll see what happens with the the actual requery logic.

  9. Um, that's it. TJ. Oh, he's gone. Sorry. Yep. Sorry if I missed this. What's the max size of the cubes and then how many can we support? That's a great question. I mean, we've been talking about this like the last few weeks. Right now, the max size is about 5 million rows. Um and then we haven't really stress tested how many cubes or extracts which are subtly different but um about 5 million rows.

  10. There's only a few customers that are actually using them and mostly for just testing um how Omni performs with with a data set in cache that of of a of that size. Um so about five million rows I'd say. Awesome. Thank you.