
One of the things that shocked me when I moved from working with IBM Db2 to working with Snowflake was the fact that actual execution plans were available for every query run. In Db2, you have to run utilities to…

One of the things that fascinates me about SQL is the extreme limits on reserved words, especially when compared with most procedural languages. I’ve written about using reserved words for IBM Db2 and MySQL. I thought I’d explore the issue…

Snowflake doesn’t have a lot of configuration parameters that you can tune for query performance, but there are still a number of aspects and techniques to get better performance. The goal of this series is to explore the basic aspects…

A colleague at Snowflake was working on a white paper recently. In the paper, they stated that querying between different Snowflake databases is no slower or more difficult than querying within a Snowflake database. A non-technical person asked for a…

I am a huge fan of testing performance on either the actual production data or a full-sized copy of the data. With every database platform I’ve worked with in a 20+ year career, performance is often excellent at a smaller…

In my day job, I spend a lot of time looking at other peoples’ SQL and helping them make it run faster through a vast array of different techniques. I have been toying lately with seeing if I could take…

In my early days as a Db2 DBA, it was occasionally easy to be a performance hero. In those days, on 32-bit systems, the default size of Db2’s default buffer pool (primary data cache) was 1,000 4k pages. For many…

While I spend my day job digging into an amazing variety of performance issues, there are some patterns we see over and over again. The first pattern I blogged about was partition pruning. In this article, I’d like to address…

One key to performance in Snowflake is using partition pruning to read as little data as possible. I’ve previously written about what partition pruning is in Snowflake, but there are really two different types of partition pruning. Static Partition Pruning…
I have to say, I love Snowflake, and I think I’ve found my career home, at least for a while. I’m fairly sure I’m past the honeymoon period at this point, too. I’ve been frustrated with a couple of things,…

It’s summer! Kids are out of school, the pools are open, and …. technical conferences are in full swing? For those who are not aware, the IDUG North America 2024 technical conference is happening next week in Charlotte, NC (June…

I spent more than 20 years working with relational databases, gaining a deep expertise with Db2 LUW and a lesser expertise working with MySQL along with a bit of time spent on MS SQL Server, Oracle, and random other database…