Database Driver Schema Exposure via Configuration File

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional database systems are limited in updating and exposing database schema information, leading to tight coupling between drivers and databases, and lack flexibility in schema representation, resulting in inefficient data access and manipulation.

Innovation Solution

A configuration file is used to retrieve database schema information through query, hard-coded data, or an override method, allowing for flexible and efficient exposure of schema details without requiring updates to driver or database binaries, enabling separate collections for structure and content and supporting new data types without corresponding driver versions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If database schema information is exposed through conventional query mechanisms or hard-coded data, then the driver can provide metadata about existing data types, but the driver must be updated simultaneously with the database when new data types are introduced, creating tight coupling between driver and database

Engineering Contradiction:
Improvedriver-database couplingVSAvoidschema update flexibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent introduces a configuration file as an intermediary layer between the database and the driver. This configuration file stores schema information in a separate, accessible location that the driver can read without requiring direct integration with the database binary. When the database introduces new data types, the configuration file can be updated independently to provide metadata about these new types, eliminating the need to update the driver simultaneously with the database.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If database schema information is exposed through pre-determined collections with fixed formats, then the driver can retrieve schema data, but the structure and content become unduly large and complex, increasing the time required to read and search collections

Engineering Contradiction:
Improveschema information retrieval speedVSAvoidcollection structure complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the schema information into separate, organized collections within the configuration file. Instead of a single monolithic collection containing both content and structure, the system divides the information into distinct collections (e.g., one for structure metadata, another for content metadata). This segmentation reduces the complexity of individual collections, making them easier and faster to read and search while maintaining complete schema information.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS7412456B2System and method for improved exposure of database schema information
Publication Date: 2008.08.12 MICROSOFT TECHNOLOGY LICENSING LLC
  • US7412456B2 patent drawing
  • US7412456B2 patent drawing
  • US7412456B2 patent drawing

AI summary

Systems and methods for improved exposure of database schema information are disclosed. Generally, a database driver may retrieve and provide database schema information according to one of two default methods or, also, a third override method. The first default method is to execute a query on the database. The second default method is to retrieve information from a hard-coded collection stored locally at the driver. The third override method is to retrieve information from a designated file that may be updated at any time without having to update the database and/or driver binaries.