snowflakedb / SnowAlert

Security Analytics Using The Snowflake Data Warehouse
Apache License 2.0
184 stars 57 forks source link

add `alter warehouse ... suspend` script #623

Open ugmuka opened 2 years ago

ugmuka commented 2 years ago

If we enable warehouse auto-suspend, the warehouse is still running for at least one minute after the alert process is complete. To save the cost, I want to add process to execute alter warehouse ... suspend at end of run.py