Virtual Table Memory Reclamation for Database Schema Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In computing systems, particularly in cloud and traditional environments, memory usage is inefficient due to unused space in database schemas, leading to wasted resources and increased energy consumption, as predefined data lengths often result in allocated spaces not being fully utilized.

Innovation Solution

A method and system that track available space within defined tables, create a virtual table to map and utilize this space, and dynamically adjust field lengths to optimize memory usage, allowing unused space to be reassigned as needed.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If predefined data lengths are allocated in database schemas to ensure sufficient storage space, then data storage capacity is improved, but memory utilization efficiency deteriorates due to unused allocated space

Engineering Contradiction:
Improvestorage capacityVSAvoidmemory utilization efficiency
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent implements dynamic memory allocation where the database system continuously monitors actual data length in varchar fields and adjusts the allocated space accordingly. When a field contains less data than its predefined length, the system reclaims the unused portion and makes it available for other purposes, transforming static predefined allocation into dynamic adaptive allocation.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the parameter of allocated space from a fixed predefined value to a variable that adapts based on actual usage. By monitoring the actual data length and adjusting the allocated space parameter dynamically, the system optimizes memory utilization while maintaining sufficient storage capacity for data growth.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If unused memory space is maintained to ensure data storage requirements are met, then data storage reliability is improved, but energy consumption deteriorates due to continuous power required to maintain allocated space

Engineering Contradiction:
Improvedata storage reliabilityVSAvoidenergy consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The database system implements self-service memory management by automatically monitoring actual data usage in varchar fields and reclaiming unused space without external intervention. The system serves itself by detecting when allocated space exceeds actual needs and dynamically adjusting allocations, eliminating the need to maintain unnecessarily large memory reserves.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent implements a feedback mechanism where the system continuously monitors actual data length in fields and uses this information to adjust allocated space. This closed-loop control ensures that memory allocation responds to actual usage patterns, maintaining reliability by ensuring sufficient space while reducing energy waste from over-allocation.

Inventive Principle:
Principle #23Feedback

3Productivity

If virtual tables are created to map and utilize unused space from defined tables, then memory utilization efficiency is improved, but system complexity increases due to additional mapping and tracking mechanisms

Engineering Contradiction:
Improvememory utilization efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces virtual tables as intermediary structures that map to unused space in defined tables. These virtual tables act as mediators between the physical storage structure and the logical data access layer, allowing the system to utilize fragmented unused space without requiring complex direct management of scattered memory regions.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system segments the memory management problem by creating separate virtual tables that each map to specific unused space regions in defined tables. This segmentation allows independent management and tracking of different unused space portions, simplifying the overall complexity compared to managing a single large pool of fragmented space.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11573946B2Management of memory usage using usage analytics
Publication Date: 2023.02.07 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11573946B2 patent drawing
  • US11573946B2 patent drawing
  • US11573946B2 patent drawing

AI summary

An approach for managing memory usage in cloud and traditional environments using usage analytics is disclosed. The approach may be implemented in a computer infrastructure including a combination of hardware and software. The approach includes determining that space is available within one or more tables which have schema definitions with string fields having a predefined length. The approach further includes creating a virtual table and mapping the available space to the virtual table for population by one or more records.