TableStatistics
¶
Source code in docs_src/capo_database_migration_service/types/table_statistics.py
applied_ddls
instance-attribute
¶
applied_ddls: NotRequired[LongOptional]
The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.
applied_deletes
instance-attribute
¶
applied_deletes: NotRequired[LongOptional]
The number of delete actions applied on a target table.
applied_inserts
instance-attribute
¶
applied_inserts: NotRequired[LongOptional]
The number of insert actions applied on a target table.
applied_updates
instance-attribute
¶
applied_updates: NotRequired[LongOptional]
The number of update actions applied on a target table.
ddls
instance-attribute
¶
ddls: Long
The data definition language (DDL) used to build and modify the structure of your tables.
full_load_condtnl_chk_failed_rows
instance-attribute
¶
full_load_condtnl_chk_failed_rows: Long
The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).
full_load_end_time
instance-attribute
¶
full_load_end_time: NotRequired[TStamp]
The time when the full load operation completed.
full_load_error_rows
instance-attribute
¶
full_load_error_rows: Long
The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).
full_load_reloaded
instance-attribute
¶
full_load_reloaded: NotRequired[BooleanOptional]
A value that indicates if the table was reloaded (true) or loaded as part of a new full load operation (false).
full_load_rows
instance-attribute
¶
full_load_rows: Long
The number of rows added during the full load operation.
full_load_start_time
instance-attribute
¶
full_load_start_time: NotRequired[TStamp]
The time when the full load operation started.
last_update_time
instance-attribute
¶
last_update_time: NotRequired[TStamp]
The last time a table was updated.
resync_progress
instance-attribute
¶
resync_progress: NotRequired[DoubleOptional]
Calculates the percentage of failed validations that were successfully resynced to the system.
resync_rows_attempted
instance-attribute
¶
resync_rows_attempted: NotRequired[LongOptional]
Records the total number of mismatched data rows where the system attempted to apply fixes in the target database.
resync_rows_failed
instance-attribute
¶
resync_rows_failed: NotRequired[LongOptional]
Records the total number of mismatched data rows where fix attempts failed in the target database.
resync_rows_succeeded
instance-attribute
¶
resync_rows_succeeded: NotRequired[LongOptional]
Records the total number of mismatched data rows where fixes were successfully applied in the target database.
resync_state
instance-attribute
¶
resync_state: NotRequired[String]
Records the current state of table resynchronization in the migration task.
This parameter can have the following values:
-
Not enabled – Resync is not enabled for the table in the migration task.
-
Pending – The tables are waiting for resync.
-
In progress – Resync in progress for some records in the table.
-
No primary key – The table could not be resynced because it has no primary key.
-
Last resync at:
date/time– Resync session is finished at time. Time provided in UTC format.
table_state
instance-attribute
¶
table_state: NotRequired[String]
The state of the tables described.
Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table is being reloaded
validation_failed_records
instance-attribute
¶
validation_failed_records: Long
The number of records that failed validation.
validation_pending_records
instance-attribute
¶
validation_pending_records: Long
The number of records that have yet to be validated.
validation_state
instance-attribute
¶
validation_state: NotRequired[String]
The validation state of the table.
This parameter can have the following values:
-
Not enabled – Validation isn't enabled for the table in the migration task.
-
Pending records – Some records in the table are waiting for validation.
-
Mismatched records – Some records in the table don't match between the source and target.
-
Suspended records – Some records in the table couldn't be validated.
-
No primary key –The table couldn't be validated because it has no primary key.
-
Table error – The table wasn't validated because it's in an error state and some data wasn't migrated.
-
Validated – All rows in the table are validated. If the table is updated, the status can change from Validated.
-
Error – The table couldn't be validated because of an unexpected error.
-
Pending validation – The table is waiting validation.
-
Preparing table – Preparing the table enabled in the migration task for validation.
-
Pending revalidation – All rows in the table are pending validation after the table was updated.