Slot-Based Query Execution for Schema-Less Data Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional query processing systems are inefficient in executing queries against non-relational or schema-less databases, as they often require passing entire data objects between stages, adding unnecessary processing steps and degrading performance, and cannot optimize for diverse data structures.

Innovation Solution

A query processing system that generates a slot-based execution (SBE) plan by optimizing logical representations of queries, reducing data transmission to individual values between stages, and customizing search operations for different data structures, thereby eliminating unnecessary data passing and reformatting.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If conventional query processing systems pass entire data objects between stages, then data can be accessed and processed, but data transmission volume increases and performance degrades

Engineering Contradiction:
Improvequery execution efficiencyVSAvoiddata transmission volume
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent segments data objects into individual field values and passes only the required values between query processing stages. Instead of transmitting entire data objects, the system extracts and transmits only the specific field values needed for each stage, significantly reducing data transmission volume while maintaining query execution efficiency.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system extracts only the necessary field values from data objects for transmission between query processing stages. By taking out only the required data elements rather than passing complete objects, the system reduces unnecessary data transmission while ensuring all needed information is available for query execution.

Inventive Principle:
Principle #2Taking out (Extraction)

2Adaptability or versatility

If conventional systems process diverse data structures, then various data formats can be handled, but processing complexity increases

Engineering Contradiction:
Improvedata structure compatibilityVSAvoidprocessing complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent applies local quality by customizing search operations specifically for array data structures. Instead of using a generic processing approach for all data types, the system implements specialized handling for arrays, optimizing performance for this particular data structure while maintaining compatibility with other formats through targeted rather than universal complexity.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS12541514B2Query processing system for slot-based execution of queries
Publication Date: 2026.02.03 MONGODB INC
  • US12541514B2 patent drawing
  • US12541514B2 patent drawing
  • US12541514B2 patent drawing

AI summary

Described herein embodiments of a query processing system. The query processing system optimizes execution by generating an optimized slot-based execution (SBE) plan for executing the query. The query processing system optimizes query execution by generating a logical representation of the query, optimizing the logical representation of the query, and translating the optimized logical representation of the query into an SBE plan. The query processing system then executes the SBE plan to generate the query results.