Skip to main content

db-upgrade

A new Oracle Database version is released. It should work with the existing datafiles without requiring a dump/restore, verify and then prepare the migration guide for users.

소스 정보

저장소
United-Codes/uc-local-apex-dev
최근 소스 활동
2026년 9월 3일 09:31
감지된 SKILL.md 언어
영어
스타
63
포크
22

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
db-upgrade
description
A new Oracle Database version is released. It should work with the existing datafiles without requiring a dump/restore, verify and then prepare the migration guide for users.
## New Oracle Database version released **First, check that the release is adoptable at all.** Changing the image tag on an existing `oradata` volume does not upgrade the data dictionary, and neither `datapatch` nor `catupgrd` corrects it. Run the `db-ru-dictionary-check` skill (`.agents/skills/db-ru-dictionary-check/SKILL.md`) before anything below. It tells you whether an in-place swap plus `scripts/repair-ru-dictionary.sh` is safe, or whether this release needs a Data Pump migration instead. Its outcome decides what the migration guide has to say. Use `gh run list --workflow=test-db-upgrade.yml` to check if a recent successful run of the `test-db-upgrade.yml` workflow exists. If not, ask the user if they want to trigger a new run with the new database version. First verify that such a version exists on the repo. ## Upgrade DB locally Follow the actual migration guides of similar upgrades (e.g. 26-2) to upgrade the database locally. This will involve: - Pulling new database image - Backup the existing database - Stopping the current database - Starting the new database Do it in a safe way and confirm that everything is working correctly before proceeding to the next step. ## Write migration guide After a successful upgrade, create a new migration guide in `docs/src/content/docs/migrations/`. Use the existing guides (e.g. `25-3.md`) as a template. The guide should include: - **Frontmatter**: `title`, `description`, `sidebar.order` (increment from the previous guide) - **Intro**: link to getting-started, note to be on the previous version first - **Changes section**: a human-readable changelog covering: - DB and ORDS version bumps (note whether DB files are compatible or a dump/restore is needed) - New scripts - Enhanced scripts (what changed and why) - Bug fixes - Use `git log --oneline <last-tag>..HEAD --no-merges` and `git show <hash> --stat` to gather the full list of commits and changed files since the last release tag (even though they where committed on the old tags branches, they are still relevant for the new version if they were committed after the last release) - **Migration section**: step-by-step instructions (backup → stop → switch branch → chmod → start → verify) - If DB files are compatible (minor version bump), the steps are simple: backup, pull branch, start - If DB files are incompatible (major version change like 23ai → 26ai), include dump/restore steps - End with an optional step to remove old docker images
GitHub에서 보기