Spatial Index Granularity Tracking for Faster Query Access

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data storage systems face inefficiencies in accessing spatial data due to the wide range of object sizes, leading to unnecessary evaluation of all granularity levels, which wastes time and resources.

Innovation Solution

Implementing a spatial index that tracks granularity levels by mapping n-dimensional spatial data into a single dimension using space-filling curves and maintaining a balanced tree structure, allowing selective access to only relevant levels based on query predicates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all granularity levels of the spatial index are evaluated to ensure complete query results, then query accuracy is maintained, but query processing time and resource consumption increase

Engineering Contradiction:
Improvequery accuracyVSAvoidquery processing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary evaluation of granularity levels using query predicates before executing the full spatial query. By pre-assessing which granularity levels are relevant based on predicate analysis, the system avoids unnecessary evaluation of irrelevant levels, thus reducing query processing time while maintaining result accuracy through selective evaluation.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If the spatial index evaluates all granularity levels for every query, then no data is missed, but system resources are wasted on unnecessary evaluations

Engineering Contradiction:
Improvedata completenessVSAvoidsystem resource consumption
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The system applies local quality by evaluating only the specific granularity levels that are relevant to the current query's spatial predicates and object sizes. Instead of uniformly evaluating all granularity levels across the entire spatial index, the system locally adapts the evaluation scope to match the specific query requirements, thereby conserving system resources while ensuring data completeness for the queried region.

Inventive Principle:
Principle #3Local quality

3Adaptability or versatility

If the spatial index is optimized for various object sizes by maintaining multiple granularity levels, then query flexibility improves, but index complexity increases

Engineering Contradiction:
Improvequery flexibilityVSAvoidindex structure complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The spatial index employs dynamic granularity levels that can be selectively activated or deactivated based on query characteristics such as object size and spatial distribution. This dynamic approach allows the index to adapt its complexity to match query requirements, providing high flexibility for various query types while avoiding the overhead of maintaining and evaluating all granularity levels simultaneously for every query.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12572570B2Tracking granularity levels for accessing a spatial index
Publication Date: 2026.03.10 AMAZON TECH INC
  • US12572570B2 patent drawing
  • US12572570B2 patent drawing
  • US12572570B2 patent drawing

AI summary

A database engine may track granularity levels for accessing a spatial index. Granularity levels of a spatial index may be evaluated to identify those granularity levels that identify data objects in a data set. An indication of the identified granularity levels may be stored as part of metadata for the data set. When a spatial query directed to the data set is received, the spatial index may be accessed at the identified granularity levels indicated in the metadata for the data set as part of processing the spatial query.