完全なダンプフェーズは、移行プロセスの最初の部分です。完全なダンプ中、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-04-17 UTC。"],[[["Database Migration Service utilizes two migration types, continuous and one-time, with only continuous migrations available for Oracle to Cloud SQL for PostgreSQL."],["Continuous migrations are divided into two phases: the full dump phase, which transfers the initial data to the destination, and the Change Data Capture (CDC) phase, which replicates subsequent changes."],["During the full dump phase, Database Migration Service copies data directly from the source database to the destination, with the option to adjust concurrent connection numbers for optimal performance."],["Alternatively, users can manually perform the full dump and then start the migration job with the CDC phase, providing the System Change Number (SCN) as the starting point."],["The CDC phase relies on monitoring log files to replicate changes, using the Oracle LogMiner API to read and parse archived Oracle redo log files for continuous data synchronization."]]],[]]