Reinforcement Learning Index Selection Under Storage Constraints

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing index selection methods for database systems struggle to balance storage consumption and performance gain efficiently, particularly for complex workloads, and fail to provide high-quality solutions quickly, especially in cloud environments with dynamically changing workloads.

Innovation Solution

A reinforcement learning-based index selection method using Proximal Policy Optimization (PPO) to iteratively determine an optimal set of indexes, incorporating workload representation and dynamically restricted action spaces, allowing for multi-attribute indexes and storage budget constraints.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If traditional iterative index selection algorithms are used, then high-quality index selection can be achieved, but the runtime becomes very long

Engineering Contradiction:
Improveindex selection qualityVSAvoidindex selection runtime
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent replaces traditional mechanical iterative algorithms with a reinforcement learning-based system. The RL agent learns to select indexes by interacting with the database workload, using neural networks to evaluate index candidates and prioritize actions. This substitution of the decision-making mechanism enables faster index selection while maintaining high quality through learned policies optimized for both performance and runtime.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent changes the fundamental parameters of the index selection process by introducing reinforcement learning components. Instead of traditional iterative evaluation, the system uses RL agents that learn from workload patterns, employing policies and value functions to make decisions. This parameter change in the algorithmic approach enables simultaneous optimization of solution quality and computation time.

Inventive Principle:
Principle #35Parameter changes

2Extent of automation

If cloud database systems with dynamically changing workloads are deployed, then total cost of ownership is reduced, but the complexity of maintaining optimized configurations increases

Engineering Contradiction:
Improveconfiguration optimizationVSAvoidworkload management complexity
Core Design Contradiction:
Extent of automationVSDevice complexity

Solution Approach 1:

The patent implements self-service through autonomous RL agents that automatically adapt index selections to changing workloads. The agents continuously learn from workload patterns and adjust index configurations without human intervention. This automation handles the complexity of maintaining optimized configurations in cloud environments, allowing the system to adapt dynamically while reducing operational burden.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system employs feedback mechanisms where RL agents observe workload execution patterns and use this information to refine their index selection policies. The agents learn from actual query performance and adjust their decisions accordingly, creating a closed-loop system that automatically optimizes configurations in response to changing cloud workloads.

Inventive Principle:
Principle #23Feedback

3Quantity of substance

If reductive index selection approaches are used, then storage consumption is reduced, but the runtime increases significantly due to many iterations

Engineering Contradiction:
Improvestorage consumptionVSAvoidselection runtime
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent applies preliminary action by having the RL agent learn and prioritize index candidates before actual selection occurs. The agent evaluates and ranks potential indexes based on predicted workload patterns, enabling faster selection without exhaustive iteration. This pre-computation of index priorities significantly reduces runtime while maintaining efficient storage consumption.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12530336B2Training an agent for iterative multi-attribute index selection
Publication Date: 2026.01.20 HASSO PLATTNER INST FUR DIGITAL ENG GGMBH
  • US12530336B2 patent drawing
  • US12530336B2 patent drawing
  • US12530336B2 patent drawing

AI summary

Embodiments relate to a method for training an index selection agent for iteratively determining an index set I to be used when running queries against a database, the method being implemented in a computer system. Preferably, the index selection agent is based on Reinforcement Learning.