Database Access Using Space-Filling Curves and Sparse Trees

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database management systems face inefficiencies in scaling and indexing large datasets, particularly in big data environments, due to global indexing bottlenecks and slow query performance when handling many columns and rows, which leads to unmanageable systems in enterprise networks and modern Internet environments.

Innovation Solution

The use of space-filling curves and sparse trees to efficiently access data, where a space-filling curve traverses multidimensional data structures and a sparse tree acts as a cache to track data intersections, allowing for optimized query performance by adjusting search paths and limiting boundaries, thereby reducing unnecessary data searches.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If global indexing is used to manage data across multiple nodes, then data retrieval capability is improved, but system performance deteriorates due to indexing bottlenecks

Engineering Contradiction:
Improvedata retrieval capabilityVSAvoidsystem performance
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The patent divides the global indexing problem into local indexing units at each node. Each node maintains its own index independently rather than requiring a centralized global index, which eliminates the indexing bottleneck while preserving data retrieval capability across the distributed system.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces space-filling curves as an intermediary mechanism that maps multi-dimensional data relationships into one-dimensional sorted sequences. This intermediary structure enables efficient data location and retrieval across distributed nodes without requiring complex global indexing operations.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If data is stored in sorted order to eliminate syncing overhead, then system scalability is improved, but query performance deteriorates when handling multiple columns

Engineering Contradiction:
Improvesystem scalabilityVSAvoidquery performance
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The patent transforms multi-dimensional query requirements into one-dimensional sorted data access by applying space-filling curves. The curve mapping converts multi-column query conditions into a single sorted sequence that can be efficiently traversed, maintaining both scalability and query performance.

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

Solution Approach 2:

The patent changes the parameter representation by encoding multi-dimensional coordinates into one-dimensional values using space-filling curve mappings. This parameter transformation allows sorted data storage to satisfy multi-column query requirements without sacrificing query performance.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If multiple columns are sorted sequentially to satisfy query requirements, then query accuracy is improved, but processing time deteriorates for large datasets

Engineering Contradiction:
Improvequery accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary sorting of data using space-filling curve mappings before queries are executed. By pre-organizing data according to the curve-based one-dimensional sequence, the system eliminates the need for sequential multi-column sorting during query processing, significantly reducing processing time while maintaining query accuracy.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10423622B2Database access using a space-filling curve
Publication Date: 2019.09.24 EBAY INC
  • US10423622B2 patent drawing
  • US10423622B2 patent drawing
  • US10423622B2 patent drawing

AI summary

Disclosed is an approach for improved access of databases using a space-filling curve, such as a z-order curve, and a sparse tree. The space-filling curve traverses every point in n-dimensional space of a multidimensional data structure. The sparse tree can be implemented as a cache to store which rows of the multidimensional data structure have actual data. The sparse tree may have one or more nodes merged into a single node, The sparse tree may have one or more node limits at each node that limit node spawning. Node counters track how many rows containing data not mapped correspond to each node. As the multidimensional data structure is searched, the search path is adjusted by reseeking back to rows that are located in the sparse tree. Further, the search path is adjusted by reseeking back to rows that are located within a query box.