m (1 revision imported: Iteration 7 schema updates) |
m (1 revision imported: Iteration 7 schema updates) |
||
Line 3: | Line 3: | ||
<onlyinclude> | <onlyinclude> | ||
− | + | {{PDMView | |
− | + | |viewName = ADMIN_ETL_JOB_STATUS | |
− | + | |shortDesc = | |
− | + | |viewDesc = This view provides information about the most recent execution of each ETL job. A row is added to this view after each ETL job starts and is updated as the job status changes. | |
− | + | |introduced = | |
− | + | |SQL = <source lang="xml" enclose="div">select | |
− | + | MAX(JOB_ID) as JOB_ID, | |
− | + | JOB_NAME, | |
− | + | MAX(JOB_VERSION) as JOB_VERSION, | |
− | + | MIN(START_TIME) as START_TIME, | |
− | + | CASE | |
− | + | WHEN MIN(START_TIME) < MAX(END_TIME) | |
− | + | THEN MAX(END_TIME) | |
− | + | ELSE NULL | |
− | + | END as END_TIME, | |
− | + | CASE | |
− | + | WHEN MIN(START_TIME) < MAX(END_TIME) | |
− | + | THEN DATEDIFF(SECOND,MIN(START_TIME),MAX(END_TIME)) | |
− | + | ELSE NULL | |
− | + | END as DURATION, | |
− | + | MAX(STATUS) as STATUS | |
− | + | from | |
− | + | CTL_WORKFLOW_STATUS | |
− | + | where | |
− | + | STATUS NOT IN ('NOT_CONFIGURED','INSTALLED') | |
− | + | AND JOB_ID in (select MAX(JOB_ID) from CTL_WORKFLOW_STATUS group by JOB_NAME) | |
− | + | group by | |
− | + | JOB_NAME | |
− | + | </source> | |
− | + | }} | |
− | + | ||
− | + | {{PDMViewColumn | |
− | + | |colName = JOB_ID | |
− | + | |colDesc = ID that uniquely identifies the execution instance of the job. | |
− | + | }} | |
− | + | ||
− | + | {{PDMViewColumn | |
− | + | |colName = JOB_NAME | |
− | + | |colDesc = The name of the job, such as Job_ExtractICON. | |
− | + | }} | |
− | + | ||
− | + | {{PDMViewColumn | |
− | + | |colName = JOB_VERSION | |
− | + | |colDesc = The version of the job, such as 8.1.000.10. | |
− | + | }} | |
− | + | ||
− | + | {{PDMViewColumn | |
− | + | |colName = START_TIME | |
− | + | |colDesc = The date and time at which the first step started (UTC time zone). | |
− | + | }} | |
− | + | ||
− | + | {{PDMViewColumn | |
− | + | |colName = END_TIME | |
− | + | |colDesc = The date and time at which the last step ended (UTC time zone). | |
− | + | }} | |
− | + | ||
− | + | {{PDMViewColumn | |
− | + | |colName = DURATION | |
− | + | |colDesc = The duration of the job, in seconds. | |
− | + | }} | |
− | + | ||
− | + | {{PDMViewColumn | |
− | + | |colName = STATUS | |
− | + | |colDesc = The status of the step, such as COMPLETE or FAILED. | |
− | + | }} | |
</onlyinclude> | </onlyinclude> | ||
[[Category:V:GIM:8.5DRAFT]] | [[Category:V:GIM:8.5DRAFT]] |
Revision as of 10:15, August 31, 2017
View ADMIN_ETL_JOB_STATUS
Description
This view provides information about the most recent execution of each ETL job. A row is added to this view after each ETL job starts and is updated as the job status changes.
Column List
Column | Description |
---|---|
JOB_ID | ID that uniquely identifies the execution instance of the job. |
JOB_NAME | The name of the job, such as Job_ExtractICON. |
JOB_VERSION | The version of the job, such as 8.1.000.10. |
START_TIME | The date and time at which the first step started (UTC time zone). |
END_TIME | The date and time at which the last step ended (UTC time zone). |
DURATION | The duration of the job, in seconds. |
STATUS | The status of the step, such as COMPLETE or FAILED. |
References
The summary List of References will include the following entries for this table or view:
There are no references from this table/view.
Comments or questions about this documentation? Contact us for support!