Hierarchical Histogram Mapping for Multidimensional Database Sorting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database systems face inefficiencies in processing analytical queries due to the aggregation of data with significantly different values in the same storage locations, leading to increased data read amounts and query response times, particularly when handling non-integer data types.

Innovation Solution

A database management apparatus constructs a hierarchical histogram for each column, converting data to integer values using a multidimensional sorting algorithm, ensuring balanced data placement by maintaining high cardinality and preventing data with significantly different values from being aggregated in the same segment.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If data is converted to integer values using only upper bits, then conversion simplicity is improved, but sorting granularity becomes coarse and data with significantly different values are aggregated together

Engineering Contradiction:
Improveconversion simplicityVSAvoidsorting granularity
Core Design Contradiction:
Ease of manufactureVSManufacturing precision

Solution Approach 1:

The patent segments the data conversion process into multiple stages: first converting to intermediate integer values using upper bits, then further segmenting based on histogram analysis to achieve fine-grained sorting. This multi-stage segmentation resolves the contradiction by maintaining simplicity in the first stage while achieving precision in subsequent stages.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a histogram-based dimensional transformation that maps data values to integer bins. By adding this intermediate dimensional layer between simple bit truncation and final sorting, the system achieves both conversion simplicity and sorting precision without directly compromising either aspect.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Stability of the object's composition

If value range widths of bins are adjusted to equalize data distribution, then balance of data allocation is improved, but data with significantly different values may be allocated to the same bin

Engineering Contradiction:
Improvedata distribution balanceVSAvoidvalue differentiation precision
Core Design Contradiction:
Stability of the object's compositionVSManufacturing precision

Solution Approach 1:

The patent applies local quality by creating histograms with different bin width characteristics for different data regions. Rather than using uniform bin widths throughout, the system allows bin widths to vary locally based on data density and value ranges, maintaining both distribution balance and value differentiation precision in their respective regions.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically changes the bin width parameter based on data characteristics. By adjusting bin width as a variable parameter rather than a fixed value, the patent achieves both balanced data allocation and precise value differentiation, resolving the contradiction between these two requirements.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If data is aggregated by multidimensional sorting, then query processing speed is improved, but data read amount increases when data with different values are colocated

Engineering Contradiction:
Improvequery processing speedVSAvoiddata read amount
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent performs preliminary data placement optimization before query execution by pre-sorting data using multidimensional sorting based on histogram-derived integer values. This preliminary action ensures that data with similar values are physically collocated in advance, enabling efficient query processing while minimizing the actual data read amount during query execution.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent replaces mechanical data scanning with a computational histogram-based sorting mechanism. By substituting the mechanical process of reading and filtering data with a pre-computed integer value mapping system, the patent achieves both fast query processing and reduced data read amounts through intelligent data placement.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS20260003570A1Database management apparatus and database management method
Publication Date: 2026.01.01 HITACHI LTD
  • US20260003570A1 patent drawing
  • US20260003570A1 patent drawing
  • US20260003570A1 patent drawing

AI summary

A database management apparatus constructs, for each column in input data, a hierarchical histogram of data distribution with respect to the column by repeating division into a prescribed number of areas based on a degree and a base suitable for a multidimensional sorting algorithm and creation of an equal-width histogram as long as an empty bin is present in a histogram, and creates integer value conversion data that maps a value range width of data in the input data to a converted integer value on the basis of the hierarchical histogram. The database management apparatus places the data, which is in the input data, in a database by multidimensionally sorting the input data according to the multidimensional sorting algorithm on the basis of the integer value conversion data of each column.