Affected Versions

JFROG ARTIFACTORY: The Difference Between Garbage Collector and Prune Unreferenced Data

AuthorFullName__c
Pradnya Shinde
articleNumber
000004448
ft:sourceType
Salesforce
FirstPublishedDate
2019-04-13T01:25:38Z
lastModifiedDate
2021-04-24
VersionNumber
10

Any
 

While both of these processes delete binaries in the filestore, each has distinctive qualities:

  1. Garbage Collection disposes of filestore binaries that are tagged by Artifactory as delete candidates. In addition to the UI, you also have the option to use the Run Garbage Collection REST API, which is available HERE.

  2. Prune Unreferenced Data (PUD) deletes the randomly-existing binaries in the filestore that are not referenced in the Artifactory. When you invoke this action, Artifactory removes from the filestore unreferenced binary files and empty folders. PUD won’t delete binaries marked as delete candidates in Artifactory (those would be deleted by GC). For information on the PUD APIs, see Pruning Unreferenced Data (PUD) APIs.

UI in Artifactory v6.x is: Admin > Advanced > Maintenance > Storage > Prune Unreferenced Data
UI in Artifactory v7.x is: Administration > Services > Artifactory > Advanced > Maintenance > Prune Unreferenced Data.