Snowflake Query Acceleration Service: How It Works & Benefits

The article

Query your table as a graph.Petabytes. Subsecond. No data movement.

Free downloadBook demo

Snowflake Query Acceleration Service: How It Works & Benefits

A few expensive queries can determine how responsive a Snowflake workload feels. Increasing warehouse size is one option; selectively adding compute to eligible work is another. Snowflake Query Acceleration Service makes the second approach available without requiring you to provision another warehouse for each burst.

That distinction matters when an AI agent investigates a business problem through successive queries. Each result determines what it tests next, so slow evidence retrieval limits the investigation. This guide explains where query acceleration helps, how to configure and evaluate it, and how it fits alongside the relationship exploration those investigations can require.

What Is Snowflake Query Acceleration Service?

Snowflake Query Acceleration Service, or QAS, offloads eligible portions of a query to Snowflake-managed serverless compute. It supplements the virtual warehouse executing the query. By taking work from unusually resource-intensive queries, it can also reduce their impact on other queries sharing that warehouse. Snowflake identifies ad hoc analytics, unpredictable scan volumes, and large scans with selective filters as useful candidates in its QAS performance overview.

Consider an agent asked to investigate rising failures in a document-processing product. It might first compare failure rates across services and regions, then inspect particular errors. The historical job-event table can be large even when the relevant failures are rare. QAS can help with eligible SQL execution during those steps. The agent still needs to choose hypotheses, interpret results, and decide which evidence to collect next.

How Snowflake Query Acceleration Service Works

QAS adds parallel processing to portions of the execution plan that can benefit from it. For example, a query may scan many micro-partitions but retain relatively few rows after filtering. Offloading eligible scan work gives that stage additional compute while the warehouse continues executing the query.

The benefit depends on how much execution time belongs to that eligible work. A query dominated by another operation has less opportunity for improvement. Snowflake makes eligibility decisions using the query plan and warehouse size; there is no universal minimum table size that guarantees acceleration. Available service capacity also affects the result. The QAS guide describes these eligibility conditions.

QAS adds compute to eligible query work while the warehouse continues execution, and its usage is billed separately.
Figure: QAS adds compute to eligible query work while the warehouse continues execution, and its usage is billed separately.

For the investigating agent, faster scans shorten one part of the feedback loop. Following a failure across service dependencies, deployment records, and customer workflows is a further task: the agent must discover relevant relationships across many tables while keeping access to the underlying evidence.

How to Enable Query Acceleration in Snowflake

Start by inspecting the target warehouse:

SHOW WAREHOUSES LIKE 'INVESTIGATION_WH';

Check enable_query_acceleration and query_acceleration_max_scale_factor in the output. Do not assume QAS starts disabled. The current CREATE WAREHOUSE reference specifies enabled by default for standard warehouses and disabled by default for Snowpark-optimized warehouses. Existing warehouses can have different settings.

To enable QAS on an existing warehouse with an explicit resource bound:

ALTER WAREHOUSE INVESTIGATION_WH SET
  ENABLE_QUERY_ACCELERATION = TRUE
  QUERY_ACCELERATION_MAX_SCALE_FACTOR = 2;

The value 2 is an example for a bounded experiment, not a recommended setting for every workload. Use your workload estimates and cost measurements to choose the eventual value. The role changing these properties needs MODIFY on the warehouse or equivalent authority. Creating a warehouse separately requires the account-level CREATE WAREHOUSE privilege.

The scale-factor parameter limits the serverless resources that can be leased relative to warehouse size. Its default is 8. A factor of 2 does not promise twice the query speed. Setting it to 0 removes the configured upper bound; it does not disable QAS. To disable the service explicitly, set ENABLE_QUERY_ACCELERATION = FALSE.

Snowflake Query Acceleration Service Examples

Assume ANALYTICS.OPS.JOB_EVENTS contains one row per completed document-processing job, including its completion timestamp, service, region, status, and error code. These examples illustrate query shapes to evaluate on your own data.

Investigating a selective error. An agent testing whether validation timeouts explain the incident could request:

SELECT service_id,
       region,
       COUNT(*) AS failed_jobs
FROM ANALYTICS.OPS.JOB_EVENTS
WHERE finished_at >= '2026-11-01'::TIMESTAMP_NTZ
  AND finished_at <  '2026-11-08'::TIMESTAMP_NTZ
  AND status = 'FAILED'
  AND error_code = 'VALIDATION_TIMEOUT'
GROUP BY service_id, region
ORDER BY failed_jobs DESC;

A substantial scan followed by a selective filter makes this a plausible QAS candidate. Effective pruning might make the scan small enough that additional resources offer little benefit. Check the executed query's eligibility instead of inferring it from the SQL alone.

Building a comparison baseline. A data engineer could prepare daily job counts for the same investigation:

CREATE TEMPORARY TABLE JOB_BASELINE AS
SELECT DATE_TRUNC('day', finished_at) AS job_day,
       service_id,
       status,
       COUNT(*) AS job_count
