Skip to content
  • Intorno all’azienda
  • Soluzioni Settoriali
  • Valore per Partner E Clienti
  • Prodotto e Tecnologia
  • thought leadership
Languages
  • 한국어
  • Français
  • 日本語
  • English
  • Italiano
  • Português
  • Español
  • Deutsch
  • 한국어
  • Français
  • 日本語
  • English
  • Italiano
  • Português
  • Español
  • Deutsch
  • Intorno all’azienda
  • Soluzioni Settoriali
  • Valore per Partner E Clienti
  • Prodotto e Tecnologia
  • thought leadership
  • 한국어
  • Français
  • 日本語
  • English
  • Italiano
  • Português
  • Español
  • Deutsch
  • Panoramica
    • Perché Snowflake
    • Storie di clienti
    • Partners
    • Servizi
  • Panoramica
    • La piattaforma
    • Il Marketplace Snowflake
    • Snowpark
    • Powered by Snowflake
    • Demo live
  • Workloads
    • Collaboration
    • Data Science & ML
    • Cybersecurity
    • Applications
    • Data Warehouse
    • Data Lake
    • Data Engineering
    • Unistore
  • Prezzi
    • Tutte le opzioni
  • Settori
    • Pubblicità, Media e Entertainment
    • Servizi finanziari
    • Healthcare e Life Sciences
    • Settore manifatturiero
    • Settore pubblico
    • Retail / CPG
    • Technology
  • For Departments
    • Marketing
    • IT
  • Imparare
    • Libreria risorse
    • Sviluppatori
    • Avvio rapido
    • Documentazione
    • Lab virtuali
    • Formazione
    • Le guide
    • Glossario
  • Collegamento
    • Blog
    • Comunità
    • Eventi
    • Webinars
    • Podcast
    • Supporto
    • Tendenza
  • Panoramica
    • Informazioni su Snowflake
    • Investor Relations
    • Leadership e CdA
    • Opportunità di lavoro
    • Sala stampa
    • ESG
    • Snowflake Ventures
Author
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 

  • Prodotto e tecnologia
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

  • Prodotto e tecnologia
Mag 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…

Have a look
Read More

What’s New: Time-Series Analytics in Snowflake

DOWNLOAD NOW

Snowflake Inc.
  • La piattaforma
    • Il Data Cloud
    • L’architettura
    • Prezzi
    • Il Marketplace Snowflake
    • Sicurezza e fiducia
  • SOLUZIONI
    • Servizi finanziari
    • Pubblicità, Media e Entertainment
    • Retail / CPG
    • Marketing Analitico
  • RISORSE
    • Libreria risorse
    • Webinar
    • Documentazione
    • Community
    • Procuratore
    • Legale
  • Esplorare
    • Notizie
    • Blog
    • Tendenza
    • Guide
    • Sviluppatori
  • CIRCA
    • Informazioni su Snowflake
    • Investor Relations
    • Leadership e CdA
    • Snowflake Ventures
    • Opportunità di lavoro
    • Contatto

Thanks for signing up!

  • Privacy Policy
  • Site Terms
  • Cookie Settings
  • Do Not Share My Personal Information

© 2024 Snowflake Inc. All Rights Reserved |  If you’d rather not receive future emails from Snowflake, unsubscribe here or customize your communication preferences