Data Logistics Register¶
The Data Logistics Register stores operational metadata about loading data between the different interfaces. It is closely related to the delivery register and it provides auditing information on entities on row level.
Access to metadata¶
To retrieve the current state of each element, i.e., all the metadata related to that element, you can use the i-refactory REST API or the views available in the Data Logistics Register.
Interface update¶
Every delivery can update one or more interfaces. For batch deliveries, this means updating from the Technical Staging all the way towards the Generic Data Access Layer. For CRUD deliveries, that means from the Generic Data Access Layer to the Central Fact Layer.
View: [acm_datalog].[interface_update]
id: iddelivery_id: delivery idinterface_mapping_id: this is shows which is the source an target interface. It needs to be joined with the id of[acm_datadefmap].[interface_mapping]status_code: the status of the updating the interface
Entity update¶
View: [acm_datalog].[entity_update]
id: this id found asacm_audit_idwhen querying an entityinterface_update_id: interface update identity_mapping_id:load_type_code:DLorFLfor Delta and Full loadexecuted_update_script: provides the SQL code executed when is availablerows_before: count before loadingrows_after: count after loadingstatus_code:SCHEDULED,FAILED,IDLE,PROCESSINGandSUCCEEDEDstart_dt: start timeend_dt: end timemessage_nbr: provides number type of messagemessage_text: provides information on entity updates and error messages
Task Run¶
The task run stores all the actions performed in a delivery. For each task run, we can see its parent task run (if any), the status, the entity that was updated, its type, description as well the code executed.
View: [acm_datalog].[task_run]
id: task run iduuid: universally unique identifier of task rundelivery_id: delivery idtask_run_id_parent: theidof the parent task run (if exists)ordinal_nbr: the sequence of executing task runs per deliverytype: type of task rundescription: description of taskcontext: refers to the architecture layer a task run belongs tostatus_code:SCHEDULED,FAILED,IDLE,PROCESSINGandSUCCEEDEDstart_dt: start timestamp of task runend_dt: end timestamp of task runentity_update_id: this can be found on the acm_audit_id on the entity
Task run dependency¶
By looking at the task run id, task_run_id_successor and task_run_id_predecessor, we can find the dependency between task runs.
View: [acm_datalog].[task_run_dependency]
id: Id of task run dependencytask_run_id_successor: the id of the task runtask_run_id_predecessor: the id of task run
Violated Record¶
View: [acm_datalog].[violated_record]
id: id of violated recorddelivery_id: delivery identity_id: the entity idrecord_nbr: line number of the violated recordrecord: log of the violated record
Violated Constraint¶
View: [acm_datalog].[violated_constraint]
id: idviolated_record_id: theidof the violated recordcontraint_id: the id of the constraint that is violated