In Active Services page of RDNG, we see CleanUpUnusedIndexesVersionsTask running for long hours
One answer
There is a defect open to address the performance issue of the query, and the issue in general.
See Unreferenced Versions Updater is slow on systems with lots of baselines (485171)
Please reach out to IBM Support for assistance.