In-Memory Database Admission Control Simulation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Database systems face challenges in defining an effective admission control policy due to query interference, leading to underutilized resources at low concurrency levels and excessive contention delays at high levels, affecting overall performance.

Innovation Solution

A simulation model is implemented with an admission queue and a finite capacity region to evaluate admission control policies, generating performance parameters by simulating response times and concurrency levels, allowing for what-if comparisons and evaluation of policies like FCFS and custom policies.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of energy

If a relatively small concurrency level is chosen, then resource utilization is improved, but throughput deteriorates

Engineering Contradiction:
Improveresource utilizationVSAvoidthroughput
Core Design Contradiction:
Loss of energyVSProductivity

Solution Approach 1:

The system dynamically adjusts the concurrency level based on system state and query characteristics. The admission control policy evaluates multiple factors including current resource utilization, query complexity, and system load to determine the optimal number of concurrent queries, transforming the static concurrency parameter into a dynamic one that adapts to changing conditions.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The invention changes the parameter of concurrency level from a fixed value to a variable that can be adjusted based on system conditions. By implementing an admission control policy that modifies the effective concurrency level dynamically, the system can optimize both resource utilization and throughput under different operating conditions.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If a relatively large concurrency level is chosen, then throughput is improved, but contention delays worsen

Engineering Contradiction:
ImprovethroughputVSAvoidcontention delays
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The admission control policy dynamically controls the admission of new queries based on current system state, preventing excessive concurrency that would lead to contention. By monitoring system metrics and adjusting admission rates in real-time, the system maintains throughput while avoiding the detrimental effects of excessive contention delays.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system implements feedback mechanisms that monitor contention levels and system performance metrics. Based on this feedback, the admission control policy adjusts the concurrency level to prevent excessive contention delays while maintaining high throughput, creating a closed-loop control system that responds to actual system conditions.

Inventive Principle:
Principle #23Feedback

3Productivity

If a relatively large concurrency level is chosen, then throughput is improved, but memory resource exhaustion worsens

Engineering Contradiction:
ImprovethroughputVSAvoidmemory resources
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The admission control policy dynamically adjusts concurrency levels based on available memory resources. By continuously monitoring memory usage and adapting the number of concurrent queries accordingly, the system maintains high throughput when memory is abundant while preventing exhaustion when memory resources are limited.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The invention changes the concurrency level parameter based on memory resource availability. The admission control mechanism modifies this parameter dynamically, allowing higher concurrency when memory resources are plentiful and reducing concurrency when memory is constrained, thus optimizing throughput while preventing resource exhaustion.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9111022B2Simulation techniques for predicting in-memory database systems performance
Publication Date: 2015.08.18 SAP SE
  • US9111022B2 patent drawing
  • US9111022B2 patent drawing
  • US9111022B2 patent drawing

AI summary

Methods for performance evaluation of admission control policies (ACPs) include storing a simulation model including an admission queue and a finite capacity region (FCR), the admission queue admitting queries to the FCR based on an active ACP, the FCR modeling a resource constraint, generating traces, each trace being generated based on processing a single query using the database system, the single query being associated with a query type of a plurality of query types, for each query type, determining a query fork size and a service time from an associated trace to provide a plurality of tuples, each tuple being associated with a query type and including the fork size and the service time associated with the query type, parameterizing the simulation model based on the plurality of tuples, and for each of the ACPs, generating a performance parameter by applying a workload to the simulation model.