Saltar e ir al contenido
  • En la empresa
  • Soluciones Para Sectores Concretos
  • Valor Para Clientes Y Partners
  • Producto Y Tecnología
  • Liderazgo de Opinión
Languages
  • Deutsch
  • 한국어
  • Español
  • Français
  • English
  • Italiano
  • 日本語
  • Português
  • Deutsch
  • 한국어
  • Español
  • Français
  • English
  • Italiano
  • 日本語
  • Português
  • En la empresa
  • Soluciones Para Sectores Concretos
  • Valor Para Clientes Y Partners
  • Producto Y Tecnología
  • Liderazgo de Opinión
  • Deutsch
  • 한국어
  • Español
  • Français
  • English
  • Italiano
  • 日本語
  • Português
  • Visión General
    • Por qué Snowflake
    • Historias de clientes
    • Partners
    • Servicios
  • Visión General
    • Data Cloud
    • Descripción general de la plataforma
    • Snowflake Marketplace
    • Desarrollado por Snowflake
    • Demostración en directo
  • Workloads
    • Collaboration
    • Data Science & ML
    • Cybersecurity
    • Applications
    • Data Warehouse
    • Data Lake
    • Data Engineering
    • Unistore
  • Precios
    • Opciones de precios
  • Por sector
    • Publicidad, medios de comunicación y entretenimiento
    • Servicios financieros
    • Sanidad y ciencias de la vida
    • Fabricación
    • Sector Público
    • Retail / CPG
    • Tecnología
  • Conozca
    • Biblioteca de recursos
    • Documentación
    • Demostración en directo
    • Formación
  • Conectar
    • Blog
    • Comunidad
    • Eventos
    • Webinars
    • Podcast
  • Visión General
    • Sobre Snowflake
    • Los inversores
    • Liderazgo y dirección
    • Carreras
Autor
Yogitha Chilukuri
Yogitha Chilukuri
Tian Gao
Tian Gao
Share
Subscribe
Ago 08, 2024

Accelerate Time-Series Analytics with RANGE-Based Window Frames, now Generally Available 

  • Producto y tecnología
Accelerate Time-Series Analytics with RANGE-Based Window Frames, now Generally Available 

Addressing Time-Series Analytics Challenges

At Snowflake, we are committed to helping customers derive meaningful insights from data with simplicity and speed. That’s why we’re thrilled to announce the general availability of our enhanced RANGE-based window frame, which will help accelerate time-series analytics. 

For customers across industries, the ability to perform time-series analytics is crucial. This often involves calculating rolling statistics that remain robust despite gaps or nonuniform time-series data. Regardless of the reason for gaps in data, analytics must account for them to produce more accurate results.

Our solution

We recognize the significance and prevalence of these use cases. So we have invested in solving them by extending our support for RANGE BETWEEN sliding window frames to INTERVAL and unsigned numeric constants to define explicit offsets.

Deep dive into Snowflake’s extended RANGE-based frame support

This can now be easily accomplished using Snowflake’s support for INTERVAL in the RANGE-based window frame, as demonstrated in the pseudo-SQL below. With this functionality, customers can avoid the cumbersome preprocessing of their data to eliminate gaps. Instead, they can focus on the crucial task of extracting valuable insights from their data.

How does our solution work?

Without the native support for RANGE-based window frames, customers typically use workarounds, such as performing an aggregate function with a range join or preprocessing their data to be uniformly distributed to align with row-based window frames. These workarounds are often less efficient and can become tedious to maintain. 

The new functionality we offer is easy to use and complies with the SQL standard. It applies partition-aware sorting; efficiently computes the variable-sized window and corresponding output for each row; and spills to local/remote storage, as needed, when certain windows are huge.

To illustrate performance gains from using RANGE-based window frames, we used sample data sets with uniformly distributed time series and 22 million rows, which were divided into 5K partitions. The RANGE-based window frame turned out to be 6x faster than the “aggregate + range join” workaround. On scaling the data size by 10 times to 220 million rows, the RANGE-based window is 9x faster than the workaround. In summary, RANGE-based window frames provide a simple and efficient way for computing rolling statistics in real-world time-series use cases that usually contain data gaps.

What are customers using RANGE-based window frames for? 

Across the board, the RANGE-based window frames are being adopted rapidly by customers for varied types of use cases. Noted below are a few popular use cases across industries: 

Manufacturing customers are using them for use cases, such as resource monitoring, equipment performance analytics and supply chain analytics. 

Financial services customers are using them for asset performance tracking, time-based transaction analytics for fraud detection and loyalty program analytics.

Retail companies are using them for use cases such as demand planning, rolling inventory analytics, sales allocation and customer spend analytics. 

Telecommunications companies are using them for, among others, call volume analytics and issue monitoring and detection.

Irrespective of the industry, we have seen that the functionality is being used for common operations, such as user analytics, customer spend analytics, and sales and campaign monitoring. 

What’s next?

The feature is now available in all Snowflake accounts. You can start using this functionality for your relevant analytics and even migrate your existing workarounds to this performant, easy-to-use solution. To learn more details, such as the list of window functions supported, you can read the Snowflake documentation. You can also refer to the time series user guide to learn more about working with time-series data in Snowflake.

Share

Related Content

  • Producto y tecnología
May 13, 2024

Accelerate Your Time Series Analytics with Snowflake’s ASOF JOIN, Now Generally Available

Time series data is everywhere. It captures how systems, behaviors and processes change over time. Enterprises across industries, such as Internet of Things (IoT), financial services, manufacturing and more, use…

Find Out How
Leer más

What’s New: Time-Series Analytics in Snowflake

DOWNLOAD NOW

Snowflake Inc.
  • PLATAFORMA
    • Data Cloud Platform
    • Arquitectura
    • Precios
    • Data Marketplace
  • SOLUCIONES
    • Snowflake para sanidad y ciencias de la salud
    • Snowflake para servicios financieros
    • Snowflake para Marketing Analytics
    • Snowflake para el comercio minorista
    • Snowflake para el sector educativo
  • Recursos
    • Biblioteca de recursos
    • Webinars
    • Documentación
    • Comunidad
    • Asuntos legales
  • Explorar
    • Noticias
    • Blog
    • Tendencias
  • Acerca de
    • Acerca de Snowflake
    • Liderazgo y dirección
    • Partners
    • Empleo
    • Contacto

Sign up for Snowflake Communications

Thanks for signing up!

  • Privacy Notice
  • Site Terms
  • Cookie Settings

© 2024 Snowflake Inc. All Rights Reserved