Versions Compared

Key

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

...

Expand
titleINVENTORY_AGENT_CLUSTERMEMBERS
FieldNullableData typeConstraintUnique Constraint Description
IDNOT NULLNUMERICPrimary Key  
INSTANCE_IDNOT NULLNUMERICForeign Key  X

references INVENTORY_INSTANCES.ID

AGENT_CLUSTER_ID
NOT NULLNUMERICForeign Key  X

references INVENTORY_AGENT_CLUSTERS.ID

AGENT_INSTANCE_ID
NOT NULLNUMERICForeign Key  X

references INVENTORY_AGENT_INSTANCES.ID

URL
NOT NULLVARCHAR  agent url
ORDERING 
NOT NULL NUMERIC    
CREATEDNOT NULLDATETIME  UTC timestamp of record creation
MODIFIEDNOT NULLDATETIME  UTC timestamp of record modification
Expand
titleINVENTORY_AGENT_CLUSTERS
FieldNullableData typeConstraintUnique Constraint Description
IDNOT NULLNUMERICPrimary Key  
INSTANCE_IDNOT NULLNUMERICForeign Key 

references INVENTORY_INSTANCES.ID

PROCESS_CLASS_ID
NOT NULLNUMERICForeign Key  X

references INVENTORY_PROCESS_CLASSES.ID

SCHEDULING_TYPE
NOT NULLVARCHAR  

 

NUMBER_OF_AGENTS
NOT NULLNUMERIC   
CREATEDNOT NULLDATETIME  UTC timestamp of record creation
MODIFIEDNOT NULLDATETIME  UTC timestamp of record modification
Expand
titleINVENTORY_AGENT_INSTANCES
FieldNullableData typeConstraintUnique Constraint Description
IDNOT NULLNUMERICPrimary Key  
INSTANCE_IDNOT NULLNUMERICForeign Key  X

references INVENTORY_INSTANCES.ID

OS_ID
NOT NULLNUMERICForeign Key 

references INVENTORY_OPERATING_SYSTEMS.ID

HOSTNAME
NOT NULLVARCHAR  

 

VERSION
NOT NULLVARCHAR   
URL
 VARCHAR   X 
STATE
 NUMERIC    
STARTED_AT
 DATETIME    
CREATEDNOT NULLDATETIME  UTC timestamp of record creation
MODIFIEDNOT NULLDATETIME  UTC timestamp of record modification
Expand
titleINVENTORY_APPLIED_LOCKS
FieldNullableData typeConstraintUnique Constraint Description
IDNOT NULLNUMERICPrimary Key  
JOB_IDNOT NULLNUMERICForeign Key  X

references INVENTORY_JOBS.ID

LOCK_ID
NOT NULLNUMERICForeign Key X

references INVENTORY_LOCKS.ID

CREATEDNOT NULLDATETIME  UTC timestamp of record creation
MODIFIEDNOT NULLDATETIME  UTC timestamp of record modification

  

Expand
titleINVENTORY_INSTANCESFILES
HOSTNAMELIVE_DIRECTORY of the
FieldNullableData typeConstraintUnique ConstraintDescription
IDNOT NULLNUMERICPrimary Key  
SCHEDULERINSTANCE_IDNOT NULLVARCHAR corresponds to the SCHEDULER_ID that is specified during installation of the JobScheduler instanceNUMERICForeign Key X

references INVENTORY_INSTANCES.ID

FILE_TYPENOT NULLVARCHAR host on which the JobScheduler instance has been installed
PORTNOT NULLNUMERIC 

TCP port that the JobScheduler instance is listening to. Should not TCP port be specified then the UDP port is provided.

 

file types in use:

  • job
  • job_chain
  • order

file types not used:

  • process_class
  • config
  • lock
  • schedule
  • ...
FILE_NAMENOT NULLVARCHAR  X

path

from live directory

e.g. /test/my_job.job.xml

FILE_BASENAMECREATEDNOT NULLVARCHAR DATETIME timestamp of record creation

file base name with extension

e.g. my_job.job.xml

FILE_DIRECTORYMODIFIEDNOT NULLDATETIMEVARCHAR timestamp of record modification
Expand
titleINVENTORY_FILES
 

path calculated from the live directory

e.g. test

FILE_CREATEDNULLDATETIME  UTC timestamp of the creation date of the file
FILE_MODIFIEDNULLDATETIME  UTC timestamp of the modification date of the file
FILE_LOCAL_CREATEDNULLDATETIME  local timestamp of the creation date of the file
FILE_LOCAL_MODIFIEDNULLDATETIME  local timestamp of the modification date of the file
CREATEDNOT NULLDATETIME  UTC timestamp of record creation
MODIFIEDNOT NULLDATETIME  UTC timestamp of record modification

  

Expand
titleINVENTORY_INSTANCES
FieldNullableData typeConstraintUnique ConstraintDescription
IDNOT NULLNUMERICPrimary Key  
OS_ID 
NOT NULL NUMERIC Foreign Key  

references INVENTORY_OPERATING_SYSTEMS.ID 

SCHEDULER_IDNOT NULLVARCHAR  Xcorresponds to the SCHEDULER_ID that is specified during installation of the JobScheduler instance
HOSTNAMENOT NULLVARCHAR  Xhost on which the JobScheduler instance has been installed
PORTNOT NULLNUMERIC  X

TCP port that the JobScheduler instance is listening to. Should not TCP port be specified then the UDP port is provided.

