Resource-Efficient Schema Object Creation via DDL-DML Workload Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Computational bottlenecks and inefficiencies arise when data definition language (DDL) operations, which may include data manipulation language (DML) operations, are performed by resource-light computing devices not equipped to handle DML operations efficiently, leading to starvation and system crashes.

Innovation Solution

A resource-efficient schema object creation system (SCS) offloads computationally intensive DML operations from a coordinator node to resource-rich write nodes, which perform DML operations efficiently, while the coordinator handles lighter DDL operations, ensuring data consistency through a coordinated update of the schema and data using forward and reverse transaction logs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of energy

If a resource-light computing device is used to perform DDL operations, then resource consumption is optimized, but computational bottlenecks and starvation occur when DDL operations include DML operations

Engineering Contradiction:
Improveresource consumptionVSAvoidsystem throughput
Core Design Contradiction:
Loss of energyVSProductivity

Solution Approach 1:

The system segments DDL operations into two types: lightweight DDL operations that are executed by the coordinator node, and heavy DDL operations that include DML operations and are executed by write nodes. This segmentation allows each node type to perform operations appropriate to its computational capacity, preventing the coordinator from being overwhelmed while maintaining efficient resource utilization.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system introduces write nodes as intermediary components between the coordinator node and the data storage layer. Write nodes receive heavy DDL operations from the coordinator, execute the computationally intensive DML operations, and then report back to the coordinator. This intermediary structure offloads computational burden from the coordinator while maintaining centralized coordination.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If a resource-light computing device performs DDL operations with DML operations, then device utilization is maximized, but computational bottlenecks and starvation arise

Engineering Contradiction:
Improvedevice utilizationVSAvoidsystem stability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system segments DDL operations by weight and assigns them to appropriate node types. Lightweight DDL operations go to the coordinator node, while heavy DDL operations with DML components are routed to write nodes. This segmentation ensures that no single node is overloaded, maintaining system stability while keeping all nodes utilized.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different nodes in the system are given different functional qualities matched to their computational capabilities. The coordinator node is optimized for coordinating lightweight operations, while write nodes are optimized for executing heavy operations. This local quality differentiation ensures each node operates within its capabilities, preventing starvation and maintaining reliability.

Inventive Principle:
Principle #3Local quality

3Adaptability or versatility

If DML operations are included in DDL operations, then schema object creation is enhanced, but processing time increases

Engineering Contradiction:
Improveschema object creation capabilityVSAvoidprocessing time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system segments DDL operations into lightweight and heavy categories based on whether they include DML operations. Lightweight DDL operations are executed quickly by the coordinator node, while heavy DDL operations with DML components are executed by write nodes with appropriate computational resources. This segmentation minimizes overall processing time by ensuring each operation type receives appropriate computational power.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Write nodes serve as intermediaries that handle heavy DDL operations with DML components. These write nodes receive the heavy DDL operations from the coordinator, execute the time-consuming DML operations, and return results to the coordinator. This intermediary approach ensures that schema object creation with DML operations is handled efficiently without delaying lightweight operations.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12373402B1Resource efficient schema object creation system
Publication Date: 2025.07.29 SAP SE
  • US12373402B1 patent drawing
  • US12373402B1 patent drawing
  • US12373402B1 patent drawing

AI summary

System, method, and various embodiments for a resource efficient schema object creation system are described herein. An embodiment operates by receiving a schema-change request at a first node of a cluster of computing nodes. The first node creates and populates a schema object in a shared storage, based on the schema-change request. An entry is generated in a reverse transaction log, the entry corresponding to the schema object stored in the shared storage device. A coordinator node is configured to read the entry from the reverse transaction log, update a schema, and generate an entry in a forward transaction log. The first node executes the entry in the forward transaction log, wherein the executing comprises updating a catalog of the first node to include the schema object stored in the shared storage, wherein upon a completion of the updating, the schema object is accessible by the first node.