External Volume Consistency Flags for Accurate Database Queries

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional database systems struggle with data consistency checks when integrating external data sources that have different data schemas and storage formats, leading to potential data integrity issues and errors that propagate across business processes.

Innovation Solution

A network-based database system performs data consistency checks by monitoring changes in read-only storage, setting flags for inconsistencies, generating reports, and notifying users, while using credential-less external storage location objects to manage access permissions without sharing security credentials, ensuring robust data validation and error detection across internal and external volumes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional database systems perform data consistency checks on external data sources with different schemas and formats, then data integrity can be maintained, but system complexity and processing time increase significantly

Engineering Contradiction:
Improvedata integrityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary consistency check mechanism that acts as a mediator between the database system and external data sources. This intermediary layer handles the complexity of schema mapping and format conversion, allowing the database to maintain data integrity without directly confronting the complexity of diverse external data formats. The intermediary translates and validates data during transfer, isolating the database core from format-related complexities.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The consistency check process is segmented into distinct phases: schema validation, format conversion, data mapping, and integrity verification. Each phase handles a specific aspect of the consistency check, allowing the system to process external data systematically. This segmentation reduces overall system complexity by breaking down the monolithic consistency check into manageable, specialized components.

Inventive Principle:
Principle #1Segmentation

2Reliability

If comprehensive data consistency checks are performed on all external data, then data quality improves, but processing speed and productivity decrease

Engineering Contradiction:
Improvedata qualityVSAvoidprocessing speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements partial consistency checks that focus on critical data elements and schemas rather than performing exhaustive validation on every data point. High-priority fields undergo strict validation, while less critical fields receive streamlined checking. This partial action approach maintains acceptable data quality while significantly improving processing speed by avoiding unnecessary comprehensive validation of all data.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

Schema validation and format verification are performed preliminarily before actual data processing begins. By checking data structures and formats in advance, the system identifies and resolves potential consistency issues before they impact processing speed. This preliminary action ensures data quality is maintained while preventing rework during subsequent processing stages.

Inventive Principle:
Principle #10Preliminary action

3Ease of operation

If security credentials are shared for accessing external storage locations, then access control is simplified, but security vulnerabilities increase

Engineering Contradiction:
Improveaccess controlVSAvoidsecurity vulnerabilities
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The patent extracts security credentials from the access control mechanism itself, separating authentication from authorization. Instead of sharing credentials for both access control and data validation, the system uses credential-less verification methods where the database system can verify data provenance and integrity without possessing actual security credentials. This extraction eliminates the security vulnerability of credential sharing while maintaining operational simplicity through alternative verification approaches.

Inventive Principle:
Principle #2Taking out (Extraction)

4Reliability

If data consistency monitoring is continuously performed on read-only storage, then data integrity is maintained, but system resources and energy consumption increase

Engineering Contradiction:
Improvedata integrityVSAvoidsystem resources
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent implements periodic consistency monitoring instead of continuous monitoring of read-only storage. Data integrity checks are performed at scheduled intervals or triggered by specific events such as data write operations or external modifications. This periodic action maintains data integrity by detecting inconsistencies when they occur while significantly reducing system resource consumption compared to continuous monitoring, as the monitoring mechanism remains dormant between check intervals.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS20250355862A1Data consistency service for internal and external volumes
Publication Date: 2025.11.20 SNOWFLAKE INC
  • US20250355862A1 patent drawing
  • US20250355862A1 patent drawing
  • US20250355862A1 patent drawing

AI summary

A network-based database system that performs consistency checks on data files to which the network-based database system does not have write access is provided. The network-based database system monitors a data file stored in a read-only storage system for changes. Upon detecting a change, the network-based database system performs a data consistency check using the content of the data file and its first metadata. If an inconsistency between the content and the first metadata is detected, the network-based database system sets a flag in second metadata, which is stored in a writable storage system, indicating the detected inconsistency. The network-based database system detects this flag during the execution of a query against a data object of the data file and executes the query without query performance tuning based on the detection of the flag, ensuring accurate query results.