

# move\_info

The `move_info` system table has one row for each data movement job of a database cluster group for Aurora.

## Purpose
<a name="databaseclustergroups-sysviews-move-info-purpose"></a>

Use this table to follow a move of a collocation from one member cluster to another and to read the status of the move. A job's row stays readable after the job ends, so you can confirm a success or read a failure reason. Jobs publish progress periodically, so a read shows the last published state.

The table is read-only. You start, finish, and stop jobs with the data movement statements. For the procedure, see [Moving data between member clusters](databaseclustergroups-data-movement.md).

## Columns and example queries
<a name="databaseclustergroups-sysviews-move-info-columns"></a>

The table is `dbclustergroup_data_movement.move_info`. It isn't in `dbclustergroup_sys`.

**Columns**

The table has the following columns.


| Column | Type | Description | 
| --- | --- | --- | 
| job\_id | VARCHAR | The job ID that ALTER DBCLUSTERGROUP MOVE COLLOCATION returned. | 
| status | VARCHAR | Running, Paused, Completed, Cancelled, or Error. Paused means that the service stopped the job for a time, for example while it replaces the data mover compute that runs the job. You can't pause or resume a job yourself. | 
| phase | VARCHAR | Initializing, Precheck, Seeding, Cdc, CutoverInit, or CutoverFlip. | 
| execution\_method | VARCHAR | How the job copies changes. The value is LogicalReplication. | 
| move\_type | VARCHAR | What the job moves. The value is Collocation. | 
| object\_name | VARCHAR | The name of the collocation that the job moves. | 
| source\_member\_cluster\_alias | VARCHAR | The alias of the member cluster that the job moves the collocation from. | 
| target\_member\_cluster\_alias | VARCHAR | The alias of the member cluster that the job moves the collocation to. | 
| errors | VARCHAR | Plain text with the failure reason. NULL while the job is healthy. | 
| warnings | VARCHAR | Plain text with findings that don't stop the job. It can hold more than one line. NULL while the job is healthy. | 
| progress\_details | VARCHAR | JSON text. The keys PRECHECKS, SEEDING, CDC and CUTOVER each hold the progress of that phase. A key appears after its phase reports progress. The CDC progress includes the replication lag in seconds. | 
| created\_at | VARCHAR | When the job started, in UTC, as YYYY-MM-DDTHH:MM:SSZ. | 
| updated\_at | VARCHAR | When the job last changed, in UTC, as YYYY-MM-DDTHH:MM:SSZ. The job publishes progress periodically, so this value lags real time slightly. | 
| cleanup\_status | VARCHAR | Whether the cleanup of the job has finished: NotStarted, InProgress, Complete, or Blocked. Blocked means that cleanup is blocked because the source or destination member cluster does not have a healthy writer instance. | 

**Where to query it**

Query the table at the routing endpoint, in an unpinned session. Change jobs with `ALTER DBCLUSTERGROUP MOVE`, `CUTOVER JOB`, and `CANCEL JOB`.

Your router user needs the `dbclustergroup_metadata_read_only` privilege or the `dbclustergroup_move_admin` privilege.

Filter a query on the job ID with `WHERE job_id = '{{id}}'`, or on the status with `WHERE status = '{{status}}'`. You can give only one of the two filters. Like the other system tables, the table refuses `ORDER BY` and accepts `LIMIT n`, `LIMIT n OFFSET m`, and `LIMIT m, n` with integer literals. For the other query rules, see [Filters the system tables accept](databaseclustergroups-system-views.md#databaseclustergroups-sysviews-filters).

**Example queries**

The following query reads every column of one job.

```sql
SELECT * FROM dbclustergroup_data_movement.move_info
 WHERE job_id = '4a6f1c2e-7d3b-4c1a-9e2f-5b8d0c6a1f30';
```

The following query reads the phase and progress of one job, including its replication lag and the rows copied against the estimated total.

```sql
SELECT job_id, status, phase, progress_details, errors, warnings
  FROM dbclustergroup_data_movement.move_info
 WHERE job_id = '4a6f1c2e-7d3b-4c1a-9e2f-5b8d0c6a1f30';
```

The following query lists the running jobs.

```sql
SELECT job_id, status, phase FROM dbclustergroup_data_movement.move_info WHERE status = 'Running';
```

## Related topics
<a name="databaseclustergroups-sysviews-move-info-related"></a>

For more information, see the following topics:
+ [EXPLAIN ALTER DBCLUSTERGROUP MOVE COLLOCATION](databaseclustergroups-sql-explain-move-collocation.md) and [ALTER DBCLUSTERGROUP MOVE COLLOCATION](databaseclustergroups-sql-move-collocation.md), to plan and start a job
+ [ALTER DBCLUSTERGROUP CUTOVER JOB](databaseclustergroups-sql-switch-job.md) and [ALTER DBCLUSTERGROUP CANCEL JOB](databaseclustergroups-sql-cancel-job.md), to finish or stop a job
+ [Reading move status](databaseclustergroups-sql-move-info.md)
+ [Moving data between member clusters](databaseclustergroups-data-movement.md)
+ [Troubleshooting data moves and schema changes](databaseclustergroups-ts-operations.md)