SQL-Based Workload Performance Analysis and Cost Governance Framework for Snowflake
Cloud data warehouses require monitoring methods that consider query execution behaviour alongside compute consumption. This paper presents a SQL-based framework implemented in Snowflake to collect query-level telemetry, derive workload indicators, summarize warehouse credit usage, and produce transparent cost-review flags. The implementation uses the MTECH_WH virtual warehouse, the FINOPS_DB database, and the EXPERIMENTS schema. A consistent aggregation query runs against the ORDERS table in the TPCH_SF1 and TPCH_SF10 sample schemas. Query metadata are collected from Snowflake query history and transformed into execution-time, compilation-time, scan-volume, and output-row indicators. Warehouse metering records are aggregated by usage interval and compared with a project-defined 0.10-credit review threshold. The validated comparison cohort comprises three successful SF1 executions and three successful SF10 executions. Mean execution times are 109 ms and 228 ms, respectively; mean scanned data are 40.32 MiB and 425.70 MiB. Two separate warehouse metering intervals show 0.099622 and 0.178819 credits. Since these intervals are captured on a different date from the workload runs, they are not attributed to individual queries. The small experiment is descriptive and does not establish general performance behaviour or guaranteed cost savings.
Authors
- Sushilkumar N. Holambe
- Niraj Nilkanth Mane
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24707779
- Primary Topic
- Cloud Computing and Resource Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00