
Tabbed analytics and some perf
We've added to tabs to our Omni analytics dashboard for simpler navigation, better organization, and faster performance.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I'll guys off real quick I'll do a quick I'll do some quick ones just to not take up too much time uh yeah on the performance note we have a similar issue in our own uh environment we use the same snowflake warehouse for our to power our analytics section of the app and our internal stuff and this is very similar to what that customer was seeing which is uh you'll notice this yellow bar means that snowflake is queuing stuff up so like it was queued for 45 seconds even though this query only took 16 seconds so pain in the butt uh so one thing I did on the analytic side that was within my uh non-engineering control to do is uh when you whoops when
you load up analytics now we split up the dashboard because what was happening is like this dashboard was very very large like 50 tiles or something like that which meant like that was probably going to Quee uh I split this into different tabed sections so now somebody actually has to click on one to start loading up those queries so hopefully this will reduce some of the load oh I got to figure out why my aren't working um also just nice spr analytics and Chris if you I don't know if you want to talk it all about some stuff you were doing on PL yeah I've just been generally monitoring a lot of that warehouse load that Ariel mentioned um I uh started tinkering with some
of the clustering capabilities of um Snowflake and I should cave about that um in this case the word clustering means uh actually how the data is stored on the disc for table it's essentially indexing for engineers who are familiar with that um I think there's some potential benefit there like I think snowflake is clustering our data by time typically which is probably a very reasonable def um but in our case clustering by organization ID would be tremendously helpful and sensible as well since most of our queries are going to be skilled to an organization ID I started playing with that it showed a little bit of promise but I'm not totally clear how much helped um the thing I did do which you know Colin
cover your ears is I bumped our warehouse from an extra small Warehouse to a small Warehouse um and what I noticed is the reason I did this is I noticed that that's great uh if I ran a single query without anything else running it would complete in about eight seconds but when I loaded the analytics Dash that was running five to eight of these queries at a time it would take about 40 which indicated to me that the warehouse itself was just underpowered um and sure enough once I upgraded the the warehouse things ran about twice as fast um I think it's also really good like a good pointer that you know some of the dashboard cubing stuff that we've talked about could be so
incredibly powerful here right if we know to only run one query and then reuse it which is exactly you know what we would be able to do in this particular case it could just have such a huge impact on cost of snowflakes so you know I'm super excited I'm getting back to that work that's it that one