Skip to content

Commit 156644d

Browse files
Update cost-per-query-in-snowflake-using-credits_attributed_compute-metric-in-query_attribution_history-view.md
1 parent 305a305 commit 156644d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cost-per-query-in-snowflake-using-credits_attributed_compute-metric-in-query_attribution_history-view.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Cost per Query in Snowflake using credits_attributed_compute metric in query_attribution_history View
22

3-
Snowflake has introduced a new View `QUERY_ATTRIBUTION_HISTORY` in `SNOWFLAKE.ACCOUNT_USAGE`. This View holds the Snowflake Credits consumption attributed to a single Query execution in Snowflake.
3+
Snowflake has introduced a new View `QUERY_ATTRIBUTION_HISTORY` in `SNOWFLAKE.ACCOUNT_USAGE`. This View holds the Snowflake Credits consumption attributed to a Query execution for recurrent queries as following:
44

55
```sql
66
select
@@ -26,7 +26,7 @@ group by all;
2626
order by credits_attributed_compute desc;
2727
```
2828

29-
|![carbon(9)](https://github.com/user-attachments/assets/94d0b35d-e188-47bd-aa41-70c44b081831)|
29+
|![carbon(10)](https://github.com/user-attachments/assets/f7661c5a-b1c0-43b5-a501-ba818a414358)|
3030
|:-:|
3131
|Using `query_parameterized_hash` to JOIN `QUERY_ATTRIBUTION_HISTORY` and `QUERY_HISTORY` |
3232

0 commit comments

Comments
 (0)