Update dbt-snowflake anti-query patterns to reduce "cloud services cost" of Warehouse Consumption #1331
harshvardhan-j
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
dbt generally needs to run metadata queries because (just at the top of my head, but could be others):
I'm not sure if it's possible to NOT run those metadata queries but also accomplish what we ask of dbt to do... (e.g. if we dont query information schema, then dbt will completely replace your incremental/snapshot every time we run dbt - which is not generally something we want). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We started using dbt with snowflake and noticed an increase in our Warehouse Costs, not for the compute component but for the cloud costs components.
On digging deeper it seems that dbt repeatedly queries Snowflake with queries that are marked as anti-patterns or have an alternative described here to optimize the cloud cost components.
Some queries that dbt issues repeatedly along with alternatives have been listed below
It would be nice if this can be incorporated into the adapter or if there are workarounds for this that can be shared.
Beta Was this translation helpful? Give feedback.
All reactions