-
-
Notifications
You must be signed in to change notification settings - Fork 489
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Harvester / Remove records by harvester UUID
When harvester contains lot of records, remove records take a while or could even return heapspace errors. Try to improve performances by using delete by query (instead of loop on each records) eg. 1500 records * Select > Delete all = 2min * Harvester > Remove records = 700ms This will bypass events but maybe that is fine for harvested records? Maybe there is better JPA alternative for this kind of query?
- Loading branch information
1 parent
9afd1bf
commit d151b55
Showing
3 changed files
with
100 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters