Community
Participate
Working Groups
During the nightly regression test preparation the step "delete all projects from database" took 9h instead of (as normally) 3,5h. (s. the attached log files)
Created attachment 188033 [details] 9h deletion
This problem re-occured during the latest nightly regression tests.
Restarted the hung DB instance. Removed test result (details) from DB using SQL. "delete all projects from database" took about 10 minutes afterwards.
The problem reoccurred in the nightly build today. Deleting all projects took 7,5 hours.
Also today the deletion of all projects took more than 8 hours.
Tonight the deletion of all projects took over 13 hours.
Please look into this issue. I have added indices to PARAMETER_LIST and TESTRESULT the tables, obvious with no (positive) effect.
I have dropped the index on PARAMETER_LIST for column IDX and added an index on PARAMETER_LIST for column CHILD. That should solve the problem temporarily, as full table scans can be avoided now when deleting one or more Parameter Details (PARAMETER_LIST has a FK to PARAMETER_DETAILS). In the performance tests that I performed locally the results were very good, deleting about 260,000 Parameter Details in under one minute. This a temporary solution: I've added the index directly to the table, rather than generating it via ORM configuration. For this we will need to use a newer version of EclipseLink that supports the @Index annotation.
The added index greatly reduced the deletion time. I have updated Jubula's target platform definition for EclipseLink from 2.1 to 2.2 in order to allow use of the @Index annotation. I have also added the @Index annotation so that tables generated by EclipseLink will have the necessary indexes. I pushed these changes to the repository this morning, so they should be included starting with version 0.9.0.201102150428.
Deletion of projects is much faster now. In the nightly tests it took just 8 minutes.