What you will be able to do
- Decide whether a resource monitor or a budget fits a cost-control requirement, based on what each one watches and what it can do.
- Create a resource monitor with a credit quota, a schedule and a set of Notify, Suspend and Suspend Immediate triggers that matches a business rule.
- Translate a business requirement, such as a team allowance, a one-off project cap or a notify-only rule, into a monitor type, schedule and trigger set, and adjust the monitor as the requirement changes.
- Predict which warehouses get suspended when account-level and warehouse-level monitors both apply.
- Identify which roles and privileges can create a monitor, change its quota, change its type or change its warehouse list.
- Pick the Snowsight pages and usage views to put on a dashboard that tracks Snowflake cost.
Key concept
Resource monitor — A first-class object that holds a credit quota for a recurring interval. It adds up the credits that its assigned warehouses (or every warehouse in the account) use in that interval, plus the cloud services that support them. When usage crosses a percentage of the quota, it fires the trigger set for that percentage: notify, suspend, or suspend immediately.
1.What a resource monitor watches, and what it ignores
A resource monitor puts a credit ceiling on virtual warehouses. A running warehouse uses credits. How many depends on its size and on how long it runs. A monitor counts those credits over an interval, and when usage reaches a limit it can email administrators. It can also stop the spending: it suspends a standard warehouse, or disables an Adaptive Warehouse. That second ability is what sets a monitor apart from tools that only report on cost.
The quota counts more than what ends up on the bill. Cloud services credits count toward the limit in full, including the part the daily 10% adjustment removes from the invoice. So a monitor can fire before billed usage reaches the quota. Monitoring is one thing and stopping is another, though. A monitor can count cloud services usage but cannot suspend it. It can only suspend the user-managed warehouses created in the account. Queries sent to a warehouse after it is suspended can still add small cloud services costs.
Serverless compute is outside a resource monitor's reach. Snowpipe, automatic clustering, materialized view maintenance, serverless tasks and AI services all run on compute that Snowflake provides, not on your warehouses. No monitor counts that compute or stops it, and that includes an account-level monitor. The only way to attach a monitor to anything is ALTER WAREHOUSE ... SET RESOURCE_MONITOR or ALTER ACCOUNT SET RESOURCE_MONITOR. Tasks and pipes have no equivalent setting.
Choose between the two tools by asking what has to be watched and what has to happen when the limit is hit. Budgets set a monthly spending limit across supported objects and serverless features, and they send a notification when credit usage is expected to exceed that limit. A resource monitor is the right tool when only warehouses matter and the requirement is to stop them. A requirement to cap serverless tasks, clustering or Snowpipe points to a budget. A requirement that a runaway warehouse must stop at 100% points to a resource monitor.
| Requirement | Resource monitor | Budget |
|---|---|---|
| Track warehouse credits | Yes, including the supporting cloud services | Yes |
| Track serverless features and AI services | No | Yes |
| Stop spending when the limit is hit | Suspends standard warehouses, disables Adaptive Warehouses | Sends a notification |
| Reset period | Daily, weekly, monthly, yearly, or never | Monthly spending limit |
A monitor's design comes from the business rule it enforces. Three questions settle it: which warehouses the rule covers, how many credits the rule allows per period, and what should happen when they are used up. The answers map onto monitor settings:
- A rule for the whole account, such as "never spend more than 10,000 credits a month", calls for an account monitor with a
SUSPENDtrigger at 100. - A rule for one team or workload, such as "the ad hoc analytics warehouse gets 500 credits a week", calls for a warehouse monitor with
FREQUENCY = WEEKLYand a start timestamp. - A rule for a one-off project with a fixed allowance calls for
FREQUENCY = NEVER, so the count never resets and the warehouses keep drawing on the quota until it is gone. AnEND_TIMESTAMPadds a hard stop date. - A rule for a critical production pipeline, where an interrupted job costs more than some overspend, calls for
NOTIFYtriggers only. An administrator is told, and the warehouse is left alone.
Requirements change during the year, so a monitor is managed as well as created. Raising the quota for a busy month is one ALTER RESOURCE MONITOR ... SET CREDIT_QUOTA statement, and the credits already used still count. Adding warehouse owners through NOTIFY_USERS puts the warning in front of the people who can act on it. A monitor that only notifies is a deliberate choice, not a gap, as long as someone owns the alert.
Checkpoint 1 of 9· Check yourself
An account has an account-level resource monitor that suspends at 100%. Finance now finds that serverless tasks, automatic clustering and Snowpipe are driving costs up, and wants those features tracked against a spending limit too. What should the administrator do?
Serverless features run on compute that Snowflake provides. No resource monitor counts that compute or stops it, and that includes an account-level monitor. Only warehouses and the account can have a monitor assigned, so a budget is the tool for tracking serverless spending.
“Budgets let you control costs for both serverless features and warehouses, while resource monitors focus solely on warehouses.”Source: docs.snowflake.com
Checkpoint 2 of 9· Exam question
A data engineering lead asks for a resource monitor to cap monthly credits consumed by serverless tasks, automatic clustering and Snowpipe loads. Which approach is MOST appropriate?
Correct answer: B — Create a budget with a monthly limit and notification targets, because resource monitors only govern warehouse credits.
- A. Incorrect: serverless credits are not drawn from the warehouse that owns a task, so a warehouse monitor never sees them and cannot cap them.
- B. Correct: resource monitors work only for warehouses. Serverless features such as tasks, clustering and Snowpipe are tracked and limited with budgets, which can notify or trigger actions on spend.
- C. Incorrect: an account-level monitor suspends warehouses only. Serverless compute is billed outside warehouses, so exhausting the quota never stops tasks or Snowpipe.
- D. Incorrect: ALTER TASK has no RESOURCE_MONITOR parameter. Resource monitors attach only to warehouses or the account, never to individual tasks.
2.Credit quota and schedule
The credit quota is the number of credits a monitor allows in each interval. Snowflake counts the credits used in the interval by all warehouses assigned to the monitor, and resets that count to 0 when the interval ends. Any number can be the quota. If you leave CREDIT_QUOTA unset, the monitor has no quota and never reaches 100%, so its percentage triggers never fire.
With the default schedule, monitoring starts immediately and the count resets at the start of each calendar month, which is the start of the Snowflake billing cycle. A custom schedule changes that with three properties:
FREQUENCY:DAILY,WEEKLY,MONTHLY,YEARLY, orNEVER. WithNEVERthe count never resets, so the warehouses keep using credits until the quota is gone.START_TIMESTAMP:IMMEDIATELYor a future timestamp. The interval is measured from this date. A time with no time zone is read as UTC.END_TIMESTAMP: a future time at which Snowflake suspends the assigned warehouses, whether or not they have reached any threshold.
These settings have some rules that catch people out. FREQUENCY and START_TIMESTAMP must be set together: you cannot set one without the other. Resets always happen at 12:00 AM UTC, whatever time of day the start timestamp gives. A monitor that starts on Monday 15 July at 8:00 AM with WEEKLY frequency resets at midnight UTC every Monday after that. A start date on the last day of a month resets on the last day of every later month, so a 31 January start resets on 28 or 29 February and then on 31 March. Once a schedule has been customized it cannot go back to the default. You have to drop the monitor and create a new one.
CREATE OR REPLACE RESOURCE MONITOR limit1 WITH CREDIT_QUOTA=2000 FREQUENCY = WEEKLY START_TIMESTAMP = '2019-03-04 00:00 PST' TRIGGERS ON 80 PERCENT DO SUSPEND ON 100 PERCENT DO SUSPEND_IMMEDIATE;Checkpoint 3 of 9· Fill the gap
This monitor should allow 2,000 credits a week, counted from 4 March 2019, and reset every week after that. Which property belongs in the blank so the statement is valid and the schedule works?
CREATE OR REPLACE RESOURCE MONITOR limit1 WITH CREDIT_QUOTA=2000 FREQUENCY = WEEKLY ? = '2019-03-04 00:00 PST' TRIGGERS ON 80 PERCENT DO SUSPEND ON 100 PERCENT DO SUSPEND_IMMEDIATE;FREQUENCY and START_TIMESTAMP must be set together, and the start date is what the weekly resets are measured from. END_TIMESTAMP would instead suspend the warehouses on that date and leave FREQUENCY without its required start. RESET_TIMESTAMP is not a resource monitor property.
Source: docs.snowflake.com3.Triggers: notify, suspend, suspend immediately
A trigger pairs a threshold with an action. The threshold is a percentage of the credit quota, and the action runs when usage in the current interval reaches it. Every trigger follows one grammar, and there are three actions to pick from.
triggerDefinition ::= ON <threshold> PERCENT DO { SUSPEND | SUSPEND_IMMEDIATE | NOTIFY }| Action | Standard warehouse | Adaptive Warehouse | Allowed per monitor |
|---|---|---|---|
| NOTIFY | Nothing happens to the warehouse; a notification is sent | Nothing happens to the warehouse; a notification is sent | Up to five |
| SUSPEND | Notification, then suspended after running statements complete | Disabled after running statements complete | One |
| SUSPEND_IMMEDIATE | Notification, then suspended at once, cancelling running statements | Disabled immediately | One |
The difference between the two suspend actions is what happens to work that is already running. SUSPEND lets running statements finish before the warehouse stops, so no work is lost, but credits keep accruing until those statements end. SUSPEND_IMMEDIATE cancels running statements on the spot. The usual pattern is to put them at two thresholds: a soft stop at the quota and a hard stop above it. Thresholds can be higher than 100, so a 110% hard stop is valid.
Take a warehouse with a 1,000-credit monthly quota and three requirements: an email at 80%, a stop at 100% that lets running queries finish, and every running query cancelled at 110%. One monitor covers all three with NOTIFY at 80, SUSPEND at 100 and SUSPEND_IMMEDIATE at 110. The limits rule out the other designs. A monitor can have only one SUSPEND and one SUSPEND_IMMEDIATE. A suspend at 80% would stop the warehouse before anyone was warned. A second monitor cannot be added for the 110% step, because a warehouse can be assigned to only one resource monitor.
A monitor needs at least one action. Without one, nothing happens when usage reaches a threshold. Notifications go to every account administrator who has notifications enabled. Warehouse monitors can also notify non-administrator users who have been enabled to receive them.
Checkpoint 4 of 9· Match them up
A 1,000-credit warehouse monitor needs three triggers. Match each trigger action to the requirement it meets.
Tap a term, then the definition that fits it.
NOTIFY only sends a notification. SUSPEND waits for running statements to finish before stopping the warehouse. SUSPEND_IMMEDIATE cancels them. One monitor can have one of each suspend action, so a soft stop at 100% followed by a hard stop at 110% is the standard stepped design.
“suspend all assigned standard warehouses immediately, which cancels any statements being executed by the warehouses at the time.”Source: docs.snowflake.com
Checkpoint 5 of 9· Exam question
A finance team gives the ANALYTICS_WH warehouse a monthly budget of 1,000 credits. Administrators want an email at 80%, running queries allowed to finish when 100% is reached, and every running query cancelled if usage hits 110%. Which trigger set on the resource monitor meets this?
Correct answer: A — Notify at 80 percent, Suspend at 100 percent, and Suspend Immediate at 110 percent, all defined as triggers on one monitor.
- A. Correct: a monitor can hold one Suspend, one Suspend Immediate and several Notify triggers, and thresholds above 100 percent are allowed. Suspend lets running queries complete while Suspend Immediate cancels them.
- B. Incorrect: Suspend Immediate at 100 percent cancels running queries, which the requirement forbids, and a monitor accepts only one Suspend action, so a second one cannot be added.
- C. Incorrect: suspending at 80 percent stops the warehouse far earlier than the budget requires, and the email at 100 percent comes too late to act as a warning.
- D. Incorrect: a warehouse can be assigned to only one resource monitor, so a second monitor for the 110 percent threshold cannot be attached to the same warehouse.
Sources1
4.Account monitors versus warehouse monitors
A monitor's type decides which warehouses it counts. An account monitor counts every warehouse in the account, and an account can have only one. A warehouse monitor counts only the warehouses assigned to it. An account can have many warehouse monitors, and each one can cover one or more warehouses. Each warehouse, though, can belong to only one warehouse monitor. A monitor that is not set on the account and has no warehouses assigned does not count anything and stays dormant.
CREATE RESOURCE MONITOR my_account_rm WITH CREDIT_QUOTA=10000 TRIGGERS ON 100 PERCENT DO SUSPEND; ALTER ACCOUNT SET RESOURCE_MONITOR = my_account_rm;The two levels apply side by side. A warehouse with its own monitor is still counted in the account total. It is suspended when either monitor reaches a threshold that has a suspend action. A warehouse monitor that fires stops only its own warehouses. When the account monitor fires, its actions apply to every warehouse in the account. A warehouse monitor's quota therefore caps that warehouse, but the warehouse can be stopped sooner if the account quota runs out first. In an account with a 5,000-credit account monitor, a warehouse whose own monitor allows 1,000 credits is suspended at whichever comes first: its own 1,000 or the account's 5,000.
This setup suits most teams. A single account monitor puts one spending limit on all warehouses. Warehouse monitors give tighter limits to the warehouses most likely to run away, such as an ad hoc analytics warehouse, or a loading warehouse whose budget comes from one cost center. To see which kind a monitor is, run SHOW RESOURCE MONITORS and look at the LEVEL column.
Checkpoint 6 of 9· Check yourself
Midway through the month, the account monitor (5,000 credits, Suspend at 100%) reaches its quota. Warehouse ADHOC_WH has its own warehouse monitor with a 1,000-credit quota and has used only 400 of it. What happens to ADHOC_WH?
Neither level overrides the other. A warehouse with its own monitor is still counted in the account total, so it is suspended when either monitor reaches a suspend threshold. Here the account quota ran out first, even though ADHOC_WH had credits left under its own monitor.
“the account resource monitor or the warehouse resource monitor reaches its defined threshold and a suspend action has been defined, standard warehouses are suspended”Source: docs.snowflake.com
Checkpoint 7 of 9· Exam question
Account-level resource monitor RM_ACCOUNT has a 5,000-credit monthly quota. The ETL_WH warehouse also has its own monitor, RM_ETL, with a 300-credit monthly quota that suspends at 100 percent. ETL_WH reaches 300 credits while the account total is 2,000. What happens?
Correct answer: A — ETL_WH is suspended by RM_ETL, while other warehouses keep running because the account monitor has not reached its own quota.
- A. Correct: warehouse-level and account-level monitors are evaluated independently. RM_ETL suspends only its own warehouse, and the account monitor acts only when the account-wide quota is reached.
- B. Incorrect: the account monitor does not override warehouse monitors. Each monitor enforces its own quota, so RM_ETL acts as soon as ETL_WH hits 300 credits.
- C. Incorrect: a warehouse monitor reaching its quota affects only the warehouses assigned to it. It never fires the account monitor's triggers.
- D. Incorrect: the account monitor counts credits of all warehouses, including those with their own monitor, so ETL_WH usage still contributes to the 5,000-credit total.
5.Who can create, change and receive alerts from a monitor
Only the ACCOUNTADMIN role can create a resource monitor. Administrators can grant other roles privileges to view and modify monitors, but some changes stay with ACCOUNTADMIN no matter what has been granted. The test is whether the change affects which warehouses the monitor covers. Changes to the quota, the schedule or the triggers need only the MODIFY privilege on the monitor.
| Operation | Required |
|---|---|
| CREATE RESOURCE MONITOR | ACCOUNTADMIN role |
| Set a monitor on the account (ALTER ACCOUNT SET RESOURCE_MONITOR) | ACCOUNTADMIN role |
| Change credit quota, schedule, or actions | A role with MODIFY on the monitor |
| Change monitor type between account and warehouse | ACCOUNTADMIN role |
| Add or remove warehouses on a warehouse-level monitor | ACCOUNTADMIN role |
Changing a monitor does not reset its count. Raise the quota from 1,000 to 3,000 halfway through the month and the credits already used still count. The change only affects usage after it is saved. You make it with ALTER RESOURCE MONITOR limit1 SET CREDIT_QUOTA=3000; in SQL, or in Snowsight under Admin » Cost management » Resource Monitors. Converting a warehouse monitor into the account monitor takes several steps. First find its warehouses in the resource_monitor column of SHOW WAREHOUSES. Then run ALTER WAREHOUSE ... UNSET RESOURCE_MONITOR on each one. Finally, run ALTER ACCOUNT ... SET RESOURCE_MONITOR.
You can send alerts to the warehouse owners as well as to administrators. Up to five non-administrator users can be added to a warehouse monitor with NOTIFY_USERS, and each of them needs a verified email address. If any user in the list does not have one, the whole statement fails. Account monitors notify administrators only.
ALTER RESOURCE MONITOR my_warehouse_rm
SET NOTIFY_USERS = (USER1, USER2);Checkpoint 8 of 9· Check yourself
A platform lead does not have ACCOUNTADMIN. Their role has been granted MODIFY on the warehouse monitor ETL_RM. Which of these requests can they complete themselves?
MODIFY covers the quota, the schedule and the triggers. Adding or removing warehouses and changing the monitor's type both stay with ACCOUNTADMIN, because they change which warehouses the monitor covers. Only ACCOUNTADMIN can create a monitor.
“To modify the credit quota, schedule, or actions for a resource monitor, a user must use a role with the MODIFY privilege”Source: docs.snowflake.com
Sources1
6.A dashboard that tracks Snowflake cost
Resource monitors enforce limits, but they show little about where the credits went. A cost dashboard does that job, and it can be built from two kinds of source. Snowsight's ready-made pages under Admin » Cost management cover the common questions. Queries against the ACCOUNT_USAGE and ORGANIZATION_USAGE views go into more detail, and you can add them as tiles on a custom dashboard (see Snowsight charts and dashboards for building the tiles).
Start with the Account Overview page. It shows total spend compared with the previous period, a budget tile that needs a monthly budget configured on the account, a count of cost anomalies, and optimization insights. It also has a spend trend that can be grouped by service or by usage type, warehouse spend attributed by cost attribution tag, and a ranked list of top spenders by warehouse, query, database or tag. The Consumption page breaks compute, storage and data transfer down by day, week or month. A user with ACCOUNTADMIN but without ORGADMIN sees costs for the current account only. Two limits apply to every Snowsight cost page: data can take up to 72 hours to appear, and times are shown in UTC.
| Question the tile answers | Source |
|---|---|
| Total spend and trend this month | Snowsight Account Overview, Total Cost and spend trend tiles |
| Spend per team or cost center | Account Overview cost attribution tile, grouped by a tag such as COST_CENTER |
| Hourly credits per warehouse, including cloud services | SNOWFLAKE.ACCOUNT_USAGE.WAREHOUSE_METERING_HISTORY |
| Credits actually billed after the cloud services adjustment | METERING_DAILY_HISTORY view |
| Spend in currency per account across the organization | SNOWFLAKE.ORGANIZATION_USAGE.USAGE_IN_CURRENCY_DAILY |
WAREHOUSE_METERING_HISTORY is the view whose figures are closest to a resource monitor's count. Its CREDITS_USED column is the sum of compute and cloud services credits before the cloud services adjustment, the same basis a monitor uses. That means it can be higher than the billed figure. Put it next to a billed total from METERING_DAILY_HISTORY so nobody mistakes one for the other. For a multi-account organization, ORGANIZATION_USAGE gives cost across every account, while ACCOUNT_USAGE covers only one.
SELECT account_name, ROUND(SUM(usage_in_currency), 2) as usage_in_currency FROM snowflake.organization_usage.usage_in_currency_daily WHERE usage_date > DATEADD(month,-1,CURRENT_TIMESTAMP()) GROUP BY 1 ORDER BY 2 desc;One more tile is worth adding: a list of warehouses with no warehouse monitor. The query below lists every warehouse whose resource_monitor column is null. It does not check for an account monitor, so if the account has one, the listed warehouses still fall under that account-wide limit.
SHOW WAREHOUSES
->> SELECT "name" AS WAREHOUSE_NAME,
"size" AS WAREHOUSE_SIZE
FROM $1
WHERE "resource_monitor" = 'null';Checkpoint 9 of 9· Fill the gap
Finance wants a tile showing last month's spend in currency for every account in a multi-account organization, with one row per account. Which schema goes in the blank?
SELECT account_name, ROUND(SUM(usage_in_currency), 2) as usage_in_currency FROM snowflake. ? .usage_in_currency_daily WHERE usage_date > DATEADD(month,-1,CURRENT_TIMESTAMP()) GROUP BY 1 ORDER BY 2 desc;The ORGANIZATION_USAGE schema gives cost information for all of the accounts in the organization. ACCOUNT_USAGE has similar data, but only for a single account, so it cannot break spend down across accounts.
Source: docs.snowflake.comPractise it for real
Put a warehouse monitor with a soft stop and a hard stop on a warehouse, confirm what kind of monitor it is, and find any warehouses that still have no monitor.
1.As ACCOUNTADMIN, run CREATE OR REPLACE RESOURCE MONITOR limit1 WITH CREDIT_QUOTA=2000 FREQUENCY = WEEKLY START_TIMESTAMP = '2019-03-04 00:00 PST' TRIGGERS ON 80 PERCENT DO SUSPEND ON 100 PERCENT DO SUSPEND_IMMEDIATE; using a future start timestamp of your own.
Why: Only ACCOUNTADMIN can create monitors. FREQUENCY and START_TIMESTAMP have to be set together.
You should see: The monitor is created but is dormant, because no warehouse is assigned to it yet.
2.Run ALTER WAREHOUSE wh1 SET RESOURCE_MONITOR = limit1; for a test warehouse.
Why: A monitor only starts counting once it is assigned to a warehouse or to the account.
You should see: SHOW WAREHOUSES now shows LIMIT1 in the resource_monitor column for wh1.
3.Run SHOW RESOURCE MONITORS.
Why: The LEVEL column shows whether a monitor is set on the account or on individual warehouses.
You should see: limit1 shows warehouse level, with a credit quota of 2000.
4.Run ALTER RESOURCE MONITOR limit1 SET CREDIT_QUOTA=3000;
Why: Changing the quota needs only MODIFY on the monitor, and it does not reset the credits already used.
You should see: The quota shows 3000 and the used credits are unchanged.
5.Run the SHOW WAREHOUSES ->> SELECT query that filters on "resource_monitor" = 'null'.
Why: Warehouses with no warehouse monitor are open to runaway costs unless an account monitor covers them.
You should see: wh1 no longer appears. Any warehouse that does appear is limited only by the account monitor, if there is one.
Stuck? Get a nudge
If ALTER WAREHOUSE ... SET RESOURCE_MONITOR fails for a role that holds MODIFY on the monitor, switch to ACCOUNTADMIN. Changing a monitor's warehouse list needs that role.
Sources
(8)
Every claim above is drawn from one of these pages, quoted as it was written on the date shown.
- 1.
“Resource monitors work for warehouses only. You can’t use a resource monitor to track spending associated with serverless features and AI services.”
↩︎ What a resource monitor watches, and what it ignores“suspend a standard virtual warehouse or disable an Adaptive Warehouse when it reaches a credit limit”
↩︎ What a resource monitor watches, and what it ignores“uses all credit consumption by the cloud services layer to calculate whether a limit has been reached, even if that consumption is never billed”
↩︎ What a resource monitor watches, and what it ignores“A warehouse-level resource monitor can monitor, but cannot suspend, credit usage by cloud services.”
↩︎ What a resource monitor watches, and what it ignores“Never (used credits never reset; assigned warehouses continue using credits until the credit quota is reached)”
↩︎ What a resource monitor watches, and what it ignores“the used credits reset to 0 at the beginning of each calendar month”
↩︎ Credit quota and schedule“regardless of the time specified in the start date and time, resource monitors reset at 12:00 AM UTC”
↩︎ Credit quota and schedule“if you specify a frequency, you must also specify a start date and time, and vice versa”
↩︎ Credit quota and schedule“when Snowflake suspends the warehouses associated with the resource monitor, regardless of whether the used credits reached any of the thresholds”
↩︎ Credit quota and schedule“You cannot change the customized schedule for a resource monitor back to the default.”
↩︎ Credit quota and schedule“Send a notification and suspend all assigned standard warehouses after all statements being executed by the warehouse(s) have completed.”
↩︎ Triggers: notify, suspend, suspend immediately“suspend all assigned standard warehouses immediately, which cancels any statements being executed by the warehouses at the time.”
↩︎ Triggers: notify, suspend, suspend immediately“Note that actions support thresholds greater than 100.”
↩︎ Triggers: notify, suspend, suspend immediately“Up to five Notify actions.”
↩︎ Triggers: notify, suspend, suspend immediately“if no actions have been defined, nothing happens when the used credits reach the threshold”
↩︎ Triggers: notify, suspend, suspend immediately“An account can only have one account monitor.”
↩︎ Account monitors versus warehouse monitors“each warehouse can only be assigned to one resource monitor”
↩︎ Account monitors versus warehouse monitors“It simply remains dormant.”
↩︎ Account monitors versus warehouse monitors“may be less than their quotas if the quota for the account is reached first.”
↩︎ Account monitors versus warehouse monitors“The LEVEL column for a resource monitor displays whether it is set for your account or individual warehouses.”
↩︎ Account monitors versus warehouse monitors“Only users with the ACCOUNTADMIN role can create a resource monitor”
↩︎ Who can create, change and receive alerts from a monitor“a user must use a role with the MODIFY privilege on the resource monitor”
↩︎ Who can create, change and receive alerts from a monitor“Changing any of these properties does not affect the used credits to-date for the monitor.”
↩︎ Who can create, change and receive alerts from a monitor“You can add up to five non-administrator users to a warehouse monitor using the CREATE RESOURCE MONITOR or ALTER RESOURCE MONITOR command.”
↩︎ Who can create, change and receive alerts from a monitor“If any user in the notification list does not have a verified email, the statement fails.”
↩︎ Who can create, change and receive alerts from a monitor“Credit quota specifies the number of Snowflake credits allocated to the monitor for the specified frequency interval.”
↩︎ Key concept“does not control credit usage by the Snowflake-provided compute resources for serverless features”
↩︎ Exam trap 2“After a user-managed virtual warehouse is suspended, subsequent queries run against that warehouse can still result in additional cloud services costs.”
↩︎ Exam trap 3“each warehouse can only be assigned to one resource monitor.”
↩︎ Exam trap 4“To modify the list of warehouses for a warehouse-level resource monitor, a user must use the ACCOUNTADMIN role.”
↩︎ Exam trap 5“If your warehouse consumes 700 credits, and cloud services consume 300 credits within a specified interval or date range, an alert will be triggered.”
↩︎ Prediction“An account-level resource monitor does not override resource monitor assignment for individual warehouses.”
↩︎ Prediction“the account resource monitor or the warehouse resource monitor reaches its defined threshold and a suspend action has been defined, standard warehouses are suspended”
↩︎ Checkpoint“To modify the credit quota, schedule, or actions for a resource monitor, a user must use a role with the MODIFY privilege”
↩︎ Checkpoint - 2.
“Each budget sends a notification if the credit usage is expected to exceed its spending limit for the month.”
↩︎ What a resource monitor watches, and what it ignores“If you are only concerned with controlling the costs of warehouses, you can also use resource monitors to monitor and suspend warehouses.”
↩︎ What a resource monitor watches, and what it ignores - 3.
“Budgets let you control costs for both serverless features and warehouses, while resource monitors focus solely on warehouses.”
↩︎ What a resource monitor watches, and what it ignores - 4.
“Sometimes a resource monitor simply notifies an administrator when a credit limit is reached”
↩︎ What a resource monitor watches, and what it ignores“the warehouse is suspended when either of the credit limits is reached.”
↩︎ Account monitors versus warehouse monitors“the warehouse is suspended when either of the credit limits is reached.”
↩︎ Exam trap 1 - 5.
“the monitor has no quota and will never reach 100% usage within the specified interval”
↩︎ Credit quota and schedule - 6.
“Queries against the usage views allow you to drill down into cost data and can help generate custom reports and dashboards.”
↩︎ A dashboard that tracks Snowflake cost“It can take up to 72 hours for cost information to become available in Snowsight.”
↩︎ A dashboard that tracks Snowflake cost“if a user has the ACCOUNTADMIN role, but does not have the ORGADMIN role, they can only view costs for the current account.”
↩︎ A dashboard that tracks Snowflake cost“the ACCOUNT_USAGE schema provides similar information for a single account”
↩︎ A dashboard that tracks Snowflake cost - 7.
“A ranked list of your top consumers in one of four categories: warehouses, queries, databases, or tags.”
↩︎ A dashboard that tracks Snowflake cost“A monthly budget must be configured for the account.”
↩︎ A dashboard that tracks Snowflake cost - 8.
“This value does not take into account the adjustment for cloud services, and may therefore be greater than the credits that are billed.”
↩︎ A dashboard that tracks Snowflake cost“To determine how many credits were actually billed, run queries against the METERING_DAILY_HISTORY view.”
↩︎ A dashboard that tracks Snowflake cost