The invention provides a life cycle deletion optimization method for a
distributed object storage
system, which comprises the following steps of: S1, detecting the business volume of a cluster, starting a pre-scanning operation when the business volume is lower than a preset threshold value, and identifying an object to be deleted according with a life cycle rule; s2, respectively writing the to-be-deleted object information of different dates into corresponding omaps, and storing
omap data in a disk according to a preset packaging frequency; s3, when the life cycle expires, directly reading the
omap of the corresponding date, skipping a real-time scanning step, and executing batch deletion operation; and S4, recording statistical information such as the deletion quantity scanned every day on the xattr of the
barrel, so that management
software performs data
trend analysis and operation and maintenance decision. According to the embodiment of the invention, the life cycle deletion efficiency can be improved, the
metadata operation pressure is reduced, and the cluster storage space
utilization rate is optimized.