No separador Tarefas, clique no nome da tarefa de migração.
É apresentada a página de detalhes da tarefa de migração.
Veja os metadados da tarefa de migração, como o nome, o ID, o tipo de migração, o perfil de ligação de origem, o motor da base de dados de origem, o destino, o método de conetividade, a data e a hora em que a tarefa de migração foi criada, e o tempo de execução da tarefa de migração.
No separador Bases de dados, quando a tarefa de migração está em execução, pode ver as seguintes informações para cada base de dados que selecionou para migração:
A tabela seguinte apresenta, descreve e fornece ações do utilizador para os estados das tarefas de migração do serviço de migração de bases de dados.
Estado da tarefa de migração
Descrição
Possível subestado
Ações possíveis do utilizador
Não iniciado
A tarefa de migração está pronta, mas ainda não está em execução. Este estado é relevante se
a tarefa de migração tiver sido criada, mas não iniciada.
Nenhum.
Iniciar. Eliminar.
A iniciar…
A tarefa de migração está a ser iniciada. Este é um estado intermédio que ocorre quando uma tarefa de migração é iniciada. O início da tarefa de migração demora entre alguns segundos e alguns minutos. O estado é alterado para Running.
Nenhum.
Eliminar.
Corrida
A tarefa de migração está em execução ativa.
CDC, promoção em curso.
Parar. Promova. Eliminar.
Em execução com erros
Este estado significa que o Database Migration Service encontrou erros na sua migração. As operações com falhas são repetidas e os erros são eliminados automaticamente assim que o problema subjacente for resolvido.
O Database Migration Service continua a migrar os dados não afetados pelo erro.
CDC.
Parar. Reiniciar. Promover (quando a tarefa está na fase de CDC).
Concluído
O trabalho de migração está concluído. No tipo de migração contínua, isto ocorre após uma promoção bem-sucedida.
Nenhum.
Eliminar.
Falhou
A tarefa de migração falhou devido a um erro. Com base no tipo de erro, a tarefa de migração pode ser retomada automaticamente,
após a resolução do problema. Caso contrário, a falha é irrecuperável e a tarefa de migração tem de ser reiniciada.
Quando migra bases de dados específicas, o Database Migration Service apresenta o estado Falhou separadamente para cada base de dados. Pode ver erros específicos dessa base de dados.
Se precisar de avançar com a migração, mas não conseguir resolver os problemas,
pode remover a base de dados com falhas da migração.
O último estado antes da falha do trabalho de migração. Falha no CDC,
Falha na descarga completa.
Reiniciar. Eliminar. Promova.
A reiniciar
A tarefa de migração está a ser reiniciada.
Nenhum.
Eliminar.
Parado
A tarefa de migração é interrompida.
O último estado antes de a tarefa de migração ter sido interrompida: interrompida na CDC.
Se estiver na fase de CDC, a tarefa de migração pode ser retomada, promovida ou eliminada.
A retomar
A tarefa de migração está a ser retomada.
Nenhum.
Eliminar.
A parar…
A tarefa de migração está em processo de paragem depois de Stop ter sido invocado. Este é um estado intermédio que ocorre quando um utilizador para uma tarefa de migração. A paragem da tarefa demora cerca de um minuto, durante o qual o estado é Stopping. Posteriormente, o estado é alterado para Stopped.
O Database Migration Service recolhe e apresenta métricas de tarefas de migração que representam o estado e o progresso do seu processo de migração de dados.
A tabela seguinte apresenta e descreve as métricas da tarefa de migração que pode ver na página de detalhes da tarefa de migração. Pode ver as seguintes métricas para todas as bases de dados incluídas na tarefa de migração ou apenas para as bases de dados que selecionou para migração:
Métrica de migração
Descrição
Atraso na replicação
Use esta métrica quando considerar fazer uma promoção de uma migração contínua. O atraso na replicação deve ser zero no momento da promoção para evitar a perda de dados. Tenha em atenção que esta métrica só é relevante na fase de captura de dados de alterações (CDC). Para mais informações sobre a promoção de tarefas, consulte o artigo
Promova uma
migração.
Utilização de armazenamento em bytes totais
Reflete quantos GB estão a ser usados pela instância do AlloyDB for PostgreSQL de destino. Use esta métrica para ter uma indicação aproximada
do progresso da tarefa de migração.
Pode usar as seguintes métricas para monitorizar as suas migrações:
A métrica migration_job/initial_sync_complete indica quando a fase de descarga completa está concluída para uma base de dados específica ou para toda a tarefa de migração. Pode ver esta métrica ao nível da migração ou da base de dados aplicando a etiqueta database. Se a etiqueta da base de dados estiver presente, o valor da métrica é para essa base de dados específica. Se a etiqueta não estiver preenchida, o valor da métrica é para toda a tarefa de migração.
A métrica migration_job/max_replica_bytes_lag mostra o tamanho dos dados de registo que ainda não foram replicados para o destino. Pode ver esta métrica ao nível da migração ou da base de dados aplicando a etiqueta database. Se a etiqueta da base de dados estiver presente, o valor da métrica é para essa base de dados específica. Se a etiqueta não estiver preenchida, o valor da métrica é para toda a tarefa de migração.
A métrica migration_job/max_replica_sec_lag mostra o tempo (em segundos) que a base de dados de destino está atrasada em relação à base de dados de origem. Só pode ver esta métrica ao nível da migração.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-21 UTC."],[[["\u003cp\u003eMigration jobs can be reviewed in the Google Cloud console under the "Migration jobs" page, where you can access details like job name, status, phase, and replication delay.\u003c/p\u003e\n"],["\u003cp\u003eMigration job statuses include "Not started," "Starting," "Running," "Running with errors," "Completed," "Failed," "Restarting," "Stopped," "Resuming," and "Stopping," each with distinct meanings and user actions.\u003c/p\u003e\n"],["\u003cp\u003eDatabase Migration Service collects and displays key migration job metrics such as "Replication delay" and "Storage usage in total bytes," providing insight into the migration's health and progress.\u003c/p\u003e\n"],["\u003cp\u003eThe Metrics Explorer allows you to monitor migrations using specific metrics like \u003ccode\u003emigration_job/initial_sync_complete\u003c/code\u003e, \u003ccode\u003emigration_job/max_replica_bytes_lag\u003c/code\u003e, and \u003ccode\u003emigration_job/max_replica_sec_lag\u003c/code\u003e, which offer detailed information about the migration process.\u003c/p\u003e\n"],["\u003cp\u003eYou can select to view monitoring metrics either in an aggregated way for the entire migration job or just for specific databases, allowing flexibility depending on the needed granularity.\u003c/p\u003e\n"]]],[],null,["# Review a migration job\n\n\u003cbr /\u003e\n\n[MySQL](/database-migration/docs/mysql/review-migration-job \"View this page for the MySQL version of Database Migration Service.\") \\| [PostgreSQL](/database-migration/docs/postgres/review-migration-job \"View this page for the PostgreSQL version of Database Migration Service.\") \\| PostgreSQL to AlloyDB\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nTo review details about the migration job, follow these steps:\n\n1. In the Google Cloud console, go to the **Migration jobs** page.\n\n [Go to Migration jobs](https://console.cloud.google.com/dbmigration/migrations)\n2. On the **Jobs** tab, click the name of your migration job.\n\n The migration job details page opens.\n3. View the migration job metadata, such as the migration job name, ID, migration type, source connection profile, source database engine, destination, connectivity method, date and time that the migration job was created, and how long the migration job is running.\n4. On the **Databases** tab, when the migration job is running, you can view the following information for each database that you selected for migration:\n - **Name**. The name of your migration job.\n - **Status** . For more information, see [Migration job statuses](#migration-job-statuses).\n - **Phase**. The migration phase indicates whether the migration job is performing a full dump or a change data capture (CDC) operation.\n - **Replication delay** . For more information, see [Migration job metrics](#migration-job-metrics).\n - **Errors**. The errors that occurred during the migration job.\n - **View logs**. Links to the logs for the migration job.\n5. On the **Monitoring** tab, from the **View** list, select one of the following options to view the metrics:\n - **Aggregated** shows the metrics diagrams for all databases included in your migration job.\n - **Databases** shows the metrics diagrams for databases that you selected for migration.\n - For more information about metrics, see [Migration job metrics](#migration-job-metrics).\n\n### Migration job statuses\n\n\u003cbr /\u003e\n\n[MySQL](/database-migration/docs/mysql/migration-job-statuses \"View this page for the MySQL version of Database Migration Service.\") \\| [PostgreSQL](/database-migration/docs/postgres/migration-job-statuses \"View this page for the PostgreSQL version of Database Migration Service.\") \\| PostgreSQL to AlloyDB\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nThe following table lists, describes, and provides user actions for migration job statuses for Database Migration Service.\n\n### Migration job metrics\n\n\u003cbr /\u003e\n\n[MySQL](/database-migration/docs/mysql/migration-job-metrics \"View this page for the MySQL version of Database Migration Service.\") \\| [PostgreSQL](/database-migration/docs/postgres/migration-job-metrics \"View this page for the PostgreSQL version of Database Migration Service.\") \\| PostgreSQL to AlloyDB\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nDatabase Migration Service collects and displays migration job metrics that represent the health and progress of your data migration process.\n\nThe following table lists and describes the migration job metrics that you can view on the migration job details page. You can view the following metrics for all databases included in your migration job or only the databases that you selected for migration:\n\nYou can view all [Database Migration Service Cloud Monitoring metrics that relate to migration job performance](/monitoring/api/metrics_gcp_d_h#gcp-datamigration) in the Metrics Explorer. To view each diagram directly in Cloud Monitoring, click more_vert**More chart options \\\u003e View in Metrics Explorer** .\n\n\u003cbr /\u003e\n\nYou can use the following metrics to monitor your migrations:\n\n- The [`migration_job/initial_sync_complete`](/monitoring/api/metrics_gcp_d_h#datamigration/migration_job/initial_sync_complete) metric indicates when the full dump phase is complete for a specific database or the entire migration job. You can view this metric on a migration level or a database level by applying the `database` label. If the database label is present, the metric value is for that particular database. If the label is not populated, the metric value is for the entire migration job.\n- The [`migration_job/max_replica_bytes_lag`](/monitoring/api/metrics_gcp_d_h#datamigration/migration_job/max_replica_bytes_lag) metric shows the size of log data that are not yet replicated to the destination. You can view this metric on a migration level or a database level by applying the `database` label. If the database label is present, the metric value is for that particular database. If the label is not populated, the metric value is for the entire migration job.\n- The [`migration_job/max_replica_sec_lag`](/monitoring/api/metrics_gcp_d_h#datamigration/migration_job/max_replica_sec_lag) metric shows the time (in seconds) that the destination database is behind the source database. You can view this metric only at the migration level.\n\nFor more information about the Metrics Explorer, see [Create charts with Metrics Explorer](/monitoring/charts/metrics-explorer)."]]