-
|
In an upcoming version of CollectOSS we plan to include a database migration that updates the name of the database schemas. I wanted to start a community discussion over the new naming we should use. This change will likely require all downstream that are relying on our core database tables (including 8Knot and probably the grafana monitoring stack) to update some or all of their queries where the schema is being hard-coded. Many such queries within CollectOSS itself will likely change. Our current affected schemas are called:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 9 replies
-
|
Option 1: basic
Option 2: generic
Option 3: snazzy
Misc other ideas:
|
Beta Was this translation helpful? Give feedback.
-
|
I dont have any strong opinions, good with any of the 3! |
Beta Was this translation helpful? Give feedback.
-
|
collection_data / collection_operations it is |
Beta Was this translation helpful? Give feedback.
-
|
On talking with Josh Berkus, his recommendation is not to use a prefix since CollectOSS is so heavy on databases (and IO) at large scales, so it doesnt really make much sense for it to be sharing a database with other applications anyway. Also given the plans to attempt to codify a separate schema thats explicitly an external interface, i propose this naming scheme: augur_data -> internal |
Beta Was this translation helpful? Give feedback.
-
|
ok final final plan augur_data --> data A new schema called |
Beta Was this translation helpful? Give feedback.
ok final final plan
augur_data --> data
augur_operations --> operations
spdx --> spdx
A new schema called
stablewill also be created to store all the materialized views and will become the home for stable tables/views that will be unit tested for their stability and that downstreams should be strongly encouraged to use (if they want to avoid breaking schema changes that will be coming in future versions