Informazioni sul flusso di dati da Oracle a Cloud SQL per PostgreSQL
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Esistono due concetti importanti che devi comprendere per sapere come fluiscono i dati
dall'origine all'istanza di destinazione: tipi di migrazione e fasi di migrazione. Database Migration Service supporta due tipi di migrazione: continua e una tantum.
Solo le migrazioni continue sono disponibili per le migrazioni eterogenee da Oracle a Cloud SQL per PostgreSQL.
Con le migrazioni continue, i dati vengono migrati in due fasi: dump completo e
Change Data Capture (CDC).
Fase di dump completo
La fase di dump completo è la prima parte del processo di migrazione. Durante
il dump completo, Database Migration Service si connette all'istanza di origine, legge i contenuti
dei database selezionati per la migrazione e poi carica i dati nell'istanza di destinazione Cloud SQL per PostgreSQL. In questa fase, Database Migration Service acquisisce i contenuti effettivi
del database.
Durante la fase di dump completo, Database Migration Service può aprire più connessioni ai database di origine per migliorare il rendimento. Puoi configurare il numero di connessioni simultanee quando
crei un job di migrazione.
Per un controllo granulare dello spostamento dei dati, puoi anche eseguire lo scarico completo e caricare i dati nell'istanza di destinazione autonomamente, al di fuori di Database Migration Service. Se scegli di eseguire questa fase manualmente, il job di migrazione inizierà con la fase CDC e Database Migration Service si aspetterà che tu fornisca il numero della modifica di sistema (SCN) dei file di log di ripristino come punto di partenza.
Change Data Capture (CDC)
Al termine della fase di dump completo (o se scegli di eseguire il dump completo autonomamente e iniziare con la fase CDC), Database Migration Service passa alla fase CDC, in cui continua a monitorare i database di origine per rilevare le modifiche e le replica continuamente nell'istanza di destinazione. In questa fase,
Database Migration Service non copia i dati effettivi dai database di origine: legge invece
i file di log per replicare le modifiche nella destinazione.
Database Migration Service utilizza l'API Oracle LogMiner per accedere e analizzare i file di log di ripetizione Oracle archiviati nel database di origine. Prima di eseguire la migrazione dei database Oracle a Cloud SQL per PostgreSQL con Database Migration Service, ti consigliamo di modificare le impostazioni dei file di log di ripristino Oracle per ottenere prestazioni e fedeltà dei dati ottimali. Per
ulteriori informazioni, vedi
Utilizzo dei redo log di Oracle.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-01 UTC."],[[["\u003cp\u003eDatabase Migration Service utilizes two migration types, continuous and one-time, with only continuous migrations available for Oracle to Cloud SQL for PostgreSQL.\u003c/p\u003e\n"],["\u003cp\u003eContinuous 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.\u003c/p\u003e\n"],["\u003cp\u003eDuring 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.\u003c/p\u003e\n"],["\u003cp\u003eAlternatively, 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.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\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-postgresql/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-postgresql/work-with-oracle-database-redo-log-files)."]]