in the document Database_Guide.pdf on page 20 there is the "Utility for Purging History" with the script OOPurgeHistory.sql mentioned. We have HP OO version 10.10 but I didn't find the script/ZIP file under HPE Live Network as described:
Utility for Maintaining Indexes and Statistics:
Download the latest MSSQL.zip pack from HP Live Network under OO DB Maintenance Scripts
and Procedures > HP Operations Orchestration 10.10 and unpack it.
Where can I download it?