Cleaning objects from the database cache

The ccm clean_cache command clears objects that were archived and that match specified or default criteria. By default, cleaning the cache removes archived cache files of non-modifiable objects that are older than 14 days and not used in work areas. Cache files for object versions that were not archived are never deleted.

Before you begin

Users must be in the ccm_admin role to use this command.

About this task

ccm clean_cache [-t|-type type] [-s|-status status]
                [-c|-cutoff_time time] [-u|-used] [-v|-verbose]
-c|-cutoff_time time
Specifies that cache files are deleted only for object versions with sources older than time. The time used is the access time of the file, not the modify time. If not specified, the default is to remove files older than 14 days (-c "-14:0:0:0").
The time is interpreted in the locale and timezone of the Rational® Synergy server and not the client.
-s|-status status
Specifies the status of the object versions for which cache files are deleted. By default, versions in non-modifiable states are selected.
-t|-type type
Specifies the object version type of cache files to delete. The default is to delete cache files for all types.
-u|-used
Deletes cache files, regardless of whether they are used in projects, with or without work areas. By default, cache files that are used in a project with a work area are not deleted. On UNIX, after cache files are deleted, the work area of the project still contains symbolic links to the files that no longer exist.

Feedback