Order of Ops
-
Migrate existing DB to local VM
→ Desktop or NUC - pending RAM - Seaver to investigate
- Copy existing DB
- RBAC Adjustments
- Destroy any non-user roles, using coolguy
- Setup new user and top level scaffolding
- New temp role for dual-db driver syncs
- Introduce initial per-schema structure
- Per Schema Migration Updates
- Add new
<platform> schema
- Add new RBAC roles
- Transfer table data
-
Migrate to new Linode instance
→ High-Mem 24 GB / 2 Core
- Obtain new VM; keep existing in parallel
- New Postgres DB, with
conf updates
- RBAC for users, high level access (non program)
- Migrate data in current state
- Integrate dual-db driver for sync programs
-
Transition to new, optimized schema
Task Ideation
Phase 1 - Estimate 50h* - 1 sprint
<aside>
💡
Move to new VM & foundational structure
</aside>
- Store Tableau VC SQL Statements in Notion & Update Auth | Tam (Oscar) | 8h
- Create & Store VC SQL in DB | Seaver | 3h
- Create
temp-analytics schema
- Create / Update
tableau service role for access
- Create View
- Create New Tableau VC via SQL to
temp-analytics | Tam (Oscar) | 16h
- Conduct Migration Copy Enhancements via SQL Files | Seaver & Miles | 16h
- Copy DB Locally - 1h
- Write SQL files - 8h
- Validate End State - 2h
- Repeat if Needed - TBD
- Test service credential “happy path” - 2h
- Migrate DB to New HM Linode VM | Seaver | 7h
- Initialize new HM VM - 2h
- Copy DB - 1h
- Apply SQL Batch - 1h
- Deploy Sync Program service role updates - 1h
- Adjust
pg.kostorage.tech - 1h
Phase 2
<aside>
💡
Enhance & optimize existing DB foundational structure
</aside>
- Table layouts (columns, names)
- Metric table stance
- DB Plugins (TimescaleDB)