17 questionsQuestion · Short answer
Performance Optimization, Querying, and Transformation
Enable auto-resume if a standard Snowflake warehouse should start when a new statement needs its compute. Set auto-suspend from the typical gap between requests and the response-time target. Intermittent development usually benefits from…
Performance Optimization, Querying, and Transformation
Consider a clustering key when a large standard table serves frequent, important filters on the same dimensions and those queries scan many partitions despite returning a narrow slice of data. Verify that natural clustering is…
Performance Optimization, Querying, and Transformation
Use a curated table and your own refresh pipeline when you need control over timing, procedural logic, or validation. Use a dynamic table when Snowflake can refresh the output of your supported declarative query toward a target lag. Use a…
Performance Optimization, Querying, and Transformation
Measure a representative baseline, change one control, and repeat the same workload with comparable data, parameters, concurrency, and cache conditions. Keep the change if the latency and throughput improve enough to justify total cost…
Performance Optimization, Querying, and Transformation
Use Snowsight Query History for a recent query you want to inspect interactively, Information Schema QUERY_HISTORY functions for recent SQL-based investigation, or SNOWFLAKE.ACCOUNT_USAGE.QUERY_HISTORY for account-level trends. Snowsight…
Performance Optimization, Querying, and Transformation
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…
Performance Optimization, Querying, and Transformation
Persisted query results can return a previously computed answer without running the query again, even after the original warehouse suspends. A running warehouse’s local disk cache holds data previously read during execution, so another…
Performance Optimization, Querying, and Transformation
Use Search Optimization Service for supported selective lookups, such as fetching a few rows from a large table by an ID. Evaluate Query Acceleration Service when eligible parts of a warehouse query can benefit from offloading work, such…
Performance Optimization, Querying, and Transformation
Start with the storage trend in Snowsight Cost Management or the SNOWFLAKE.ACCOUNT_USAGE.STORAGE_USAGE view. Check whether database, Fail-safe, or internal stage storage grew, then use more specific views to identify the objects and the…
Performance Optimization, Querying, and Transformation
Start with SNOWFLAKE.ACCOUNT_USAGE.WAREHOUSE_METERING_HISTORY for hourly warehouse credits. For a standard warehouse with populated attribution fields, subtract CREDITS_ATTRIBUTED_COMPUTE_QUERIES from CREDITS_USED_COMPUTE to estimate idle…
Performance Optimization, Querying, and Transformation
Resize a Snowflake warehouse when individual queries need more compute or memory and the profile supports that diagnosis. Add clusters when concurrent demand causes sustained overload queueing. Multi-cluster warehouses require Enterprise…
Performance Optimization, Querying, and Transformation
Use path notation to read scalar values in Snowflake VARIANT , and LATERAL FLATTEN when you need a row per element of an array or object. Decide first whether the result should be at parent or child grain. Each emitted child row repeats…