본문으로 건너뛰기
Skillpedia
데이터베이스40k · #7404

reviewing-oracle-to-postgres-migration

하는 일

이 도구는 데이터베이스를 Oracle에서 PostgreSQL로 옮길 때 생기는 문제를 찾는 데 도움을 줍니다. 두 시스템 사이에 알려진 차이점과 여러분의 코드를 비교해 예상치 못한 문제를 피하게 합니다.

사용하는 경우

  • ✓데이터베이스 이전을 계획할 때.
  • ✓이미 진행한 이전 작업을 검토할 때.
  • ✓테스트가 중요한 부분을 모두 다루는지 확인할 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/reviewing-oracle-to-postgres-migration/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/reviewing-oracle-to-postgres-migration/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 Oracle 코드를 PostgreSQL로 옮길 때 위험이 있는지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 여러분의 코드를 Oracle과 PostgreSQL 사이의 알려진 차이점 목록과 비교합니다. 문제가 생길 수 있는 곳을 알려 주고, 고치는 방법도 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Oracle-to-PostgreSQL Database Migration

Surfaces migration risks and validates migration work against known Oracle/PostgreSQL behavioral differences documented in the references/ folder.

When to use

  1. Planning — Before starting migration work on a procedure, trigger, query, or refcursor client. Identify which reference insights apply so risks are addressed up front.
  2. Validating — After migration work is done, confirm every applicable insight was addressed and integration tests cover the new PostgreSQL semantics.

Workflow

Determine the task type:

Planning a migration? Follow the risk assessment workflow. Validating completed work? Follow the validation workflow.

Risk assessment workflow (planning)

Risk Assessment:
- [ ] Step 1: Identify the migration scope
- [ ] Step 2: Screen each insight for applicability
- [ ] Step 3: Document risks and recommended actions

Step 1: Identify the migration scope

List the affected database objects (procedures, triggers, queries, views) and the application code that calls them.

Step 2: Screen each insight for applicability

Review the reference index in references/REFERENCE.md. For each entry, determine whether the migration scope contains patterns affected by that insight. Read the full reference file only when the insight is potentially relevant.

Step 3: Document risks and recommended actions

For each applicable insight, note the specific risk and the recommended fix pattern from the reference file. Flag any insight that requires a design decision (e.g., whether to preserve Oracle empty-string-as-NULL semantics or adopt PostgreSQL behavior).

Validation workflow (post-migration)

Validation:
- [ ] Step 1: Map the migration artifact
- [ ] Step 2: Cross-check applicable insights
- [ ] Step 3: Verify integration test coverage
- [ ] Step 4: Gate the result

Step 1: Map the migration artifact

Identify the migrated object and summarize the change set.

Step 2: Cross-check applicable insights

For each reference in references/REFERENCE.md, confirm the behavior or test requirement is acknowledged and addressed in the migration work.

Step 3: Verify integration test coverage

Confirm tests exercise both the happy path and the failure scenarios highlighted in applicable insights (exceptions, sorting, UNION ALL behavior/performance risks, refcursor consumption, concurrent transactions, timestamps, materialized-view freshness, etc.).

Step 4: Gate the result

Return a checklist asserting each applicable insight was addressed, migration scripts run, and integration tests pass.

자주 묻는 질문

'동작 차이(behavioral differences)'란 무엇인가요?

Oracle과 PostgreSQL이 특정 상황을 다르게 처리하는 방식입니다. 예를 들어 빈 문자열을 다루는 방법이나 데이터를 정렬하는 방법이 다를 수 있습니다.

'refcursor'란 무엇인가요?

Oracle에서 쿼리 결과를 돌려주는 특정 방식입니다. PostgreSQL에서는 다르게 동작할 수 있습니다.

'타입 강제 변환(type coercion)'은 무슨 뜻인가요?

데이터베이스가 한 데이터 타입을 다른 타입으로 자동으로 바꾸는 것입니다. 이 방식은 Oracle과 PostgreSQL에서 서로 다를 수 있습니다.

상세 정보

작성자의 원본 설명

Identifies Oracle-to-PostgreSQL migration risks by cross-referencing code against known behavioral differences (empty strings, refcursors, type coercion, sorting/collations, UNION ALL planner risks, materialized-view refresh requirements, timestamps, concurrent transactions, etc.). Use when planning a database migration, reviewing migration artifacts, or validating that integration tests cover Ora

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7404
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