Versions Compared

Key

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

...

Expand
titleREPORTING_TRIGGERS

Contains the informations about executed job chains and orders. 

FieldNullableData typeConstraintUnique ConstraintDescription
IDNOT NULLNUMERICPrimary Key  

SCHEDULER_ID

NOT NULL

VARCHAR

 

X

corresponds to SCHEDULER_ORDER_HISTORY.SPOOLER_ID

HISTORY_IDNOT NULLNUMERIC X

corresponds to SCHEDULER_ORDER_HISTORY.HISTORY_ID

NAMENOT NULLVARCHAR  

corresponds to SCHEDULER_ORDER_HISTORY.ORDER_ID

e.g. my_order for a given order path /test/my_jobchain,my_order.order.xml

TITLE VARCHAR  

order title

corresponds to INVENTORY_JOB_CHAIN_ORDERS.TITLE

PARENT_FOLDER
NOT NULLVARCHAR  

job chain folder 

e.g. /test for a given job chain path /test/my_jobchain.job_chain.xml

PARENT_NAMENOT NULLVARCHAR  

job chain name

corresponds to SCHEDULER_ORDER_HISTORY.JOB_CHAIN

e.g. /test/my_jobchain for a given job chain path /test/my_jobchain.job_chain.xml

PARENT_BASENAME VARCHAR  

job chain base name

e.g. my_jobchain for a given job chain path /test/my_jobchain.job_chain.xml

PARENT_TITLE VARCHAR  

job chain title

corresponds to INVENTORY_JOB_CHAINS.TITLE

STATE
 VARCHAR  

state of the order inside the job chain 

corresponds to SCHEDULER_ORDER_HISTORY.STATE

STATE_TEXT
 VARCHAR  

state text of the order

corresponds to SCHEDULER_ORDER_HISTORY.STATE_TEXT 

START_TIMENOT NULLDATETIME  

UTC timestamp of the start of the order

corresponds to SCHEDULER_ORDER_HISTORY.START_TIME

END_TIME DATETIME  

UTC timestamp of the end of the order

corresponds to SCHEDULER_ORDER_HISTORY.END_TIME

IS_RUNTIME_DEFINED
NOT NULLNUMERIC   specifies if a start time has been configured:
  • 1: yes
  • 0: no

corresponds to INVENTORY_ORDERS.IS_RUNTIME_DEFINED

RESULT_START_CAUSE
NOT NULLVARCHAR  

cause of the order start

  • order
  • file_trigger
  • ... 

corresponds to INVENTORY_JOB_CHAINS.START_CAUSE

RESULT_STEPS
NOT NULLNUMERIC  number of executed order steps 
RESULT_ERROR
NOT NULLNUMERIC  

specifies if an error occurred in the last executed order step:

  • 0: no error
  • 1: error
RESULT_ERROR_CODE
 VARCHAR  exception-code of the last executed order step error 
RESULT_ERROR_TEXT
 VARCHAR  exception-message of the last executed order step error  
SYNC_COMPLETEDNOT NULLNUMERIC  

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

  • 1: yes
  • 0: no
RESULTS_COMPLETEDNOT NULLNUMERIC  

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

Contains the informations about executed order steps. 

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

consecutive number of the order step

corresponds to SCHEDULER_ORDER_STEP_HISTORY.STEP

FOLDER
NOT NULLVARCHAR  

folder of the order step 

e.g. /test for a given job chain path /test/my_jobchain.job_chain.xml 

NAMENOT NULLVARCHAR  

job name of the order step

corresponds to SCHEDULER_HISTORY.JOB_NAME

e.g. /test/my_job

BASENAMENOT NULLVARCHAR  

job base name of the order step

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

TITLENULLVARCHAR  

job title of the order step

corresponds to INVENTORY_JOBS.TITLE

START_TIMENOT NULLDATETIME  

UTC timestamp of the start of the order step

corresponds to SCHEDULER_ORDER_STEP_HISTORY.START_TIME

END_TIMENULLDATETIME  

UTC timestamp of the end of the order step

corresponds to SCHEDULER_ORDER_STEP_HISTORY.END_TIME

