完全なダンプフェーズは、移行プロセスの最初の部分です。完全ダンプ中、Database Migration Service は移行元インスタンスに接続し、移行用に選択したデータベースのコンテンツを読み取って、Cloud SQL for PostgreSQL の移行先インスタンスにデータを読み込みます。このフェーズでは、Database Migration Service がデータベースの実際のコンテンツをキャプチャします。
完全ダンプ フェーズでは、Database Migration Service はパフォーマンスを向上させるために、移行元データベースへの複数の接続を開くことができます。同時接続の数は、
移行ジョブの作成時に構成できます。
データ移動をきめ細かく制御するには、Database Migration Service の外部で、完全なダンプを実行して、移行先のインスタンスにデータを読み込むこともできます。このフェーズを手動で実行することを選択した場合、移行ジョブは CDC フェーズから開始され、Database Migration Service は、redo ログファイルのシステム変更番号(SCN)を開始点として指定することを想定します。
変更データ キャプチャ(CDC)
フルダンプ フェーズが終了すると(または、フルダンプを自分で実行して CDC フェーズから開始する場合)、Database Migration Service は CDC フェーズに切り替わり、移行元データベースの変更を継続的にモニタリングし、移行先インスタンスに継続的に複製します。このフェーズでは、Database Migration Service は移行元データベースから実際のデータをコピーしません。代わりに、ログファイルを読み取って宛先の変更を複製します。
Database Migration Service は、Oracle LogMiner API を使用して、移行元データベース内のアーカイブされた Oracle REDO ログファイルにアクセスして解析します。Database Migration Service を使用して Oracle データベースを Cloud SQL for PostgreSQL に移行する前に、最適なパフォーマンスとデータ忠実度を実現するように Oracle の REDO ログファイルの設定を調整することをおすすめします。詳細については、
Oracle の REDO ログファイルを使用するをご覧ください。
[[["わかりやすい","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-08 UTC。"],[[["Database Migration Service utilizes two migration types: continuous and one-time, with only continuous migrations available for Oracle to AlloyDB for PostgreSQL."],["Continuous migrations consist of two phases: a full dump phase where the current content of the database is copied, and a Change Data Capture (CDC) phase."],["The full dump phase involves Database Migration Service connecting to the source database and transferring data, and multiple connections can be used for improved performance."],["Alternatively, the full dump phase can be performed manually, in which case the migration job starts with the CDC phase, and requires the System Change Number (SCN) as the starting point."],["During the CDC phase, Database Migration Service monitors and replicates changes to the destination cluster by reading log files rather than copying data, using the Oracle LogMiner API for Oracle databases."]]],[]]