Pluggable Database Migration Under Resource Pressure

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Database administrators face challenges in dynamically monitoring resources assigned to pluggable databases within a container database management system and determining when a pluggable database needs to be migrated to another container for additional resources.

Innovation Solution

A system is implemented that identifies and groups computing resources dedicated to a pluggable database, monitors these resources in real-time, and determines whether the pluggable database should be migrated based on monitored metrics, such as CPU usage, memory usage, and input/output usage rates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If database administrators manually monitor and manage resources for pluggable databases, then resource allocation can be controlled, but the system complexity and administrative overhead increase significantly

Engineering Contradiction:
Improveresource management reliabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system enables automated self-service resource management through the resource monitoring service that continuously monitors resource usage metrics and the resource management service that automatically relocates pluggable databases in response to resource pressure conditions, eliminating the need for manual database administrator intervention while maintaining reliable resource allocation

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system implements continuous feedback loops where the resource monitoring service collects real-time resource usage metrics, compares them against thresholds, and triggers automated relocation actions through the resource management service when resource pressure conditions are detected, creating a closed-loop control system that maintains resource balance without manual intervention

Inventive Principle:
Principle #23Feedback

2Reliability

If resources are over-provisioned to prevent resource pressure, then user response time is maintained, but resource utilization efficiency decreases

Engineering Contradiction:
Improveuser response timeVSAvoidresource utilization efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system dynamically adjusts resource allocation by continuously monitoring resource usage metrics and automatically relocating pluggable databases in response to changing resource pressure conditions, allowing the system to adapt resource distribution in real-time rather than relying on static over-provisioning, thereby maintaining user response time while improving overall resource utilization efficiency

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes operational parameters by monitoring resource usage thresholds and triggering automated relocation actions when parameters exceed defined limits, enabling dynamic resource optimization that prevents both over-provisioning and resource starvation, thus maintaining reliable user response times while maximizing resource utilization

Inventive Principle:
Principle #35Parameter changes

3Reliability

If pluggable databases are frequently migrated to balance resources, then resource pressure is reduced, but system stability and performance during migration decrease

Engineering Contradiction:
Improveresource pressure balanceVSAvoidsystem stability
Core Design Contradiction:
ReliabilityVSStability of the object's composition

Solution Approach 1:

The system uses feedback-controlled migration triggers that monitor resource pressure conditions and initiate migrations only when thresholds are exceeded, preventing unnecessary frequent migrations while ensuring resource balance is maintained, thus stabilizing the system by migrating only when genuinely needed rather than on fixed schedules or in response to minor fluctuations

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12242438B1Method for intelligent, dynamic, realtime, online relocation of pluggable databases across nodes based on system resource pressure
Publication Date: 2025.03.04 ORACLE INT CORP
  • US12242438B1 patent drawing
  • US12242438B1 patent drawing
  • US12242438B1 patent drawing

AI summary

Techniques are provided for implementing a pluggable database monitoring system that groups running processes for the pluggable database into a grouping and monitors resource usage for the grouping to determine whether to migrate the pluggable database to another container. A system identifies a set of running processes associated with a pluggable database. The pluggable database is hosted on a container DBMS, which is hosted on a virtual machine. The system generates a first grouping that contains the set of running processes. The system monitors, in real-time, aggregated resource usage of the first grouping to determine if the aggregated resource usage exceeds a first threshold. In response to the aggregated resource usage of the first grouping exceeding the first threshold, the system migrates the first pluggable database to a second container DBMS.