Skyline Query to identify problematic queries in Snowflake | Query Optimization in Snowflake (QOSF) Selecting the correct Warehouse size in Snowflake can be tricky. If your queries are spilling over to the Remote Storage then you either need to re-write the query or increase the Warehouse size. But …
Archive
November 2024
Wednesday, November 20, 2024 →
Wednesday, November 20, 2024 →
Skyline Query | Query Optimization in Snowflake (QOSF) Skyline, also known as Pareto Frontier or Pareto Set in Business Management or Maxima in Computional Geometry, is a useful technique in multi-criteria analysis and decision support. Skyline aims to identify points in n-dimensions that are not …
Wednesday, November 20, 2024 →
Skyline or Pareto Front using SQL | Query Optimization in Snowflake (QOSF) Skyline computation is an essential database operation that has many applications in multi-criteria decision making scenarios such as recommender systems. As such, Skyline queries have emerged as an increasingly popular tool …
Wednesday, November 20, 2024 →
Skyline or Pareto Front using SQL | Query Optimization in Snowflake (QOSF) Skyline computation is an essential database operation that has many applications in multi-criteria decision making scenarios such as recommender systems. As such, Skyline queries have emerged as an increasingly popular tool …
Wednesday, November 20, 2024 →
Getting Foreign Keys on Tables in Snowflake | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Sessionization, or solving the Gaps-and-Islands Problem using conditional_true_event | Query Optimization in Snowflake (QOSF) Sessionization or conventionally Gaps and Islands in Time-series Analysis are terms referring to the same problem of having to reset all parameters of a predictive or …
Wednesday, November 20, 2024 →
Sessionization, or solving the Gaps-and-Islands Problem using RANGE_SESSIONIZE in Google BigQuery | Query Optimization in Snowflake (QOSF) Google recently added a new Table Function called RANGE_SESSIONIZE to Google BigQuery. RANGE_SESSIONIZE allows you to sessionize temporal data. Timestamps from …
Wednesday, November 20, 2024 →
Calculating percentages using RATIO_TO_REPORT | Query Optimization in Snowflake (QOSF) RATIO_TO_REPORT SQL analytic function can be used to calculate percentage of the entire dataset or partitioned data. RATIO_TO_REPORT returns a value between 0 and 1 which indicates the weight of a numerical value …
Wednesday, November 20, 2024 →
RATIO_TO_REPORT in Snowflake | Query Optimization in Snowflake (QOSF) RATIO_TO_REPORT is a powerful Snowflake Window function that lets you calculate the ratio of a value to the sum of the values in a window. The following query uses the RATIO_TO_REPORT function to calculate the percentage of the …
Wednesday, November 20, 2024 →
RATIO_TO_REPORT in Snowflake | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
What’s eating up your Snowflake Virtual Warehouse? Using Skyline Query to identify badly written queries. | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Perform joins on timeseries data using ASOF JOIN in Snowflake | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Null-safe comparison in Snowflake | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
MAX_BY Analytical Function in Snowflake | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
MAX_BY() and MIN_BY() with Window Function | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Association Rule Mining using MATCH_RECOGNIZE | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
How to Predict Customer Churn Using SQL Pattern Detection - MATCH_RECOGNIZE | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Finding a Gap in Timeseries data and / or Gaps-and-Islands using SQL | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Find the latest reported values with ease using MAX_BY and MIN_BY aggregations | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
DECODE Function in Snowflake | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Effectivity Satellite | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Effectivity Satellite | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Data Metric Function in Snowflake | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Data Metric Function in Snowflake | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
CREATE OR ALTER TABLE syntax in Snowflake | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Identifying expensive queries in Snowflake using credits_attributed_compute metric in query_attribution_history View | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Correlated pattern definitions and Snowflake’s MATCH_RECOGNIZE | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Color Schemes for Surface Plots | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Calculating Geometric Mean of values in a column using SQL | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Better than Average: Calculating Geometric Means Using SQL | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
Applied overview of MATCH_RECOGNIZE clause | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
User Defined Aggregate Functions (UDAF) in Google Bigquery | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
RATIO_TO_REPORT with Aggregate Functions | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
RANGE Clause in Window Functions: Practical Examples | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
RANGE Framing in Snowflake: Practical Examples | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
RANGE Framing in Snowflake: Practical Examples | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
NULL-safe GREATEST and LEAST now available in Snowflake | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
ASOF JOIN | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
ASOF Join — The “Do What I Mean” of the Database World | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
ASOF join in Snowflake | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
SQL ASOF join in Snowflake | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
A/B Analysis on Streaming Data using MATCH_RECOGNIZE | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
A/B Analysis on Streaming Data using MATCH_RECOGNIZE | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
UNPIVOT multiple columns in Snowflake | Query Optimization in Snowflake (QOSF)
Wednesday, November 20, 2024 →
UNPIVOT multiple columns in Snowflake | Query Optimization in Snowflake (QOSF)
UNPIVOT multiple columns in Snowflake | Query Optimization in Snowflake (QOSF)
Using TRANSFORM function in Snowflake to extract values from a json array | Query Optimization in Snowflake (QOSF)