FROM ANALYTICS.OPS.JOB_EVENTS
WHERE finished_at >= '2026-10-01'::TIMESTAMP_NTZ
  AND finished_at <  '2026-11-08'::TIMESTAMP_NTZ
GROUP BY 1, 2, 3;

Snowflake documents CREATE TABLE AS SELECT among the supported QAS command types. The statement still needs eligible work in its execution plan.

Comparing failures with total job volume helps the agent distinguish increased traffic from increased failure rates. If failures concentrate in otherwise separate services, the next hypothesis might concern a shared dependency. The agent chooses that follow-up from the evidence.

Query Acceleration Service Eligibility and Requirements

QAS requires Enterprise Edition or higher. Configuration privileges and permission to read diagnostic views are separate requirements; the official evaluation tutorial lists the relevant warehouse privileges and Snowflake database roles.

Eligibility depends on useful parallel work. Too few scanned partitions, weakly selective filters, high-cardinality grouping, or some nondeterministic expressions can prevent acceleration. A LIMIT clause is not an automatic disqualification: Snowflake evaluates whether the particular query can benefit.

Find historical candidates for your warehouse:

SELECT query_id,
       eligible_query_acceleration_time,
       upper_limit_scale_factor
FROM SNOWFLAKE.ACCOUNT_USAGE.QUERY_ACCELERATION_ELIGIBLE
WHERE warehouse_name = 'INVESTIGATION_WH'
  AND start_time >= DATEADD(day, -7, CURRENT_TIMESTAMP())
ORDER BY eligible_query_acceleration_time DESC;

The eligibility view reports eligible execution time in seconds and can lag by three hours. It includes eligible queries that have not been accelerated. Once QAS accelerates a query, that execution is excluded, so a shrinking candidate list does not prove that QAS stopped helping.

For a specific query executed within the last 14 days, replace the placeholder with its query ID:

SELECT PARSE_JSON(
  SYSTEM$ESTIMATE_QUERY_ACCELERATION('<query_id>')
) AS estimate;

Inspect status, ineligibleReason, and estimatedQueryTimes. The estimator can report that a query is eligible, ineligible, already accelerated, or invalid. Its times assume the allocated resources are available and exclude concurrency effects. Use them to select experiments, not as promised production latency.

How to Monitor Query Acceleration in Snowflake

Use Query Profile to inspect an individual execution and Account Usage views to evaluate the workload over time. In Query Profile, the Query Acceleration statistics show partitions scanned by the service and scans selected for acceleration. This identifies participation; a controlled comparison establishes the performance benefit.

The QUERY_HISTORY view exposes the corresponding counters:

SELECT query_id,
       execution_time / 1000.0 AS execution_seconds,
       query_acceleration_bytes_scanned,
       query_acceleration_partitions_scanned,
       query_acceleration_upper_limit_scale_factor
FROM SNOWFLAKE.ACCOUNT_USAGE.QUERY_HISTORY
WHERE warehouse_name = 'INVESTIGATION_WH'
  AND start_time >= DATEADD(day, -1, CURRENT_TIMESTAMP())
  AND query_acceleration_partitions_scanned > 0
ORDER BY start_time DESC;

Positive partition counts show QAS did scan work. The upper-limit scale-factor column estimates a useful resource bound for that query; it is not the configured warehouse setting or a measured speedup.

For evaluation, run representative queries with QAS enabled and disabled on otherwise equivalent warehouses. Keep size, generation, input data, and competing workload comparable. Snowflake's evaluation tutorial uses separate warehouses to compare execution and cost.

Disable persisted-result reuse in the test session so a cached answer does not masquerade as faster execution:

ALTER SESSION SET USE_CACHED_RESULT = FALSE;

This controls persisted-result reuse; other caches still affect execution. Repeat comparable runs and record cache conditions. Also inspect queueing and spilling insights in Query Profile; elapsed time can change for reasons unrelated to QAS. Small remote-spill values can arise from QAS itself, so they do not alone establish a memory bottleneck. Restore the session's prior result-cache setting afterward.

Track slow-query percentiles as well as averages. For an agent workload, also measure completed investigations: making one evidence query faster is useful only if it improves the time or cost of reaching a supported answer.

Snowflake Query Acceleration Service Costs

QAS consumes serverless credits separately from warehouse compute. Snowflake calculates serverless usage on a per-second basis and applies the relevant service credit rate. Use the compute-cost documentation and its linked Service Consumption Table for rates, then apply your account's contracted credit price.

A positive scale factor bounds potential resource consumption, not the monthly bill. For illustration, if the warehouse's reference rate is four credits per hour and the factor is two, the corresponding QAS ceiling is eight additional credits per hour while fully used. Actual usage can be lower, and the warehouse's own charges remain separate. Estimate actual charges from measured QAS usage and your account's credit price.

Measure the service's billed credits directly:

SELECT warehouse_name,
       SUM(credits_used) AS qas_credits
