Cosharded Index Tables for Faster Distributed Data Retrieval

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed relational databases face inefficiencies in data retrieval due to the separation of tables across multiple database servers, requiring extensive communication and operations to locate and retrieve data.

Innovation Solution

The method involves cosharding an index table by the keys of a data table or another index table, ensuring all data corresponding to a single row is stored in a single split, reducing the need for distributed operations and maintaining transactional integrity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If data is spread across multiple database servers, then storage capacity is increased, but data retrieval efficiency deteriorates due to required distributed operations

Engineering Contradiction:
Improvestorage capacityVSAvoiddata retrieval efficiency
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent segments the index table into multiple index table splits, where each split contains a subset of index entries. This segmentation allows the system to store more data across multiple servers while reducing the scope of distributed operations needed for data retrieval, as queries can be routed to specific splits based on key ranges.

Inventive Principle:
Principle #1Segmentation

2Adaptability or versatility

If data is separated across different database servers, then storage scalability is improved, but system complexity increases due to distributed operations

Engineering Contradiction:
Improvestorage scalabilityVSAvoidsystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent performs preliminary sharding of the index table into splits during data insertion, organizing index entries by key ranges in advance. This preliminary action eliminates the need for complex distributed operations during query execution, as the routing decision can be made locally based on the query key and split routing information.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If distributed operations are used to locate data, then data availability across servers is improved, but processing time increases

Engineering Contradiction:
Improvedata availabilityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts the routing information (index table split routing) from the distributed system complexity and stores it locally with each data entry. This extraction allows the system to maintain data availability across servers while eliminating time-consuming distributed operations, as the routing decision can be made locally using the extracted routing information.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12541497B2Cosharding and randomized cosharding
Publication Date: 2026.02.03 GOOGLE LLC
  • US12541497B2 patent drawing
  • US12541497B2 patent drawing
  • US12541497B2 patent drawing

AI summary

The technology relates to cosharding tables within a distributed storage system. A data table including one or more rows may be received. Each row in the data table may include an identifier key and pieces of data. Each piece of data in the data table may be indexed into individual rows of an index table, wherein each row in the index table includes data associated with the identifier key of the data table from which the piece of data in the respective row was indexed. The index table may be sharded into splits, wherein the sharding includes assigning each row of the index table into one of the splits based on the identifier key of the data table from which the piece of data in the respective row was indexed. The splits may be more stored into two or more or more portions of the distributed storage system.