Database Migration Service では、移行元の変換に次の 2 つの方法があります。
(推奨)コンバージョン ワークスペースと組み込みのコンバージョン エディタを使用します。
このアプローチでは、スキーマ変換が自動化され、すべてのアクションが Database Migration Service 内で直接行われます。この方法を使用する場合は、追加の準備は必要ありません(関連する接続情報を追加する場合を除く)。移行先の Cloud SQL for PostgreSQL データベースを構成するセクションに進みます。
[[["わかりやすい","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-07 UTC。"],[[["\u003cp\u003eThis guide details preparing an Oracle database schema for conversion to PostgreSQL using the Ora2Pg migration tool within a legacy conversion workspace.\u003c/p\u003e\n"],["\u003cp\u003eUtilizing Ora2Pg involves configuring an Ora2Pg file, generating SQL scripts, and running these scripts on the Cloud SQL for PostgreSQL destination database to create the schema.\u003c/p\u003e\n"],["\u003cp\u003eDatabase Migration Service automates schema conversion within its built-in conversion editor, eliminating the need for the separate Ora2Pg preparation steps detailed in this content.\u003c/p\u003e\n"],["\u003cp\u003eSpecific Ora2Pg configuration directives are required for use with Database Migration Service, such as \u003ccode\u003eBOOLEAN_VALUES\u003c/code\u003e and \u003ccode\u003eEXPORT_SCHEMA\u003c/code\u003e, while connection directives like \u003ccode\u003eORACLE_DSN\u003c/code\u003e and \u003ccode\u003ePG_USER\u003c/code\u003e are managed separately by connection profiles.\u003c/p\u003e\n"],["\u003cp\u003eTables without primary keys may cause data duplication issues during migration due to limitations in tracking changes, requiring specific handling outlined in the provided documentation.\u003c/p\u003e\n"]]],[],null,[]]