Skip to content
Partner Developer Portal

Definition

This table captures information about execution of the ETL process on a particular date/time with a unique ID associated to each run. The status of the extract run is related to the statuses as mentioned above.

This table should be used to:

  • Monitor the status of the extract after it has initiated
  • Evaluate the time it’s taken to run the extract
Scenario Encountered Info in the logging tables
Need information on the status of the ETL before I start verifying the data in EMISInsights DB Check for entry in ‘extract_run’ table. There should be a unique entry for the ETL with the date time stamp & the ETL status. To check for ETL status ID, check ‘internal.status’ table
Need information on time it took for ETL to run Check for entry in ‘extract_run’ table. Make a note of start & end date time for a particular ETL run
SELECT
id,
start_datetime,
end_datetime,
status_id
FROM internal.extract_run
ORDER BY start_datetime DESC;
SELECT
status_id,
COUNT(*) AS run_count
FROM internal.extract_run
GROUP BY status_id
ORDER BY status_id;