Scope
- Provide technical information on possible customizations of the data model.
- Users can use this information to create their own reports from the data model.
- SQL scripts in this article are provided for PostgreSQL. The SQL scrpts for the respective DBMS are provided by the JobScheduler installer.
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.
Custom Report on Installed Objects
Report about Executions
Custom Report on Execution Summary
Sample Excel Template
- Document: JobSchedulerReporting Customization.xlsx