Backup Storage Garbage Collection via Pre-computed Expiration Metadata

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional garbage collection processes in backup storage systems are inefficient, especially in large data systems, as they require walking through all data to determine which can be deleted, leading to excessive resource consumption and prolonged processing times due to a time complexity of O(n2).

Innovation Solution

The method involves obtaining time information for a removal time point, determining a target removal period from a removal period list mapped to chunk elements, and removing corresponding chunks, thereby bypassing the need to traverse directory information and check expiration status for each chunk, reducing the time complexity to O(n).

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional garbage collection processes walk through all backup data to determine deletion eligibility, then complete data verification is achieved, but processing time and resource consumption increase significantly with O(n2) time complexity

Engineering Contradiction:
Improvedata verification completenessVSAvoidgarbage collection processing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-calculating and storing expiration times for all chunks during data ingestion and backup operations. This allows the garbage collection process to directly query pre-computed expiration information rather than walking through all data to determine deletion eligibility, reducing time complexity from O(n2) to O(n) while maintaining complete verification

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary metadata structure that stores expiration time information separately from the actual backup data. This intermediary layer acts as a lookup table that enables rapid determination of chunk expiration status without traversing the entire backup dataset, thus maintaining reliability while reducing processing time

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If conventional garbage collection processes traverse all directory information to check each chunk expiration status, then accurate identification of expired chunks is achieved, but device complexity and resource consumption increase

Engineering Contradiction:
Improveexpired chunk identification accuracyVSAvoidgarbage collection process complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the garbage collection process into distinct operations: querying pre-stored expiration information, comparing current time with expiration times, and removing expired chunks. This segmentation eliminates the need for complex directory traversal and chunk-by-chunk verification, maintaining accurate identification while reducing process complexity

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates a simplified copy of expiration information in a metadata structure that mirrors the essential deletion criteria without containing the full complexity of the backup data hierarchy. This copy enables accurate expired chunk identification through simple time comparison rather than complex directory traversal

Inventive Principle:
Principle #26Copying

3Productivity

If backup storage systems maintain detailed tracking of all chunk expiration times, then precise garbage collection is achieved, but storage overhead and processing resources increase

Engineering Contradiction:
Improvegarbage collection efficiencyVSAvoidmetadata storage overhead
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent implements self-service by having the metadata structure automatically maintain expiration time information as chunks are created, modified, or deleted during normal backup operations. This self-updating mechanism ensures precise garbage collection information is always available without requiring additional processing resources or extensive storage overhead

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11467916B2Method, device, and computer program product for storage management
Publication Date: 2022.10.11 EMC IP HLDG CO LLC
  • US11467916B2 patent drawing
  • US11467916B2 patent drawing
  • US11467916B2 patent drawing

AI summary

Embodiments of the present disclosure provide a method, a device and a computer program product for storage management. The method comprises: obtaining time information related to a removal time point for a backup storage system, the time information indicating that a chunk in the backup storage system whose expiration time does not exceed the removal time point is to be removed; determining, from a removal period list, a target removal period whose end time does not exceed the removal time point, each removal period in the removal period list being mapped to at least one chunk element, the at least one chunk element representing at least one chunk in the backup storage system whose expiration time is within the removal period to which the at least one chunk element is mapped; determining at least one target chunk element to which the target removal period is mapped; and removing, from the backup storage system, at least one target chunk corresponding to the at least one target chunk element. Therefore, with this solution, expired chunks can be efficiently removed.