Onboard messy environment #123
Replies: 1 comment 6 replies
-
Alright, it is an interesting topic with lots of considerations. Ownership Programmatic config Normal config can be used along with programmatic config, with some objects managed manually and other objects managed in the code. Reducing number of databases For each prefix:
With this approach you will have a smooth gradual transition to SnowDDL + do refactoring and reduce number of account-level objects. Let's be honest. Human beings have a limited attention span, and scrolling through thousands of directories is going to reduce productivity quite a lot, even with the best tools. Local install for conversion |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
My team is trying to onboard management of our Snowflake databases into
snowddl
. Currently, this is not feasible in one step due to:However, if we split the Databases into classes, then the problem becomes manageable. We can define the following classes:
foo
,bar
, etc.1.a. These databases are currently managed by different services.
2.a. Those are O(10), which makes it manageable to import using the
snowddl-convert
tool.A few ideas that for handling this would be:
include_databases
flag to limitsnowddl
to the dbs onboarded.1.a. Not scalable for handling the prefixed databases (for a prefix there can be O(1000) databases).
exclude_databases
flag that would support regex.2.a. This would be nice as we could leave the management of some of these databases.
3.a. This may require delicate surgery on production services to ensure no accidental access loss.
I am open to other suggestions/ideas.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions