Cleaning Archive and Task Persistence data in a Cross-Database scenario