Dynamic Database Deactivation for Cloud Resource Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In cloud computing environments, databases that are not actively used for extended periods consume valuable resources without contributing to user workloads, leading to unnecessary costs and resource inefficiencies.

Innovation Solution

Implement a method to detect inactive databases and deactivate them by storing minimal metadata and database files remotely, while removing runtime resources, ensuring transactional consistency, and allowing for on-demand reactivation when user activity resumes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If databases are kept alive without running user workload for extended periods, then database availability is maintained, but cluster resources are wasted and costs increase

Engineering Contradiction:
Improvedatabase availabilityVSAvoidcluster resource consumption
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The database system dynamically transitions between active and deactivated states based on workload conditions. When no user workload is detected for a threshold period, the database is automatically deactivated to release resources. When workload arrives, the database is reactivated, ensuring both resource efficiency and availability on demand.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the operational state parameter of the database from active to deactivated based on workload monitoring. This parameter change allows the database to consume minimal resources during idle periods while maintaining the capability to resume full operation when needed.

Inventive Principle:
Principle #35Parameter changes

2Loss of energy

If databases are deactivated to save resources, then resource efficiency improves, but reactivation complexity increases

Engineering Contradiction:
Improveresource efficiencyVSAvoidreactivation process complexity
Core Design Contradiction:
Loss of energyVSDevice complexity

Solution Approach 1:

Before deactivating a database, the system performs preliminary actions to ensure safety: checking for active user connections, verifying no pending transactions exist, and ensuring data integrity. This preliminary validation simplifies the reactivation process by ensuring the database is in a clean state ready for quick resume.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The database system implements self-service reactivation through automated workload-driven triggers. When user workload is detected, the system automatically reactsuates the database without manual intervention, reducing operational complexity while maintaining resource efficiency.

Inventive Principle:
Principle #25Self-service

3Productivity

If databases are deactivated by removing runtime resources, then resource allocation efficiency improves, but service responsiveness deteriorates during reactivation

Engineering Contradiction:
Improveresource allocation efficiencyVSAvoidservice responsiveness
Core Design Contradiction:
ProductivityVSSpeed

Solution Approach 1:

The system implements periodic monitoring of workload conditions to determine when deactivation should occur. This periodic check ensures databases are deactivated only when truly idle, minimizing unnecessary reactivations and maintaining responsive service when actual workload exists.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The system uses feedback from workload monitoring to control database activation states. When workload feedback indicates user activity, the database is reactivated; when feedback shows continued idle state, the database remains deactivated. This feedback loop optimizes both resource efficiency and service responsiveness.

Inventive Principle:
Principle #23Feedback

Data Source

PatentEP3479234B1Dynamic deactivation of cold database in database service
Publication Date: 2022.02.16 MICROSOFT TECHNOLOGY LICENSING LLC
  • EP3479234B1 patent drawingFigure 1
  • EP3479234B1 patent drawingFigure 2

AI summary

Managing databases implemented in a cloud computing environment. A method includes detecting that a database implemented in the cloud computing environment is in a state of non-use. The method further includes as a result of detecting that a database implemented in the cloud computing environment is in a state of non-use, instantiating a workload in the cloud computing environment to deactivate the database. The workload is configured to store metadata for the database and database data remotely in cloud storage such that the database can be reactivated at a later time.