Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The following tables are used to collect facts from the JobScheduler history.
  • No standalone jobs are given. Fact tables contain job chain starts exclusively.
  • These tables can be used to create individual reports.
  • SQL Scripts

 

Expand
titleREPORTREPORTING_TRIGGERS
FieldNullableData typeConstraintUnique ConstraintDescription
IDNOT NULLNUMERICPrimary Key  

SCHEDULER_ID

NOT NULL

VARCHAR

 

X

corresponds to SCHEDULER_ORDER_HISTORY.SCHEDULERSPOOLER_ID

HISTORY_IDNOT NULLNUMERIC X

corresponds to SCHEDULER_ORDER_HISTORY.HISTORY_ID

NAMENOT NULLVARCHAR  

corresponds to SCHEDULER_ORDER_HISTORY.ORDER_ID

TITLENULL VARCHAR  

order title

corresponds to INVENTORY_JOB_CHAIN_ORDERS.TITLE

PARENT_FOLDER
NOT NULLVARCHAR   
PARENT_NAMENOT NULLVARCHAR  

corresponds to SCHEDULER_ORDER_HISTORY.JOB_CHAIN

PARENT_BASENAMENULL VARCHAR  job chain base name
PARENT_TITLENULL VARCHAR  

corresponds to INVENTORY_JOB_CHAINS.TITLE

START_TIMENOT NULL
STATE
 VARCHAR DATETIME corresponds to 
STATE_TEXT
 VARCHAR   
START_TIMENOT NULLDATETIME  

corresponds to SCHEDULER_ORDER_HISTORY.START_TIME

SCHEDULER_ORDER_HISTORY.START_TIMEEND_TIMENULL DATETIME  

corresponds to SCHEDULER_ORDER_HISTORY.END_TIME

SYNC
IS_RUNTIME_
COMPLETED
DEFINED
NOT NULLNUMERIC 

for use by the JobScheduler Reporting Interface jobs only:
specifies if a synchronization has been configured and has been completed successfully:

  • 1: yes
  • 0: no
  
RESULT_START_CAUSE
RESULTS_COMPLETED
NOT NULLNUMERICVARCHAR   
RESULT_STEPS

for use by the JobScheduler Reporting Interface jobs only:
specifies if all job nodes have been completed successfully:

  • 1: yes
  • 0: no
CREATED
NOT NULLNUMERICDATETIME   
RESULT_ERROR
timestamp of record creationMODIFIED
NOT NULLDATETIMENUMERIC timestamp of record modification
Expand
titleREPORT_EXECUTIONS
  
RESULT_ERROR_CODE
 VARCHAR   
RESULT_ERROR_TEXT
 VARCHAR   
SYNC_COMPLETED
FieldNullableData typeConstraintDescription
IDNOT NULLNUMERICPrimary Key 
SCHEDULER_ID NOT NULLNUMERIC corresponds to SCHEDULER_ORDER_HISTORY.SCHEDULER_ID
HISTORY_IDNOT NULLNUMERIC corresponds to SCHEDULER_ORDER_HISTORY.HISTORY_ID

for use by the JobScheduler Reporting Interface only:
specifies if a synchronization has been completed:

  • 1: yes
  • 0: no
RESULTS_COMPLETEDTRIGGER_IDNOT NULLNUMERIC Foreign Keyreferences REPORT_TRIGGERS.ID 

for use by the JobScheduler Reporting Interface only:
specifies if a aggregation has been completed:

  • 1: yes
  • 0: no
CREATEDNOT NULLDATETIME  UTC timestamp of record creation
MODIFIEDNOT NULLDATETIME  UTC timestamp of record modification
Expand
titleREPORTING_EXECUTIONS
FieldNullableData typeConstraintUnique ConstraintDescription
IDNOT NULLNUMERICPrimary Key  
SCHEDULER_ID NOT NULLNUMERIC Xcorresponds to SCHEDULER_ORDER_HISTORY.SPOOLER_ID
HISTORY_IDNOT NULLNUMERIC Xcorresponds to SCHEDULER_ORDER_HISTORY.HISTORY_ID
TRIGGER_IDNOT NULLNUMERICForeign KeyXreferences REPORT_TRIGGERS.ID
TASK_ID
NOT NULLNUMERICForeign Key references REPORT_TASKS.ID
CLUSTER_MEMBER_ID
 VARCHAR  corresponds to SCHEDULER_HISTORY.CLUSTER_MEMBER_ID
STEPNOT NULLNUMERIC X

corresponds to SCHEDULER_ORDER_STEP_HISTORY.STEP

FOLDER
NOT NULLVARCHAR   
NAMENOT NULLVARCHAR  

corresponds to SCHEDULER_HISTORY.JOB_NAME

e.g. /test/my_job

BASENAMENOT NULLVARCHAR  

job base name

e.g. my_job, for a given job path test/my_job.job.xml

TITLENULLVARCHAR  corresponds to INVENTORY_JOBS.TITLE
START_TIMENOT NULLDATETIME  

corresponds to SCHEDULER_ORDER_STEP_HISTORY.START_TIME

END_TIMENULLDATETIME  

corresponds to SCHEDULER_ORDER_STEP_HISTORY.END_TIME