FROM SNOWFLAKE.ACCOUNT_USAGE.QUERY_ACCELERATION_HISTORY
WHERE start_time >= DATE_TRUNC('month', CURRENT_TIMESTAMP())
GROUP BY warehouse_name
ORDER BY qas_credits DESC;

The billing-history view can lag by three hours. Compare its credits with warehouse usage over matching periods. A faster query does not necessarily reduce warehouse charges if other work keeps that warehouse running.

Warehouse resource monitors do not track serverless spending. Use budgets for that visibility and configure the QAS scale factor deliberately. For autonomous investigations, measure the number of queries per completed task too: cheaper individual queries can still produce a larger bill when the agent explores more hypotheses.

When to Use Snowflake Query Acceleration Service

Use QAS when expensive, eligible queries disrupt an otherwise appropriately sized warehouse. Ad hoc investigations are a useful case because their scan sizes can vary substantially. Evaluate other tuning options according to the observed bottleneck:

Observed workloadOption to evaluate
Large eligible scans among smaller queriesQAS, with measured latency and credit changes
Queries waiting behind other queriesMulti-cluster capacity or workload isolation
Operations spilling extensivelyWarehouse sizing and query changes
Repeated selective lookupsSearch optimization
Repeated aggregations over stable query patternsMaterialized views

Multi-cluster warehouses address concurrency, while Snowflake's query optimization options target different access patterns. Search optimization and QAS can also work together: pruning reduces the candidate partitions, and QAS can accelerate eligible remaining work.

Continuing an autonomous investigation. Use QAS for eligible scans and aggregations, then evaluate how the agent will explore relationships across the same evidence. In the document-processing incident, once aggregates identify affected services, an agent may need to trace shared dependencies, compare deployment histories, and identify customer workflows at risk. It needs quick evidence retrieval across a large operational schema and substantial historical data, with access to the same records used for the initial analysis.

PuppyGraph helps the agent follow those relationships and choose subsequent checks without first copying the evidence into a separate graph database. It is a data engine for building AI agents over existing SQL databases, warehouses, and lakehouses, including direct reads of Iceberg and Delta Lake tables. It supports agents working across 3,000 tables and petabytes of data. On supported workloads, subsecond multi-hop traversals help agents test successive hypotheses. There is no data movement into a separate graph store or graph-specific ETL pipeline; the source tables remain available to SQL.

PuppyGraph queries the existing tables in place, so graph and SQL queries share one copy of the data and no pipeline keeps a graph copy in sync.
Figure: PuppyGraph queries the existing tables in place, so graph and SQL queries share one copy of the data and no pipeline keeps a graph copy in sync.

Teams connect the sources and use the built-in AI assistant to inspect tables, test candidate joins, and propose a graph model for approval. The model maps existing tables to nodes and edges representing business entities and relationships, queried with openCypher and Gremlin. A customer-built agent can access it through MCP, retrieve evidence, and decide whether the next check should examine another dependency or reject the current hypothesis. With strict schema validation enabled, PuppyGraph rejects openCypher queries that reference undefined entities or relationships and returns correction feedback; this does not prove a causal conclusion.

PuppyGraph's distributed engine compiles traversals into node and edge operators and executes them across compute nodes. Its Snowflake connector reads native tables through simple projection/filter SQL, while supported Iceberg connections read table files directly. QAS remains a Snowflake SQL execution feature; PuppyGraph performs the relationship traversal in its own engine. Together, these roles let an agent move from counting failures to investigating shared causes and affected workflows, selecting each next step from the evidence.

PuppyGraph customer logos under the heading Trusted by.
PuppyGraph customer testimonials from Trend Micro, Palo Alto Networks, Sola Security, Netskope, Coinbase, and Baker Hughes.

Conclusion

Snowflake Query Acceleration Service is useful when eligible execution work benefits from additional serverless compute. Inspect candidates, set an explicit resource bound, and compare observed performance with combined warehouse and QAS costs. For agents, evaluate that improvement within the full investigation, including the relationship exploration needed to explain what the aggregates reveal.

Try the forever-free PuppyGraph Developer Edition and book a demo with the team to see how openCypher and Gremlin queries connect warehouse and lakehouse tables, with no graph-specific ETL, so agents can investigate service failures and their business impact alongside Snowflake analytics.

Hao Wu

Hao Wu

Software Engineer

Hao Wu is a Software Engineer with a strong foundation in computer science and algorithms. He earned his Bachelor’s degree in Computer Science from Fudan University and a Master’s degree from George Washington University, where he focused on graph databases.
Free downloadBook demo

Read next

All articles

Start free. Pay when it goes to production.

Contact us for any questions about capabilities, sizing and support.

* No payment required to start either one.

$ docker run -p 8081:8081 \
  -p 8182:8182 -p 7687:7687 \
  puppygraph/puppygraph:latestPulling puppygraph/puppygraph:latestStarting PuppyGraphWeb console listening on 0.0.0.0:8081Gremlin endpoint listening on 0.0.0.0:8182PuppyGraph is running# no pipelines · no second database · no data movement