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
Standard Tables
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.
- SQL Scripts
- Tables: inventory.sql
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.
- SQL Scripts
- Tables: report.sql
Aggregation Tables
- The following tables contain aggregations for
- job steps per order
- triggers and executions per day, week, month, quarter, year
- SQL Scripts
- Tables: report.sql
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.
- SQL Scripts
- Tables: report.sql
- Sample Data: report_map_insert.sql
Standard 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 standard tables for reporting results.
- SQL Scripts
- Procedures: report_procedure.sql
Report about Installed Objects
- Report about jobs, job chains and orders as collected from disk.
Report about Execution Summary
- Report about executions of jobs and job chains.
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.
- SQL Scripts
- Tables: report_custom.sql
- Sample Data: report_custom_insert.sql
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.
- SQL Scripts
- Procedures: report_custom_procedure.sql
Report about Installed Objects
- The standard procedure is improved to map installed objects to applications and mandators.