STATENOT NULLVARCHAR  

corresponds to SCHEDULER_ORDER_STEP_HISTORY.STATE

CAUSENOT NULLVARCHAR  start cause for execution, can be mapped to an individual start cause by use of table REPORT_MAP_CAUSES
EXIT_CODE
NOT NULLNUMERIC  corresponds to SCHEDULER_HISTORY.EXIT_CODE
ERRORNOT NULLNUMERIC  

specifies if an error occurred:

  • 0: no error
  • 1: error
ERROR_CODENULLVARCHAR  JobScheduler error code
ERROR_TEXTNULLVARCHAR  error message
AGENT_URL
 VARCHAR  

corresponds to SCHEDULER_HISTORY.AGENT_URL

IS_RUNTIME_DEFINEDNOT NULLNUMERIC  

specifies if a start time has been configured:

  • 1: yes
  • 0: no
SYNC_COMPLETED
NOT NULLNUMERIC  

for use by the JobScheduler Reporting Interface only:
specifies if a synchronization has been completed:

  • 1: yes
  • 0: no
RESULTS_COMPLETED
NOT NULLNUMERIC  

for use by the JobScheduler Reporting Interface only:
specifies if a aggregation has been completed:

  • 1: yes
  • 0: no
CREATEDNOT NULLDATETIME  timestamp of record creation
MODIFIEDNOT NULLDATETIME  timestamp of record modification

 

Expand
titleREPORTING_TASKS
FieldNullableData typeConstraintUnique ConstraintDescription
IDNOT NULLNUMERICPrimary Key  
SCHEDULER_ID NOT NULLNUMERIC  Xcorresponds to SCHEDULER_HISTORY.SPOOLER_ID
HISTORY_IDNOT NULLNUMERIC  Xcorresponds to SCHEDULER_HISTORY.ID
IS_ORDER
NOT NULLNUMERIC   
CLUSTER_MEMBER_ID
 VARCHAR  corresponds to SCHEDULER_HISTORY.CLUSTER_MEMBER_ID
STEPSNOT NULLNUMERIC  

corresponds to SCHEDULER_HISTORY.STEPS

FOLDER
NOT NULLVARCHAR   
NAMENOT NULLVARCHAR  

corresponds to SCHEDULER_HISTORY.JOB_NAME

e.g. /test/my_job

BASENAMENOT NULLVARCHAR  

job base name

e.g. my_job, for a given job path test/my_job.job.xml

TITLENULLVARCHAR  corresponds to INVENTORY_JOBS.TITLE
START_TIMENOT NULLDATETIME  

corresponds to SCHEDULER_HISTORY.START_TIME

END_TIMENULLDATETIME 
STEPNOT NULLNUMERIC 

corresponds to SCHEDULER_ORDER_STEP_HISTORY.STEP

NAMENOT NULLVARCHAR 

corresponds to SCHEDULER_HISTORY.JOBEND_NAME

e.g. test/my_job

TIME

CAUSEBASENAMENOT NULLVARCHAR 

job base name

e.g. my_job, for a given job path test/my_job.job.xml

 

corresponds to SCHEDULER_HISTORY.CAUSE

start cause for execution, can be mapped to an individual start cause by use of table REPORT_MAP_CAUSES

EXIT_CODE
NOT NULLNUMERIC TITLENULLVARCHAR corresponds to INVENTORYSCHEDULER_JOBSHISTORY.TITLEEXIT_CODE
ERRORSTART_TIMENOT NULLNUMERIC DATETIME 

corresponds to SCHEDULER_ORDER_STEP_HISTORY.START_TIME

END_TIMENULLDATETIME 

corresponds to SCHEDULER_ORDER_STEP_HISTORY.END_TIME

STATENOT NULLVARCHAR 

corresponds to SCHEDULER_ORDER_STEP_HISTORY.STATE

CAUSENOT NULLVARCHAR start cause for execution, can be mapped to an individual start cause by use of table REPORT_MAP_CAUSES
ERRORNOT NULLNUMERIC 

specifies if an error occurred:

  • 0: no error
  • 1: error
ERROR_CODENULLVARCHAR JobScheduler error code
ERROR_TEXTNULLVARCHAR error message

specifies if an error occurred:

  • 0: no error
  • 1: error
ERROR_CODENULLVARCHAR  JobScheduler error code
ERROR_TEXTNULLVARCHAR  error message
AGENT_URL
 VARCHAR   corresponds to SCHEDULER_HISTORY.AGENT_URL
IS_RUNTIME_DEFINEDNOT NULLNUMERIC  

specifies if a start time has been configured:

  • 1: yes
  • 0: no
SYNC_COMPLETED
NOT NULLNUMERIC  

for use by the JobScheduler Reporting Interface only:
specifies if a synchronization has been completed:

  • 1: yes
  • 0: no
RESULTS_COMPLETED
IS_RUNTIME_DEFINED
NOT NULLNUMERIC  

for use by the JobScheduler Reporting Interface only:
specifies if a start time aggregation has been configuredcompleted:

  • 1: yes
  • 0: no
CREATEDNOT NULLDATETIME  timestamp of record creation
MODIFIEDNOT NULLDATETIME  timestamp of record modification

...