Hi there,
There was this thread back in d7 days:
forums.thinkboxsoftware.com/vie … t=deleting
We have started our first major cleanup in d8, and it seems the speed improvements are not as good as hoped, Robert has been deleting 2400 jobs since around 3.40pm, and its currently at 48% done. Not sure whether the bottleneck is the gui, or this is simply how long it takes to purge reports etc.
The big upside of d8: the monitor is interactive during deletion! yay!
This is definitely something we can look at. I think it might be cleaning up Aux files, which is probably what’s taking so long.
I’m not sure why that’s being done up front, though, since they should be kept around in the repo at least until the deleted jobs get purged by housecleaning (at which point they should be cleaned up).
After about 15 minutes of starting to delete over 4700 jobs on the farm, only 67 jobs were deleted so far. Currently running 8.0.3.0
Mmmm, odd, deleting 67 jobs only takes ~10 seconds for me. Not the fastest but obviously not to the extent you guys are seeing.
Have you noticed if one particular job type is more egregious than others in this regard? Do you guys have lots of Auxiliary files submitted to the repo? How many reports would you say an average job has?
There were about 20k+ jobs in the queue at the time, not sure if that matters though.
Hard to say the average report count as it varies greatly. The majority of jobs are only a few tasks, so would have <8 reports, but the actual 2d/3d jobs would have reports in the hundreds.
We have a custom OnDelete event that might also add to the slowdowns, we are looking into whether we can improve performance of that.
Somewhat related, but housecleaning is really taking a long time when you are cleaning up jobs… Most of the time is spent deleting report collections it seems:
2016-06-09 11:21:02: Job Report Scan - Purged 1215 report collections in 29.275 m
cheers
l
With our event removed, we get the same speeds you are seeing, which is much better.