Database Configuration Overrides for Query-Specific Performance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database configuration settings, such as GUCs, apply uniformly to all queries, failing to account for the specific needs of individual tenants or queries, leading to suboptimal performance for certain queries.

Innovation Solution

A database system that allows for configuration settings overrides tailored to specific entities, queries, or groups of users, determining overrides based on query metadata and applying them to customize settings for query execution.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If uniform configuration settings are applied to all queries, then system simplicity and ease of management are improved, but query performance and adaptability to specific tenant needs deteriorate

Engineering Contradiction:
Improveease of managementVSAvoidadaptability to tenant needs
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The patent segments configuration settings into multiple levels: global default settings applicable to all queries, and query-specific override settings that can be tailored to individual queries, tenants, or user groups. This segmentation allows the system to maintain simple global defaults while enabling detailed customization where needed, resolving the contradiction between ease of management and adaptability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements local quality by allowing configuration settings to vary at different levels of specificity. Global defaults provide a baseline configuration for all queries, while query-specific overrides provide localized customization for particular queries, tenants, or user groups. This enables the system to be simple where uniformity is adequate and detailed where specific needs arise.

Inventive Principle:
Principle #3Local quality

2Productivity

If query-specific configuration overrides are implemented, then query performance and adaptability are improved, but system complexity and configuration management difficulty increase

Engineering Contradiction:
Improvequery performanceVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by pre-defining configuration settings at the global level that work for most queries. Query-specific overrides are only created when needed, rather than pre-configuring all possible query scenarios. This reduces system complexity by avoiding unnecessary configuration management while maintaining the ability to optimize performance when required.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses copying by allowing query-specific configuration overrides to inherit from global default settings. Instead of creating entirely new configuration sets for each query, the system copies the global defaults and applies selective overrides only where customization is needed. This reduces complexity by reusing existing configurations rather than managing completely separate configuration sets.

Inventive Principle:
Principle #26Copying

3Stability of the object's composition

If global configuration settings are used, then system stability and consistency are improved, but ability to handle specific query requirements deteriorates

Engineering Contradiction:
Improvesystem consistencyVSAvoidability to handle specific requirements
Core Design Contradiction:
Stability of the object's compositionVSAdaptability or versatility

Solution Approach 1:

The patent introduces dynamics by making the configuration system flexible and adaptive rather than static. The system dynamically selects between global default settings and query-specific overrides based on the particular query being executed. This allows the system to maintain consistency through global defaults while adapting to specific query requirements through selective overrides, resolving the contradiction between stability and adaptability.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20250245229A1Database Configuration Setting Overrides
Publication Date: 2025.07.31 SALESFORCE INC
  • US20250245229A1 patent drawing
  • US20250245229A1 patent drawing
  • US20250245229A1 patent drawing

AI summary

Techniques are disclosed relating to database configuration settings overrides. In some embodiments, a database system stores a set of default configuration settings that control operation of the database system. The database system receives a query requesting data from the database system, and metadata about the query. The database system determines, based on the query and the metadata, that a configuration settings override has been specified for the query, where the configuration settings override indicates that one or more of the default configuration settings are to be replaced with one or more configuration settings specific to the query. In response to the determining that a configuration settings override has been specified, the database system executes the query using the one or more specific configuration settings.