Note the following definitions:
Pruning is the process of removing threads from either the main or the archive database.
Archiving is the process of removing selected threads from the main database and storing them in the archive database.
Maintenance is a cover term for pruning and archiving.
There are two ways of performing archiving and pruning:
Use UCS Manager only
The UCS Manager window has three tabs:
Manual task for performing one-time maintenance.
Scheduled task on Main DB for scheduling periodic maintenance on the main database.
Scheduled task on Archive DB for scheduling periodic maintenance on the archive database.
Release 8.0.2 and later of UCS includes a second means of archiving and pruning, in which you start the maintenance task in UCS Manager, then run certain specialized queries directly on the UCS database. This method, including the required queries, is described on the "Archiving and Pruning the Database" page of the Universal Contact Server Context Services User's Guide, available in the Genesys Documentation Wiki.