변환 작업공간을 사용하여 이기종 데이터베이스의 마이그레이션 프로세스를 가속화하고 개선하세요. 변환 작업공간은 코드 및 스키마 변환을 처리하여 대상 데이터베이스로의 전환을 간소화합니다.
이러한 도구는 강력한 개요를 통해 전환 진행 상황을 모니터링할 수 있는 도구를 제공합니다. 변환 작업공간을 사용하면 변환 편집기에서 공동으로 변환 문제를 해결할 수도 있습니다. 변환 편집기에서는 결과 PostgreSQL 코드를 실시간으로 조정할 수 있습니다.
그림 1. 변환 진행 상황을 모니터링하고, 문제를 확인하고, 결과 PostgreSQL 코드를 검사할 수 있는 변환 작업공간 개요 화면 (확대하려면 클릭)
Gemini로 코드 및 스키마 변환 가속화
Database Migration Service의 Gemini 기반 변환 기능을 사용하면 AI의 힘을 적용하여 마이그레이션의 시간과 복잡성을 줄일 수 있습니다.
다음 무료 접근 방식을 사용하여 Gemini 기반 코드 객체 변환 환경을 완전하게 엔드 투 엔드로 경험하세요.
자동 변환
Gemini 기반 변환 엔진은 Database Migration Service에서 사용하는 결정론적 변환 패턴을 자동으로 개선할 수 있습니다. 자동 변환 기능을 사용 설정하면 Gemini가 변환된 스키마를 모두 처리하여 PostgreSQL 코드에서 필요한 수동 조정 수를 크게 줄입니다.
모든 증강이 완료되면 각 객체의 세부정보를 살펴볼 수 있습니다.
전환 요약에는 Gemini가 결정적 전환에서 발견된 문제를 해결한 방법과 이유에 대한 개요와 추가 조정이 필요한 문제 목록이 포함됩니다.
코드 비교를 사용하면 Gemini 기반 증강과 결정론적 변환을 나란히 비교할 수 있습니다.
그림 2. 코드 및 스키마의 세부정보를 검사할 수 있는 Gemini 기반 자동 변환 패널 (확대하려면 클릭)
변환 지원
변환 지원은 변환 로직을 더 잘 이해하거나 변환 문제 해결을 제안하거나 변환된 코드를 최적화하는 데 도움이 되는 일련의 전용 프롬프트입니다. 예를 들어 특정 Oracle 함수에 PostgreSQL의 직접적인 상응 항목이 없는 경우 객체 변환 문제 해결 지원 프롬프트를 사용하여 변환 문제를 해결할 수 있는 코드 변경사항을 제안받을 수 있습니다.
다음 이미지는 변환 워크스페이스에서 코드 및 스키마 변환 설명 가능성을 위한 Gemini 프롬프트에 액세스하는 방법을 보여줍니다.
그림 3. Gemini 변환 어시스턴트 프롬프트 (확대하려면 클릭)
패턴 일치
작업공간에서 변환 문제를 해결하면 Gemini 모델이 수정사항에서 패턴을 학습하고 작업공간의 다른 결함 있는 객체에 대한 변경사항을 제안할 수 있습니다. 예를 들어 객체 변환 문제를 수동으로 또는 변환 지원 도우미 프롬프트를 사용하여 해결한 후 Gemini 모델이 수정사항을 충분히 분석하면 AI 생성 추천을 검토하여 코드를 추가로 개선할 수 있습니다.
다음 이미지는 Gemini가 변환 작업공간에서 문제를 해결하는 추천을 보여줍니다.
그림 4. Gemini 제안으로 문제 해결 대화상자 (확대하려면 클릭)
지원되는 시나리오
Database Migration Service 변환 작업공간 및 Gemini 기반 변환에 관한 자세한 내용은 다음 페이지를 참고하세요.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-18(UTC)"],[],[],null,["# Convert SQL with Database Migration Service\n\nDatabase Migration Service helps you convert Oracle and SQL Server\nschema to PostgreSQL. You accomplish this using conversion workspaces and\nGemini-powered conversion.\n\n- [Conversion workspaces](#conversion-workspaces) provide tools to convert schema and code\n objects.\n\n- [Gemini assistance](#gemini-conversion) uses the power of AI to reduce migration\n time and complexity.\n\n- See [Supported scenarios](#supported-scenarios) for links to scenario-specific documentation.\n\nConversion workspaces\n---------------------\n\nUse conversion workspaces to expedite and improve the migration process for\nheterogeneous databases. The conversion workspaces handle code and schema conversion,\nsimplifying the transition to your destination database.\n\nThey offer tools that let you monitor conversion progress with robust overviews.\nConversion workspaces also facilitate collaborative conversion issue solving\nin the conversion editor, where you can adjust the resulting PostgreSQL\ncode in real time.\n[](#lightbox-trigger) **Figure 1.** Conversion workspace overview screen, where you can monitor the progress of your conversion, view issues and inspect the resulting PostgreSQL code. (click to enlarge)\n\nAccelerate code and schema conversion with Gemini\n-------------------------------------------------\n\n|\n| **Preview\n| --- [Gemini](/gemini/docs/overview) in Database Migration Service**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nGemini-powered conversion features in Database Migration Service help you apply\nthe power of AI to reduce the time and complexity of your migrations.\n\nUse the following complimentary approaches for a complete end-to-end\nGemini-powered code object conversion experience:\n\n### Auto-conversion\n\nGemini-powered conversion engine can automatically enhance\nthe deterministic conversion patterns used by Database Migration Service. When you enable\nthe auto-conversion feature, Gemini processes all your\nconverted schema is processed to significantly reduce the number of manual\nadjustments needed in your PostgreSQL code.\n\nAfter all augmentations are complete, you can explore the details for each object:\n\n- **Conversion summary** includes an overview of how and why Gemini\n fixed issues found in the deterministic conversion, as well as a list of\n issues that still require further adjustments.\n\n- **Code comparison** provides you with a side-by-side comparison between\n Gemini-powered augmentations and the deterministic conversion.\n\n[](#lightbox-trigger) **Figure 2.** Gemini-powered auto-conversion panel where you can inspect the details of code and schema. (click to enlarge)\n\n### Conversion assistant\n\nConversion assistant is a set of dedicated prompts that can help you better\nunderstand the conversion logic, propose fixes for conversion issues, or\noptimize converted code. For example, if certain Oracle functions don't have\ndirect equivalents in PostgreSQL, you can use the **Help me fix object conversion issues**\nprompt to get a proposal of code changes that can fix the conversion issue.\n\nThe following image shows how to access Gemini prompts\nfor code and schema conversion explainability in conversion workspaces:\n[](#lightbox-trigger) **Figure 3.** Gemini conversion assistant prompts. (click to enlarge)\n\n### Pattern matching\n\nWhen you fix conversion issues in your workspace, Gemini models\ncan learn the pattern from your fixes and suggest changes to other faulty\nobjects in the workspace. For example, after you've fixed object conversion\nissues manually or with the conversion assistant prompt, and when\nGemini models have analyzed enough of your fixes, you can review\nAI-generated suggestions to further refine your code.\n\nThe following image shows the Gemini suggestions fix issues in\nconversion workspaces:\n[](#lightbox-trigger) **Figure 4.** Gemini suggestions fix issues dialog. (click to enlarge)\n\nSupported scenarios\n-------------------\n\nSee the following pages for more information about Database Migration Service conversion\nworkspaces and Gemini-powered conversion:\n\nOracle to Cloud SQL for PostgreSQL\n:\n - [About conversion workspaces](/database-migration/docs/oracle-to-postgresql/about-conversion-ws)\n - [Convert Oracle code and schema to Cloud SQL for PostgreSQL with\n Gemini assistance](/database-migration/docs/oracle-to-postgresql/code-conversion-with-gemini)\n\nOracle to AlloyDB for PostgreSQL\n:\n - [About conversion workspaces](/database-migration/docs/oracle-to-alloydb/about-conversion-ws)\n - [Convert Oracle code and schema to Cloud SQL for PostgreSQL with\n Gemini assistance](/database-migration/docs/oracle-to-alloydb/code-conversion-with-gemini)\n\nSQL Server to Cloud SQL for PostgreSQL\n:\n - [About conversion workspaces](/database-migration/docs/sqlserver-to-csql-pgsql/about-conversion-workspaces)\n - [Convert SQL Server code and schema to Cloud SQL for PostgreSQL with\n Gemini assistance](/database-migration/docs/sqlserver-to-csql-pgsql/code-conversion-with-gemini)\n\nSQL Server to AlloyDB for PostgreSQL\n:\n - [About conversion workspaces](/database-migration/docs/sqlserver-to-alloydb/about-conversion-workspaces)\n - [Convert SQL Server code and schema to AlloyDB for PostgreSQL with\n Gemini assistance](/database-migration/docs/sqlserver-to-alloydb/code-conversion-with-gemini)"]]