-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02aca24
commit 21b2deb
Showing
4 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
use role sysadmin; | ||
create warehouse if not exists compute_org | ||
warehouse_type = STANDARD | ||
warehouse_size = XSMALL | ||
auto_suspend = 90 | ||
auto_resume = TRUE | ||
initially_suspended = TRUE; | ||
|
||
create warehouse if not exists compute_medium | ||
warehouse_type = STANDARD | ||
warehouse_size = MEDIUM | ||
auto_suspend = 70 | ||
auto_resume = TRUE | ||
initially_suspended = TRUE; | ||
|
||
create warehouse if not exists recover_xsmall | ||
warehouse_type = STANDARD | ||
warehouse_size = XSMALL | ||
auto_suspend = 90 | ||
auto_resume = TRUE | ||
initially_suspended = TRUE; | ||
|
||
// Tableau warehouse should have longer suspect time to leverage caching | ||
create warehouse if not exists tableau | ||
warehouse_type = STANDARD | ||
warehouse_size = XSMALL | ||
auto_suspend = 300 | ||
auto_resume = TRUE | ||
initially_suspended = TRUE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
use role sysadmin; | ||
alter warehouse if exists compute_org rename to compute_xsmall; | ||
alter warehouse if exists compute_xsmall set | ||
auto_suspend = 70; | ||
|
||
alter warehouse if exists tableau rename to tableau_xsmall; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters