完全なダンプフェーズは、移行プロセスの最初の部分です。完全ダンプ中、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-18 UTC。"],[[["\u003cp\u003eDatabase Migration Service utilizes two migration types: continuous and one-time, with only continuous migrations available for Oracle to AlloyDB for PostgreSQL.\u003c/p\u003e\n"],["\u003cp\u003eContinuous 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.\u003c/p\u003e\n"],["\u003cp\u003eThe full dump phase involves Database Migration Service connecting to the source database and transferring data, and multiple connections can be used for improved performance.\u003c/p\u003e\n"],["\u003cp\u003eAlternatively, 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.\u003c/p\u003e\n"],["\u003cp\u003eDuring 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.\u003c/p\u003e\n"]]],[],null,["# About data flow for Oracle to Cloud SQL for PostgreSQL\n\nThere are two important concepts you need to understand to know how data flows\nfrom your source to the destination instance: migration types and migration\nphases. Database Migration Service supports two types of migration: continuous and one-time.\nOnly continuous migrations are available for heterogeneous Oracle to\nCloud SQL for PostgreSQL migrations.\n\nWith continuous migrations, your data is migrated in two phases: full dump, and\nChange Data Capture (CDC).\n\nFull dump phase\n---------------\n\nThe **full dump phase** is the first part of the migration process. During\nfull dump, Database Migration Service connects to your source instance, reads the content\nof the databases you selected for migration, and then loads the data to the Cloud SQL for PostgreSQL\ndestination instance. In this phase, Database Migration Service captures actual contents\nof your database.\n\nDuring the full dump phase, Database Migration Service can open multiple connections to\nyour source databases for improved performance. You can configure the number of\nconcurrent connections when you\n[create a migration job](/database-migration/docs/oracle-to-alloydb/create-migration-job).\n\nFor granular control over your data movement, you can also perform the full dump\nand load the data to the destination instance on your own, outside of\nDatabase Migration Service. If you choose to perform this phase manually, your migration\njob will start with the CDC phase instead and Database Migration Service\nwill expect that you provide the System Change Number (SCN) of your redo log\nfiles as the starting point.\n\nChange Data Capture (CDC)\n-------------------------\n\nWhen the **full dump** phase is over (or if you choose to perform the full\ndump yourself and start with the CDC phase), Database Migration Service switches to the\nCDC phase where it keeps monitoring your source databases for changes, and then\ncontinuously replicates them on the destination instance. In this phase,\nDatabase Migration Service doesn't copy actual data from your source databases: instead\nit reads log files to replicate changes in the destination.\n\nDatabase Migration Service uses the Oracle LogMiner API to access and parse archived Oracle\nredo log files in your source database. Before you migrate your Oracle databases\nto Cloud SQL for PostgreSQL with Database Migration Service, we recommend that you adjust your\nOracle redo log files settings for optimal performance and data fidelity. For\nmore information, see\n[Work with Oracle redo log files](/database-migration/docs/oracle-to-alloydb/work-with-oracle-database-redo-log-files)."]]