Virtual Buffer Pool Mapping for Dynamic Database Allocation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Managing buffer pool resources efficiently in database systems is cumbersome due to the fixed number of buffer pools, leading to suboptimal performance and resource utilization.

Innovation Solution

Implementing a virtual layer between database objects and buffer pools to dynamically manage resource allocation, using a virtual layer to identify and adjust buffer pool usage based on real-time resource utilization, and dynamically map database objects to optimize buffer pool usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a fixed number of buffer pools are used in database systems, then the system structure is simple and stable, but resource utilization becomes suboptimal and performance deteriorates

Engineering Contradiction:
Improvebuffer pool resource utilizationVSAvoidbuffer pool management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces a virtual buffer pool layer as an intermediary between the physical buffer pools and database objects. This virtual layer acts as a mediator that dynamically manages the mapping between database objects and physical buffer pools, enabling flexible resource allocation without directly modifying the underlying fixed buffer pool structure. The virtual layer absorbs the complexity of dynamic management while presenting a simplified interface to database objects.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent implements dynamic mapping capabilities within the virtual buffer pool layer, allowing the system to adaptively adjust which database objects are mapped to which physical buffer pools based on real-time workload patterns and resource utilization metrics. This dynamic approach enables the system to optimize resource utilization without changing the fixed number of physical buffer pools, resolving the contradiction between structural stability and resource efficiency.

Inventive Principle:
Principle #15Dynamics

2Quantity of substance

If buffer pool size is increased to improve caching capacity, then more data can be cached in memory, but memory resource allocation becomes less flexible and other processes suffer

Engineering Contradiction:
Improvecache capacityVSAvoidmemory resource allocation flexibility
Core Design Contradiction:
Quantity of substanceVSAdaptability or versatility

Solution Approach 1:

The virtual buffer pool layer implements dynamic resource allocation that adjusts cache capacity allocation to database objects based on real-time workload demands. When certain database objects are frequently accessed, the system dynamically allocates more buffer pool space to them, while reducing allocation to less frequently accessed objects. This dynamic approach maintains high cache capacity for critical operations while preserving memory flexibility for other system processes.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the mapping parameters between virtual buffer pools and physical buffer pools dynamically based on workload characteristics. By adjusting these mapping parameters, the system can effectively increase or decrease the cache capacity allocated to specific database objects without physically expanding or contracting the total buffer pool size, thus maintaining memory allocation flexibility while optimizing cache capacity for performance-critical operations.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If manual buffer pool management is used, then system control is straightforward, but resource optimization becomes cumbersome and performance tuning is difficult

Engineering Contradiction:
Improveperformance tuning efficiencyVSAvoidbuffer pool management automation
Core Design Contradiction:
ProductivityVSExtent of automation

Solution Approach 1:

The patent implements automated feedback mechanisms within the virtual buffer pool layer that continuously monitor database object access patterns, buffer pool utilization metrics, and system performance indicators. Based on this feedback, the system automatically adjusts the mapping between database objects and physical buffer pools, optimizing resource allocation without requiring manual intervention. This feedback-driven automation maintains straightforward system control while dramatically improving performance tuning efficiency.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The virtual buffer pool layer enables the database system to self-optimize its own buffer pool allocation by automatically analyzing workload patterns and adjusting mappings accordingly. The system performs self-service performance tuning by monitoring its own operation and making real-time adjustments to buffer pool management, eliminating the need for external manual tuning while maintaining simple system architecture.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12353927B2Buffer pool resource allocation
Publication Date: 2025.07.08 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12353927B2 patent drawing
  • US12353927B2 patent drawing
  • US12353927B2 patent drawing

AI summary

A computer implemented method for managing buffer pool usage includes identifying a database comprising one or more buffer pools and a set of database objects, adding a virtual layer between the set of database objects and the one or more buffer pools, wherein the virtual layer is configured to manage buffer pool resource utilization, managing, using the added virtual layer, buffer pool resource utilization with respect to the set of database objects, wherein the managing comprises defining buffer pool usage corresponding to the set of database objects, dynamically mapping database objects to the buffer pools based, at least in part, on the defined buffer pool usage, analyzing, by one or more processors, queues to identify updated buffer pool usage, and adjusting database object allocation according to the identified updated resource usage. A computer program product and computer system corresponding to the method are also disclosed.