Scope
- Provide technical information on the data model.
- Users can use this information to create their own reports from the data model.
Standard Data Model
Inventory Tables
- The following tables are managed by reporting inventory jobs that create an inventory of existing jobs, job chains and orders.
- Records are overwritten by each run of the reporting inventory jobs.
Fact Tables
- 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.
Aggregation Tables
- The following tables contain aggregations for
- job steps per order
- triggers and executions per day, week, month, quarter, year
Mapping Tables
- The following tables are used for the mapping of report data. Users can add individual records that are used for the mapping of results in individual reports:
- Mapping of start causes for jobs
- Contents in these tables is optional, however, their existence is required.
- Sample content: report_map_insert.sql
Customization
- The standard data model can be customized by use of additional tables and procedures.
- Such tables are not required by the JobScheduler Reporting Interface.
Sample Custom Tables
- The following tables implement samples for the customization of reports:
- Assigning applications to jobs
- Assigning mandators to jobs
- Samples are presented for instructional use only.
Assigning Applications to Jobs
- Should a report present information on a number of jobs that are used for the same application then the following tables could be used:
Application Master Data
Application Joins to Jobs
Assigning Mandators to Jobs
Mandator Master Data
Mandator Joins to Jobs
Sample Custom Procedures
- For most DBMS it is recommended to use views or procedures in order to speed up queries by pre-compiled statements.
- The following procedures implement the use of the above custom tables for reporting results that are aggregated per application and mandator.
Report about Installed Objects
- The standard procedure is improved to map installed objects to applications and mandators.