LIVE_DIRECTORYNOT NULLVARCHAR  path of the live directory
VERSION
NOT NULL VARCHAR    
COMMAND_URL 
NOT NULLVARCHAR   
URL 
NOT NULLVARCHAR   
TIMEZONE
NOT NULLVARCHAR   
CLUSTER_TYPE
NOT NULLVARCHAR   
PRECEDENCE
 NUMERIC   
DBMS_NAME
NOT NULLVARCHAR   
DBMS_VERSION
 VARCHAR    
STARTED_AT
 DATETIME    
SUPERVISOR_ID
 NUMERIC    
AUTH
 VARCHAR    
CREATEDNOT NULLDATETIME  UTC timestamp of record creation
MODIFIEDNOT NULLDATETIME  UTC timestamp of record modification
Expand
titleINVENTORY_JOB_CHAIN_NODES
FILEpath from test/my_job.job.xml
FieldNullableData typeConstraintDescription
IDNOT NULLNUMERICPrimary Key 
INSTANCE_IDNOT NULLNUMERICForeign Key

references INVENTORY_INSTANCES.ID

JOB_ID 
NOT NULL NUMERIC Foreign Key references INVENTORY_JOBS.ID 
JOB_CHAIN_IDNOT NULLNUMERICForeign Keyreferences INVENTORY_JOB_CHAINS.ID
NESTED_JOB_CHAIN_ID 
NOT NULL NUMERIC Foreign Key references INVENTORY_JOB_CHAINS.ID 
NAMENOT NULLVARCHAR 

job node name:

  • file_order_source
  • job_chain_node
  • file_order_sink
ORDERINGNOT NULLNUMERIC ordering of node in job chain

STATE

 VARCHAR job node state as specified in the configuration
NEXT_STATE VARCHAR next state for an order in case of successful execution
ERROR_STATE VARCHAR error state for an order in case of unsuccessful execution
JOB VARCHAR 

job name as specified in the job node configuration

e.g. ../my_job

JOB
FieldNullableData typeConstraintDescription
IDNOT NULLNUMERICPrimary Key 
INSTANCE_IDNOT NULLNUMERICForeign Key

references INVENTORY_INSTANCES.ID

FILE_TYPENOT NULLVARCHAR 

file types in use:

  • job
  • job_chain
  • order

file types not used:

  • process_class
  • config
  • lock
  • schedule
  • ...
_NAMENOT NULLVARCHAR Foreign Key

corresponds to INVENTORY_JOBS.NAME. Paths are resolved to absolute values starting from the live directory

e.g.

FILE_BASENAMENOT NULLVARCHAR 

file base name with extension

e.g. my_job.job.xml

FILE_DIRECTORYNOT NULLVARCHAR 

path calculated from the live directory

e.g. test

FILE_CREATEDNULLDATETIME UTC timestamp of the creation date of the file
FILE_MODIFIEDNULLDATETIME UTC timestamp of the modification date of the file
FILE_LOCAL_CREATEDNULLDATETIME local timestamp of the creation date of the file

/test/my_job

NESTED_JOB_CHAIN
 VARCHAR   
NESTED_JOB_CHAIN_NAME
NOT NULL VARCHAR Foreign Key corresponds to INVENTORY_JOB_CHAINS.NAME 
NODE_TYPE 
NOT NULL NUMERIC   
ON_ERROR 
 VARCHAR   
DELAY 
 NUMERIC   
DIRECTORY 
 VARCHAR    
REGEX 
 VARCHAR   
FILE_SINK_OP 
 NUMERIC  
MOVE_PATH 
 VARCHAR   FILE_LOCAL_MODIFIEDNULLDATETIME local timestamp of the modification date of the file
CREATEDNOT NULLDATETIME timestamp of record creation
MODIFIEDNOT NULLDATETIME timestamp of record modification

 

 

 

Expand
titleINVENTORY_JOBS
FieldNullableData typeConstraintDescription
IDNOT NULLNUMERICPrimary Key 
INSTANCE_IDNOT NULLNUMERICForeign Key

references INVENTORY_INSTANCES.ID

used for simplified clean-up

FILE_IDNOT NULLNUMERICForeign Keyreferences INVENTORY_FILES.ID
NAMENOT NULLVARCHAR 

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

IS_ORDER_JOB

NOT NULLNUMERIC 

specifies if this job is part of a job chain:

  • 1: yes
  • 0: no

IS_RUNTIME_DEFINED

 

NOT NULLNUMERIC 

specifies if a start time has been configured:

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

...

Expand
titleREPORT_EXECUTION_SUMMARY
CREATE OR REPLACE FUNCTION REPORT_EXECUTION_SUMMARY(start_date DATE, end_date DATE) RETURNS TABLE ( 
"ID" BIGINT,
"SCHEDULER_ID" VARCHAR(100),
"HOSTNAME" VARCHAR(255),
"JOB_CHAIN" VARCHAR(255),
"JOB_NAME" VARCHAR(255),
"JOB_BASENAME" VARCHAR(100),
"JOB_CHAIN_BASENAME" VARCHAR(100),
"JOB_TITLE" VARCHAR(255),
"JOB_CHAIN_TITLE" VARCHAR(255),
"CAUSE" VARCHAR(100),
"IS_ACTIVE_CALENDAR" INT,
"START_TIME" TIMESTAMP,
"END_TIME" TIMESTAMP,
"START_DATE" DATE,
"END_DATE" DATE
)