Cache Abstraction Using Counter Groups for Database Performance Modeling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Modeling large numbers of objects in database management systems, such as cache hierarchies, becomes complex and difficult to analyze due to the extensive simulation required, leading to challenges in tracking and improving simulation results.

Innovation Solution

The use of counter groups to represent each cache in the cache hierarchy, allowing for the computation of hit rates and diagnostic outputs to analyze cache behavior and performance, with preloading of counter values to model steady-state behavior and simulate transient cache behavior.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If each object in the database management system is modeled to analyze performance, then performance analysis accuracy is improved, but the complexity of tracking and analyzing simulation results increases

Engineering Contradiction:
Improveperformance analysis accuracyVSAvoidcomplexity of tracking simulation results
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent merges multiple individual object models into a unified counter group structure. Instead of tracking each object separately, the counter group aggregates statistics across all objects, combining their behaviors into a single manageable model that maintains performance analysis accuracy while reducing tracking complexity

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent creates a simplified counter group representation that copies the essential performance characteristics of individual objects without replicating their full complexity. This abstraction allows the system to maintain measurement precision while significantly reducing the complexity of simulation result tracking

Inventive Principle:
Principle #26Copying

2Measurement precision

If a large number of objects are simulated to represent cache hierarchy, then performance prediction accuracy is improved, but the difficulty of analyzing simulation results increases

Engineering Contradiction:
Improveperformance prediction accuracyVSAvoiddifficulty of analyzing simulation results
Core Design Contradiction:
Measurement precisionVSDifficulty of detecting and measuring

Solution Approach 1:

The patent extracts key performance metrics from the complex simulation of individual objects and consolidates them into the counter group. This extraction process maintains performance prediction accuracy by preserving essential statistical characteristics while making the simulation results easier to analyze through aggregated data

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The counter group acts as an intermediary between the detailed object simulations and the final performance analysis. It mediates the complexity by providing a summarized representation of object behaviors that maintains prediction accuracy while simplifying the detection and measurement of simulation results

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS7571188B1Cache abstraction for modeling database performance
Publication Date: 2009.08.04 ORACLE AMERICAN INC
  • US7571188B1 patent drawing
  • US7571188B1 patent drawing
  • US7571188B1 patent drawing

AI summary

A method for modeling a database management system involving receiving a query, computing a hit rate value associated with a cache, wherein the hit rate value is computed using a counter group, comparing the hit rate value to a predetermined value to obtain a result, providing a reply to the query if the result is a hit, incrementing a counter in the counter group when the cache is not full and proceeding to a next cache if the result is a miss, and providing a diagnostic output for the database management system.