...
- 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 ScriptsTables: inventory.sql
- SQL scripts in this article are provided for PostgreSQL. The SQL scrpts for the respective DBMS are provided by the JobScheduler installer.
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
...
- The following tables are used to collect facts from the JobScheduler history.
- These tables can be used to create individual reports.
- SQL ScriptsTables: reporting.sql
- SQL scripts in this article are provided for PostgreSQL. The SQL scrpts for the respective DBMS are provided by the JobScheduler installer.
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
...
- 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
- Sample Data: reporting_map_insert.sql
- SQL scripts in this article are provided for PostgreSQL. The SQL scrpts for the respective DBMS are provided by the JobScheduler installer.
- SQL scripts in this article are provided for PostgreSQL. The SQL scrpts for the respective DBMS are provided by the JobScheduler installer.
Expand | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
|
...
- SQL Scripts: reporting_cleanup_procedure.sql
Report
- SQL scripts in this article are provided for PostgreSQL. The SQL scrpts for the respective DBMS are provided by the JobScheduler installer.
Cleanup all entries
cleanup
all
entries (reporting
,dailyplan
,yade
)SELECT REPORT_CLEANUP('all',0);
following tables will be truncated:
REPORTING_TRIGGERS
REPORTING_EXECUTIONS
REPORTING_TASKS
REPORTING_EXECUTION_DATES
DAILY_PLAN
JADE_FILES
JADE_FILES_HISTORY
JADE_FILES_POSITIONS
cleanup only
reporting
entriesSELECT REPORT_CLEANUP('reporting',0);
- following tables will be truncated:
REPORTING_TRIGGERS
REPORTING_EXECUTIONS
REPORTING_TASKS
REPORTING_EXECUTION_DATES
- following tables will be truncated:
cleanup only
dailyplan
entriesSELECT REPORT_CLEANUP('dailyplan',0);
- following tables will be truncated
DAILY_PLAN
- following tables will be truncated
cleanup only
yade
entriesSELECT REPORT_CLEANUP('yade',0);
following tables will be truncated:
JADE_FILES
JADE_FILES_HISTORY
JADE_FILES_POSITIONS
Cleanup entries older as n days
Example - cleanup entries older as 14 days
- cleanup
all
entries (reporting
,dailyplan
,yade
)SELECT REPORT_CLEANUP('all',14);
- cleanup
reporting
entriesSELECT REPORT_CLEANUP('reporting',14);
- cleanup
entriesreporting
SELECT REPORT_CLEANUP('reporting',14);
- cleanup
entriesreporting
SELECT REPORT_CLEANUP('reporting',14)
Report
- 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: reporting_procedure.sql
- SQL scripts in this article are provided for PostgreSQL. The SQL scrpts for the respective DBMS are provided by the JobScheduler installer.
Report about Installed Objects
...
- Report about executions of jobs and job chains.