Bf-Tree Adaptive Mini-Page Storage Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional B-trees face significant challenges with write amplification and inefficient caching strategies, leading to performance degradation in modern database applications with high data modification rates and large datasets, which are not adequately addressed by traditional B-trees or LSM-Trees.

Innovation Solution

The Bf-Tree employs dynamically adjustable mini-pages within a buffer pool, allowing on-the-fly resizing and an intelligent caching mechanism that prioritizes frequently accessed data in faster memory, reducing write amplification and enhancing caching efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If conventional B-trees are used for indexing large datasets, then data retrieval efficiency is improved, but write amplification increases and caching efficiency deteriorates

Engineering Contradiction:
Improvedata retrieval efficiencyVSAvoidwrite amplification
Core Design Contradiction:
SpeedVSLoss of energy

Solution Approach 1:

The patent divides a traditional fixed-size page into multiple variable-sized mini-pages. Each mini-page can independently manage smaller data chunks, allowing the system to write only the necessary portions to disk rather than entire pages. This segmentation reduces write amplification by isolating data modifications to smaller, more manageable chunks while maintaining efficient retrieval through the hierarchical mini-page structure.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces dynamically adjustable mini-pages that can change size based on actual data operation requirements. Unlike conventional fixed-size pages, mini-pages can be allocated and resized on-the-fly to match the specific needs of read and write operations. This dynamic adaptation optimizes caching efficiency by keeping frequently accessed data in smaller, faster memory-resident mini-pages while reducing unnecessary writes.

Inventive Principle:
Principle #15Dynamics

2Speed

If conventional B-trees are used for indexing large datasets, then data retrieval efficiency is improved, but caching efficiency deteriorates

Engineering Contradiction:
Improvedata retrieval efficiencyVSAvoidcaching efficiency
Core Design Contradiction:
SpeedVSProductivity

Solution Approach 1:

The patent segments the cache structure into multiple mini-pages that can be independently managed and cached. This allows the system to cache only the specific mini-pages containing frequently accessed data rather than entire fixed-size pages, improving cache hit rates and reducing memory waste. The segmented cache structure enables finer-grained control over what data remains in memory versus what is written to disk.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements dynamic mini-pages that adapt their size and content based on access patterns. Frequently accessed data is automatically retained in memory-resident mini-pages, while less frequently accessed data is evicted to disk. This dynamic caching behavior significantly improves caching efficiency by ensuring that hot data is readily available in fast memory while cold data is efficiently moved to slower disk storage.

Inventive Principle:
Principle #15Dynamics

3Device complexity

If fixed-size pages are used in B-trees, then data structure simplicity is maintained, but adaptability to varying data operation requirements deteriorates

Engineering Contradiction:
Improvedata structure simplicityVSAvoidadaptability to data operations
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent transitions from fixed-size pages to dynamically adjustable mini-pages that can change their size based on actual data operation requirements. This allows the data structure to adapt to varying workloads, whether they are read-intensive, write-intensive, or mixed. The mini-pages can be allocated and resized on-the-fly, providing the flexibility needed to handle diverse data operations efficiently while maintaining a relatively simple underlying B-tree structure.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the key parameter of page size from fixed to variable. By allowing mini-pages to dynamically adjust their size, the system can optimize for different operation types: smaller mini-pages for frequent writes, larger mini-pages for sequential reads, and adaptive sizing for mixed workloads. This parameter change enables the data structure to adapt to varying data operation requirements without fundamentally altering the B-tree algorithm.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250363084A1Adaptive Data Storage Management
Publication Date: 2025.11.27 MICROSOFT TECHNOLOGY LICENSING LLC
  • US20250363084A1 patent drawing
  • US20250363084A1 patent drawing
  • US20250363084A1 patent drawing

AI summary

The description relates to adaptive data storage management. An example manages data within a database system using dynamically adjustable mini-pages within a buffer pool. The example involves receiving a request for a data item, adjusting mini-page sizes based on the request, and determining the data item's presence within these mini-pages. Upon locating the item, the request is executed on the relevant mini-page. The example also updates a mapping table to correlate mini-page identifiers with their locations in the database, and selectively caches or evicts the data item based on probabilities and access patterns.