STATENOT NULLVARCHAR  

state of the order inside the job chain

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 REPORTING_MAP_CAUSES

corresponds to SCHEDULER_HISTORY.CAUSE

EXIT_CODE
NOT NULLNUMERIC  corresponds to SCHEDULER_HISTORY.EXIT_CODE
ERRORNOT NULLNUMERIC  

specifies if an error occurred:

  • 0: no error
  • 1: error

corresponds to SCHEDULER_ORDER_STEP_HISTORY.ERROR

ERROR_CODENULLVARCHAR  

exception-code of the order step error

corresponds to SCHEDULER_ORDER_STEP_HISTORY.ERROR_CODE

ERROR_TEXTNULLVARCHAR  

exception-message of the order step error

corresponds to SCHEDULER_ORDER_STEP_HISTORY.ERROR_TEXT

AGENT_URL
 VARCHAR  

agent url

corresponds to SCHEDULER_HISTORY.AGENT_URL

IS_RUNTIME_DEFINEDNOT NULLNUMERIC  

specifies if a start time has been configured:

  • 1: yes
  • 0: no

corresponds to INVENTORY_JOBS.IS_RUNTIME_DEFINED

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  UTC timestamp of record creation
MODIFIEDNOT NULLDATETIME  UTC timestamp of record modification

...

Expand
titleREPORTING_TASKS

Contains the informations about executed job 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  

cause for execution of the task:

  • 1: order task
  • 0: standalone task
CLUSTER_MEMBER_ID
 VARCHAR  corresponds to SCHEDULER_HISTORY.CLUSTER_MEMBER_ID
STEPSNOT NULLNUMERIC  

number of steps --> calls to spooler_process()

corresponds to SCHEDULER_HISTORY.STEPS

FOLDER
NOT NULLVARCHAR  

job folder 

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

NAMENOT NULLVARCHAR  

job name

corresponds to SCHEDULER_HISTORY.JOB_NAME

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

BASENAMENOT NULLVARCHAR  

job base name

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

TITLENULLVARCHAR  

job title

corresponds to INVENTORY_JOBS.TITLE

START_TIMENOT NULLDATETIME  

UTC timestamp of the task start

corresponds to SCHEDULER_HISTORY.START_TIME

END_TIMENULLDATETIME  

UTC timestamp of the task end

corresponds to SCHEDULER_HISTORY.END_TIME

CAUSENOT NULLVARCHAR  

cause of the task start

e.g. :

  • none
  • period_once
  • period_single
  • period_repeat
  • job_repeat
  • queue
  • queue_at
  • directory
  • signal
  • delay_after_error

corresponds to SCHEDULER_HISTORY.CAUSE

EXIT_CODE
NOT NULLNUMERIC  corresponds to SCHEDULER_HISTORY.EXIT_CODE
ERRORNOT NULLNUMERIC  

specifies if an error occurred:

  • 0: no error
  • 1: error
ERROR_CODENULLVARCHAR  exception-code of the task error
ERROR_TEXTNULLVARCHAR  exception-message of the task error
AGENT_URL
 VARCHAR  

agen url

corresponds to SCHEDULER_HISTORY.AGENT_URL

IS_RUNTIME_DEFINEDNOT NULLNUMERIC  

specifies if a start time has been configured:

  • 1: yes
  • 0: no

corresponds to INVENTORY_JOBS.IS_RUNTIME_DEFINED

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  UTC timestamp of record creation
MODIFIEDNOT NULLDATETIME  UTC timestamp of record modification

...

  • SELECT <fields> FROM REPORT_EXECUTION_SUMMARY('2017-05-01','2017-06-01');
    • following fields can be selected:
      • ID
      • SCHEDULER_ID
      • HOSTNAME
      • AGENT_URL
      • JOB_CHAIN
      • JOB_CHAIN_BASENAME
      • JOB_CHAIN_TITLE
      • JOB_NAME
      • JOB_BASENAME
      • JOB_TITLE
      • CAUSE
      • IS_ACTIVE_CALENDAR
      • START_TIME
      • END_TIME
      • START_DATE
      • END_DATE