Product and Technology

Taking Serverless to Task

Taking Serverless to Task

We are delighted to announce the public preview of serverless tasks in Snowflake!

Snowflake tasks allow users to schedule the execution of a SQL statement. Over the last two years, we have seen a tremendous growth in tasks in Snowflake. In addition to organic growth as the Snowflake customer base and usage have grown, we have seen adoption grow as well—all resulting in a tremendous increase in daily task execution in two years. Reason:  Any SQL statement, including a stored procedure, can be turned into a task easily. 

However, data engineers have to manually configure and manage pipeline tasks where they need to figure out warehouse size, idle policy, and idle time whenever they build a new pipeline. This can be time-consuming, difficult, and suboptimal, especially where there are short pipelines that run frequently. 

At Snowflake, we strive to make our platform easy to use. In this case, further simplification was possible by making the warehouse optional. The work required to decide warehouse size and then optimize it for maximum utilization/efficiency can be taken up by the task execution infrastructure that can see the batch window, the degree of parallelism of the queries executed, and the historical data needed to optimize execution. This is exactly what serverless tasks do. As in the case of other serverless features such as Snowpipe, table auto-clustering, and database replication, the details of warehouses—scale, suspend, resume—are all managed by Snowflake, while users focus on getting the most out of their data instead of the execution details.

For new tasks, serverless capability is easy to use. Just omit the warehouse and optionally specify a starting size. You can also alter an existing task to run in serverless mode if you like. As you add more tasks, you don’t have to worry about how many can run on a given warehouse or if you are leaving a larger warehouse idle. So give this new capability a spin and let us know what you think on our community site. How-to questions and issues can be covered on Stack Overflow.

Share Article

Snowpipe: Serverless Loading for Streaming Data

Building a Type 2 Slowly Changing Dimension in Snowflake Using Streams and Tasks: Part 2

Automate Type 2 Slowly Changing Dimension processes in Snowflake using Streams and Tasks. In Part 2, explore data updates, deletions, and scheduled automation.

Announcing DeepSeek-R1 in private preview on Snowflake Cortex AI

DeepSeek-R1 on Snowflake Cortex AI: a top-performing open-source model optimized for math, code, and reasoning tasks. Access via SQL, Python, or REST API.

Snowflake’s Fully Managed Service: Beyond Serverless

Snowflake’s fully managed service surpasses typical "serverless" solutions with enhanced simplicity, connectivity and trust, reducing complexity and downtime.

Meta’s Llama 4 Large Language Models now available on Snowflake Cortex AI

We’re pleased to bring Meta’s latest Llama 4 models to Snowflake Cortex AI!

Observability in Snowflake: A New Era with Snowflake Trail

Snowflake Trail: Elevate your observability with enhanced visibility, seamless third-party integrations and more for optimal application and pipeline monitoring.

Snowflake Dynamic Tables and Declarative Streaming Data Pipelines

Dynamic Tables automate incremental data refresh with low latency using easy-to-use declarative streaming data pipelines to simplify data engineering workloads.

Data Vault Techniques: Streams & Tasks on Views

Snowflake introduced streams as scalable data object to track change data capture activity. Learn how this can bring Data Vault closer to a Kappa architecture.

Meta Code Llama on Snowflake Testing | Blog

Snowflake has been actively testing Meta’s just announced LLM-based Code Llama, an updated iteration (Llama2) focusing on code generation, including SQL.

Subscribe to our blog newsletter

Get the best, coolest and latest delivered to your inbox each week

Where Data Does More

  • 30-day free trial
  • No credit card required
  • Cancel anytime