Database Object Sequencing Through Dependency-Aware Script Parsing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods for sequencing database objects in database code deployments are inefficient and prone to errors and conflicts due to manual file naming, especially in multi-user environments, leading to synchronization issues and increased resource usage for coordination.

Innovation Solution

An automatic sequencing process that identifies and manages dependencies of database objects by generating a dependency list and parsing file contents to determine object characteristics, such as object types, names, and constraints, thereby determining an optimal execution order.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual file naming is used to sequence database objects, then users can control execution order, but errors and conflicts increase in multi-user environments

Engineering Contradiction:
Improvesequencing accuracyVSAvoidcoordination complexity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system automatically determines execution order by parsing database scripts to identify object dependencies, allowing the system to self-organize the sequencing without manual intervention. The parser extracts object information from scripts and builds a dependency graph that automatically resolves execution order, eliminating the need for users to manually coordinate filenames while maintaining accurate sequencing.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces the mechanical manual file naming system with an automated parsing and dependency analysis system. Instead of relying on users to create sequentially numbered filenames, the system uses script parsing to automatically determine execution order based on actual object dependencies, substituting human coordination with automated analysis.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Reliability

If automatic sequencing is implemented by parsing database scripts, then sequencing accuracy improves, but processing time and computational resources increase

Engineering Contradiction:
Improvedependency identification accuracyVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs dependency analysis and execution order determination before actual database script execution. By pre-parsing all scripts, building the dependency graph, and determining the execution sequence in advance, the system avoids repeated analysis during execution, thus reducing overall processing time while maintaining accurate dependency identification.

Inventive Principle:
Principle #10Preliminary action

3Ease of manufacture

If manual file naming conventions are used, then implementation is simple, but synchronization issues occur in multi-user environments

Engineering Contradiction:
Improveimplementation simplicityVSAvoidsynchronization accuracy
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

The patent replaces the simple but unreliable manual file naming convention with an automated parsing system that extracts object dependencies directly from database scripts. This substitution eliminates synchronization issues by automatically determining execution order based on actual dependencies rather than relying on users to follow naming conventions, thus maintaining simplicity while improving reliability.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS12461899B2Automatic sequencing of database objects
Publication Date: 2025.11.04 DELL PROD LP
  • US12461899B2 patent drawing
  • US12461899B2 patent drawing
  • US12461899B2 patent drawing

AI summary

Methods, apparatus, and processor-readable storage media for automatically sequencing database objects are provided herein. An example computer-implemented method includes obtaining one or more database scripts to be executed on at least one database, wherein each database script is associated with one or more database objects; for each of the database scripts: parsing the database script to identify object information corresponding to the one or more database objects associated with the database script, and determining one or more dependencies of the one or more database objects based at least in part on the object information; automatically determining an order to execute the one or more database scripts based at least in part on the object dependencies of the one or more database objects determined for each of the database scripts; and initiating an execution the one or more database scripts in accordance with the determined order.