Tabular Data Query Parameter Serialization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional database management systems face inefficiencies when incorporating tabular data into query parameters, requiring disassembly into scalar values and resulting in longer queries and increased processing complexity.

Innovation Solution

The system serializes tabular data into volatile memory, copies it to a data server, and uses a hash join operation to efficiently determine associated rows in a database table, reducing memory usage and query complexity by employing metadata and value identifiers within the query syntax.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If tabular data is disassembled into scalar values and passed as query parameters, then the query can be executed by conventional database systems, but the query length increases and processing complexity increases

Engineering Contradiction:
Improvecompatibility with conventional database systemsVSAvoidquery processing complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The tabular data is segmented into individual scalar values that are passed as separate query parameters to the database system. This segmentation allows conventional database systems to process the data while maintaining compatibility with existing SQL interfaces and execution engines.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The ABAP kernel acts as an intermediary that transforms tabular data into a format suitable for database processing. It disassembles the tabular structure into scalar parameters and reconstructs them in a way that reduces query complexity while maintaining database compatibility.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If tabular data is disassembled into scalar values, then the query can be processed by the database engine, but memory usage increases due to storing multiple scalar parameters

Engineering Contradiction:
Improvequery processing capabilityVSAvoidmemory usage
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

Instead of passing the entire tabular data structure to the database, the system creates a simplified copy in the form of scalar parameters. This copying approach enables database processing while reducing the memory footprint by eliminating the need to maintain the original tabular structure on both client and server sides.

Inventive Principle:
Principle #26Copying

3Reliability

If multiple query statements are generated to handle tabular data, then complete data retrieval is achieved, but the number of distinct operations increases and processing time increases

Engineering Contradiction:
Improvedata retrieval completenessVSAvoidquery execution time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

Multiple query operations are merged into a single optimized query statement. The system combines the logic of multiple distinct queries into one unified query that retrieves all required data in a single execution, thereby reducing processing time while maintaining complete data retrieval.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS10261950B2Table as query language parameter
Publication Date: 2019.04.16 SAP SE
  • US10261950B2 patent drawing
  • US10261950B2 patent drawing
  • US10261950B2 patent drawing

AI summary

A system includes generation of a query to retrieve, from a first database table, a result set conforming to query parameters for all entries of a second table stored in a volatile memory of a query client, serialization of the second table into the volatile memory, copying of the serialized second table into a second volatile memory of a data server, de-serialization of the serialized second table into the second volatile memory, determination of a plurality of entries of the first database table which are associated with the second table, and determination of the result set from the plurality of entries based on the query parameters.