Taverna 2

Deletion is inefficient and blocks shutdown

Details

Description

Deletion of data at shutdown seems to be very inefficient. It takes a surprisingly long time.

Issue Links

Activity

Hide
Stian Soiland-Reyes added a comment - 2010-03-11 12:34


Except for constant re-construction of ProvenanceAccess and it's spring/database connections (which was fixed), the other most inefficient finding was that Reference Manager deletion done by the DAO objects are done using a select and then a hibernate deleteAll. Attempted to change this to a more SQL-like DELETE FROM statement, which was more efficient, but which failed with db integrity exceptions on Lists due to Hibernate not cascading the delete correctly to also delete the ListContents.

Show
Stian Soiland-Reyes added a comment - 2010-03-11 12:34 Except for constant re-construction of ProvenanceAccess and it's spring/database connections (which was fixed), the other most inefficient finding was that Reference Manager deletion done by the DAO objects are done using a select and then a hibernate deleteAll. Attempted to change this to a more SQL-like DELETE FROM statement, which was more efficient, but which failed with db integrity exceptions on Lists due to Hibernate not cascading the delete correctly to also delete the ListContents.
Hide
Alan Williams added a comment - 2010-03-31 11:14

No longer blocks

Show
Alan Williams added a comment - 2010-03-31 11:14 No longer blocks

People

Vote (0)
Watch (0)

Dates

  • Created:
    2010-02-01 10:01
    Updated:
    2010-09-07 11:38
    Resolved:
    2010-03-11 12:44

Time Tracking

Estimated:
Not Specified
Original Estimate - Not Specified
Remaining:
0m
Remaining Estimate - 0 minutes
Logged:
1d
Time Spent - 1 day