Automated Garbage Collection Architecture for Database Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database systems face inefficiencies due to the persistence of temporary data structures that consume valuable resources, requiring manual intervention by application developers which is error-prone and inefficient.

Innovation Solution

An automated garbage collection architecture that identifies and removes unnecessary data structures by tagging objects with metadata, determining whether they should be garbage collected based on age, relations, and associated data, and recursively collecting related objects.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Extent of automation

If manual intervention by application developers is used to remove unneeded data structures, then removal capability is provided, but efficiency is reduced and errors increase

Engineering Contradiction:
Improveautomation of garbage collectionVSAvoidcomplexity of data management system
Core Design Contradiction:
Extent of automationVSDevice complexity

Solution Approach 1:

The system implements self-service through automated garbage collection where the database system autonomously identifies and removes unnecessary data structures without requiring manual intervention from application developers. The garbage collection mechanism automatically tracks data structures, determines their persistence requirements, and eliminates them when no longer needed, making the system self-managing for this function.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent introduces an intermediary garbage collection layer between the database system and application developers. This intermediary automatically manages the removal of unneeded data structures by monitoring data structure usage, determining persistence requirements, and executing removal operations, thereby shielding developers from complex manual management tasks while maintaining system efficiency.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If temporary data structures are persisted in the database system, then data storage capability is provided, but system efficiency deteriorates due to resource consumption

Engineering Contradiction:
Improvesystem efficiencyVSAvoidresource consumption
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The system implements discarding and recovering by automatically identifying temporary data structures that are no longer needed and removing them from the database system. The garbage collection mechanism continuously monitors data structures, determines which ones can be safely discarded based on persistence requirements, and eliminates them to free up resources, thereby maintaining system efficiency while managing data storage dynamically.

Inventive Principle:
Principle #34Discarding and recovering

Solution Approach 2:

The patent applies dynamics by making data structure persistence dynamic rather than static. Instead of permanently retaining all created data structures, the system dynamically adjusts persistence based on actual needs, automatically transitioning data structures from a persisted state to a removed state when they are no longer required, thus optimizing resource utilization and system efficiency.

Inventive Principle:
Principle #15Dynamics

3Reliability

If application developers manually manage data structure removal, then control over data lifecycle is provided, but reliability decreases due to error-prone manual processes

Engineering Contradiction:
Improvereliability of data removalVSAvoidease of data management
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system implements self-service through automated garbage collection where the database system autonomously identifies and removes unnecessary data structures without requiring manual intervention from application developers. The garbage collection mechanism automatically tracks data structures, determines their persistence requirements, and eliminates them when no longer needed, making the system self-managing for this function.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent implements feedback mechanisms where the garbage collection system continuously monitors data structure usage and persistence requirements, using this information to make intelligent decisions about which data structures to remove. This feedback loop ensures reliable automated management by base d on actual system state and usage patterns.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10534706B1Automated garbage collection architecture
Publication Date: 2020.01.14 WORKDAY INC
  • US10534706B1 patent drawing
  • US10534706B1 patent drawing
  • US10534706B1 patent drawing

AI summary

A system for data management includes a root object, zero, one, or more member objects, and a processor. The root object is associated with a garbage collection root metadata. Each of the one or more member objects is associated with a garbage collection member metadata. The root object has a direct relation or an indirect relation to each of the one or more member objects. The processor is to determine that an object is the root object; determine whether the root object and the one or more member objects are to be garbage collected; and garbage collect the root object and the one or more member objects in the event that the root object and the one or more member objects are to be garbage collected.