Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. COF-C03/
  4. COF-C03 Learning Path/
  5. Study FAQs/
  6. How do I diagnose a slow Snowflake query with Query History and Query Profile?

Study FAQ

How do I diagnose a slow Snowflake query with Query History and Query Profile?

Exam · COF-C03Knowledge domain · Performance Optimization, Querying, and TransformationUpdated Nov 25, 2026
Also asked as 2
  • Which Query Profile metrics explain Snowflake query latency?
  • How can I tell whether a Snowflake query is queued, blocked, scanning too much, or spilling?

Answer

Find the query ID in Snowsight Query History and inspect status and timings before opening Query Profile. Separate provisioning, overload queueing, transaction blocking, compilation, and execution. If execution dominates and a profile is visible, inspect the operators that account for the most time and follow their input and output rows.

  • A table scan that reads many partitions for a narrow result suggests checking the predicate and data layout. Look at partitions scanned, bytes scanned, and where rows are filtered.
  • A join that emits far more rows than its inputs suggests checking join keys and cardinality. An operator spilling large amounts to local or remote storage suggests reducing intermediate data or testing more warehouse memory. With Query Acceleration enabled, a small remote spill value can occur without a memory bottleneck.
  • Use the time breakdown to distinguish processing, disk I/O, network transfer, synchronization, and initialization. A dominant network component can reflect movement within execution, so use the operator and history evidence before attributing it to the client connection.

A missing profile can reflect a query that is running, failed before execution, aged out, or is outside the role’s visibility. Profile detail is best effort. Preserve the query ID and available error or timing details, then use the same indicators after the change.

Review query details and Query Profile · Query History timings and scan metrics · Warehouse memory and spill

Full explanation

Monitoring Queries, Warehouses, Storage, and Account Activity

Study guide · COF-C03

Read the full explanation →
← Back to COF-C03 FAQsView learning path →

Related questions

How should I set Snowflake warehouse auto-suspend and auto-resume? →When is a Snowflake clustering key worth adding? →Should I use a curated table, dynamic table, or materialized view for repeated Snowflake transformations? →How can I verify that a Snowflake performance change is worth its cost? →Which Snowflake Query History source should I use? →What is the difference between Snowflake persisted query results and the warehouse cache? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.