Shadow Audit Module for Cross-Platform Database Auditing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current database auditing tools are limited to specific application databases and do not support multiple database platforms, requiring manual design and implementation of audit tables and triggers, which is inefficient and lacks cross-platform compatibility.

Innovation Solution

A shadow audit module automates the generation and implementation of data auditing functionality across multiple database platforms by creating audit SQL code and audit triggers, replicating data modifications in shadow audit data tables, and tracking historical changes, allowing for centralized auditing across different database systems.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If manual design and implementation of audit tables with triggers is used, then auditing functionality can be achieved for a specific database, but the process is time-consuming and cannot support multiple database platforms

Engineering Contradiction:
Improvecross-platform compatibilityVSAvoidimplementation time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent creates a universal auditing system that generates platform-specific audit tables and triggers through automated code generation. The system uses a configuration file to define auditing parameters and automatically generates the appropriate SQL code for different database platforms (Oracle, SQL Server, DB2, etc.), making the auditing functionality universal across multiple platforms without requiring manual redesign for each platform

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system performs preliminary actions by automatically generating the audit table schemas, trigger code, and SQL statements before actual auditing begins. The configuration file is processed in advance to create all necessary database objects and auditing infrastructure, so that when auditing starts, the complete platform-specific implementation is already in place, eliminating time-consuming manual setup

Inventive Principle:
Principle #10Preliminary action

2Productivity

If automated shadow audit module is used, then auditing can be implemented across multiple platforms efficiently, but requires generation and management of audit SQL code and configuration files

Engineering Contradiction:
Improveauditing implementation efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces a configuration file as an intermediary between the automated shadow audit module and the database platforms. This configuration file contains all the auditing parameters, table names, and platform-specific settings in a standardized format. The shadow audit module reads this intermediary configuration to generate the appropriate SQL code, simplifying the system by centralizing complexity in a manageable configuration file rather than requiring direct complex interactions with multiple database platforms

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system uses copying by generating template-based SQL code that is replicated and adapted for different database platforms. The shadow audit module maintains templates for audit table structures and trigger implementations, then automatically copies and customizes these templates for each target platform based on the configuration file, significantly reducing the complexity of manual implementation across multiple platforms

Inventive Principle:
Principle #26Copying

Data Source

PatentUS10360203B2Systems and methods for generating and implementing database audit functionality across multiple platforms
Publication Date: 2019.07.23 MCKESSON SPECIALTY CARE DISTRIBUTION
  • US10360203B2 patent drawing
  • US10360203B2 patent drawing
  • US10360203B2 patent drawing

AI summary

Systems and methods are provided for generating and implementing data auditing functionality supporting multiple database platforms. A database management computer system can engage a shadow audit module to automate and optimize the implementation of data auditing functionality for multiple database platforms that may be utilized by an enterprise application to record data interactions (e.g., insertions, updates, deletions, etc). The shadow audit module may run generated audit SQL code to create an audit trigger in the selected main data tables. Each audit trigger may be a procedure and/or a flag that is stored in the main data table to run or transmit a signal indicating a change may have occurred on the record indicating the required replication of the modification in the shadow audit data table.