# Snowflake Costs

Everyone is thinking about cost containment these days, and so are we! You can track your Snowflake costs, using our Snowflake Cost widget as part of the [Analytics Dashboard](https://docs.secoda.co/features/analytics-dashboard).

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/00c1a731-bf10-4f7d-bd89-b8f5b240a77a.gif" alt=""><figcaption></figcaption></figure>

## How does the Widget work?

We provide cost analysis for *everything* in your Snowflake warehouse. This information is provided through the information schemas of each table, for the entire warehouse.

Visualizing your cost trends using the Widget **will not** impact your overall costs, as Secoda is already querying the information schemas to extract the metadata for your workspace. To learn more about what queries Secoda makes to your Snowflake instance, navigate to the [Secoda impact on Snowflake Costs](#secodas-impact-on-snowflake-costs) section below.

## Add Monitors on Snowflake costs

You can even use our monitoring features on a Snowflake cost widget to be alerted about changes to daily costs. Simply create the widget, then use the three dot menu to create a monitor.

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/d6e5f85b-8746-4d2d-8a65-b0242b431ada.png" alt=""><figcaption></figcaption></figure>

Add filters on usage type and balance source, and voila! You can catch changes before they become larger issues.

<div align="left"><figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/5ed500df-807b-4c1f-a7d0-707f0f0aa05a.png" alt="" width="375"><figcaption></figcaption></figure></div>

## Secoda's Impact on Snowflake Costs

At every sync, Secoda runs queries on your Snowflake instance. Generally, these queries costs anywhere between 0.1 to 1 credit in total.

Secoda queries Snowflake in two ways during each sync. The first, is querying the information schema of each database in Snowflake. The second, is querying the `snowflake.account_usage.query_history` table. From these two queries, Secoda is able to extract and calculate [Metadata](https://docs.secoda.co/integrations/data-warehouses/snowflake-integration/snowflake-metadata), [Cost](https://docs.secoda.co/features/analytics-dashboard), [Lineage](https://docs.secoda.co/features/data-lineage), [Query History](https://docs.secoda.co/features/queries), [Popularity](https://docs.secoda.co/features/popularity) and [profile](https://docs.secoda.co/features/column-profiling) the Snowflake Columns.

Note, queries outside of a sync, such as those from [Monitors](https://docs.secoda.co/features/monitoring), are not included in the cost above, and can vary depending on how the feature is implemented in your workspace.
