Application Context Identifiers for Correlating Database and Application Logs

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In complex database environments with multiple applications and components, traditional monitoring and diagnostic techniques face challenges in data format inconsistencies, difficulty in correlation, and inefficiencies in identifying the cause of performance issues due to temporary connections and environmental changes.

Innovation Solution

Implementing a common format and schema for logging and trace parsing, along with hierarchical structures that utilize session UUIDs and context identifiers to encapsulate error and time-spent information across components, enabling efficient correlation and identification of performance issues.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If traditional monitoring and diagnostic techniques are used in complex database environments with multiple applications, then the system can handle multiple applications accessing the database, but it becomes difficult to correlate data format inconsistencies and identify the cause of performance issues due to temporary connections and environmental changes

Engineering Contradiction:
ImproveAbility to handle multiple applicationsVSAvoidDifficulty in correlating data format inconsistencies
Core Design Contradiction:
Adaptability or versatilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent applies homogeneity by implementing a common format and schema for logging and trace parsing across all applications and components. This standardization ensures that diagnostic data from multiple sources follows a uniform structure, making it easier to correlate issues and identify patterns without the complexity of handling diverse data formats.

Inventive Principle:
Principle #33Homogeneity

Solution Approach 2:

The patent introduces context identifiers and session UUIDs as intermediary elements that link transactions across multiple applications and components. These identifiers act as mediators that enable correlation of diagnostic data throughout the system, allowing traceability of performance issues through temporary connections and environmental changes.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of manufacture

If traditional diagnostic approaches are used without unified context tracking, then implementation is simpler, but the time and effort required to identify and resolve performance issues increases

Engineering Contradiction:
ImproveEase of implementationVSAvoidTime required to identify and resolve issues
Core Design Contradiction:
Ease of manufactureVSLoss of time

Solution Approach 1:

The patent implements preliminary action by establishing context identifiers and session tracking mechanisms in advance, before performance issues occur. This proactive approach pre-structures the diagnostic data collection framework, so that when issues arise, the correlation and analysis can proceed quickly without needing to set up tracking mechanisms during problem resolution.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If hierarchical structures with session UUIDs and context identifiers are implemented, then correlation of error and time-spent information across components is improved, but the complexity of the logging and trace parsing system increases

Engineering Contradiction:
ImprovePrecision in correlating error informationVSAvoidComplexity of logging and trace parsing system
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies segmentation by breaking down the diagnostic system into hierarchical layers with standardized schemas at each level. Context identifiers and session UUIDs are segmented and organized in a structured hierarchy, allowing precise correlation of error information while maintaining manageable complexity through modular organization of logging and trace parsing components.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250231853A1Techniques for providing application contextual information
Publication Date: 2025.07.17 SALESFORCE INC
  • US20250231853A1 patent drawing
  • US20250231853A1 patent drawing
  • US20250231853A1 patent drawing

AI summary

Techniques for providing application contextual information. One or more sets of database context identifiers corresponding to events that occur within the database are generated by the database. The one or more sets of database context identifiers have at least one application context field. A session identifier corresponding to a session to be monitored is sent from the application to the database. Information to be stored in the database with the session identifier is sent to the database. Database logs and application logs are correlated using at least the session identifier.