Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
1.7.4
-
None
-
Jobscheduler version 1.8-RC1 /Oracle 12C /MS SQL Server 2008
Description
The job JobschedulerCleanup job deletes multiple records from the SCHEDULER_HISTORY, ORDER_HISTORY and other Jobscheduler tables.
The following behavior is observed:
- job compares the dates of records to be deleted in Java over Hibernate over filter
- job starts to many open transactions in Java code
- job does explicit commit in the delete method
- the time consumption of the delete operation can be improved using the following methods:
- replace hibernate with SQL statement, here the challenge is to find SQL statement compatible with all supported databases
- drop indexes and constrains
- set explicit session level transaction isolation level 1: READ UNCOMMITTED
- set hibernate property
<property name="hibernate.connection.isolation">1</property>
- setting transaction isolation level 1: READ UNCOMMITTED will ONLY work for the MySQL, MSSQL, for
1: READ UNCOMMITTED 2: READ COMMITTED 4: REPEATABLE READ 8: SERIALIZABLE
- Support status for Transaction Isolation Levels
Attachments
Issue Links
- is related to
-
JITL-292 Enable JobSchedulerCleanupHistory job to be executed from the command line
- Released