Database Key Value Distribution via Logical Partitioning
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Latch contentions occur in database management systems due to skewed distributions of key values, leading to exclusive access issues and increased waiting times for multiple processes attempting to access the same nodes.
Innovation Solution
Distributing key values by generating a logical partition associated with a partition value, which is attached to the key values to create an altered key value, thereby reducing latch contentions and optimizing access to data structures like B-plus trees.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If key values are distributed unevenly (skewed distribution), then data structure organization reflects the data naturally, but latch contentions increase and access performance deteriorates
Solution Approach 1:
The patent segments the key value space by introducing a partition value that divides keys into different ranges. This segmentation distributes the key values across multiple partitions, preventing concentration at single nodes and thereby reducing latch contentions while maintaining data structure integrity.
Solution Approach 2:
The patent modifies the key value parameter by attaching a partition value to it, creating an altered key value. This parameter transformation changes the distribution characteristics of keys, steering them away from skewed concentrations toward a more balanced distribution across different partitions.
2Productivity
If multiple processes access the same node simultaneously, then concurrency is utilized, but latch contentions occur and waiting time increases
Solution Approach 1:
By segmenting the data structure into multiple partitions based on altered key values, the patent enables multiple processes to access different partitions simultaneously without conflicting for the same latch. This segmentation reduces waiting time while maintaining high concurrency utilization.
Solution Approach 2:
The partition value acts as an intermediary that redirects access requests to different partitions. Instead of multiple processes competing for the same node, the intermediary distribution mechanism routes them to different nodes, eliminating latch contentions and reducing waiting time.
3Productivity
If logical partitions are introduced to distribute key values, then latch contentions are reduced, but data structure complexity increases
Solution Approach 1:
The patent introduces complexity in a controlled manner by modifying only the key value parameter through attachment of partition values. This parameter-based approach adds logical partitioning functionality without fundamentally restructuring the entire data structure, thus managing complexity while improving access performance.
Data Source
AI summary
A computer apparatus and related method to reduce database congestion is provided. In one aspect, the computer apparatus and method may generate a new partition within a hierarchical data structure of interlinked nodes, if a distribution of key values stored in the hierarchical data structure is skewed in favor of a range of key values.


