Variational Autoencoder Synthetic Workload Classification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Properly tuning database system configuration knobs based on specific workload characteristics and hardware capabilities is a time-consuming and complex task, requiring substantial human effort and often resulting in inefficient workload classification.

Innovation Solution

An automated database system workload classification method using a variational autoencoder to encode utilization metrics vectors into latent features, generate distributions, and create synthetic workload vectors, which are then used to train a workload classification platform to generate accurate classification labels for tuning database parameters.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If automated workload classification is implemented using variational autoencoders and synthetic workload vectors, then workload classification accuracy and tuning efficiency are improved, but system complexity and computational resources required increase

Engineering Contradiction:
Improveworkload classification efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system performs preliminary actions by pre-processing real workload metrics through the variational autoencoder to learn latent distributions before actual classification needs occur. Synthetic workload vectors are generated in advance to create a comprehensive training dataset, enabling the classification model to be pre-trained and ready for rapid deployment without requiring complex real-time analysis infrastructure.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The invention creates synthetic copies of workload vectors by sampling from learned latent distributions. These synthetic workload vectors replicate the statistical characteristics of real workloads without requiring actual real-time data, allowing the classification system to be trained extensively on diverse scenarios without additional computational overhead during operation.

Inventive Principle:
Principle #26Copying

2Loss of time

If manual analysis and human effort are used to tune database configuration knobs, then system complexity remains low, but time consumption and labor costs increase

Engineering Contradiction:
Improvetuning timeVSAvoidautomation level
Core Design Contradiction:
Loss of timeVSExtent of automation

Solution Approach 1:

The system enables self-service by automatically classifying workloads and recommending configuration optimizations without human intervention. The variational autoencoder-based classification platform autonomously processes workload metrics, generates synthetic training data, trains classification models, and produces tuning recommendations, eliminating the need for manual database administrator analysis and reducing tuning time from hours to minutes.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The invention replaces manual mechanical analysis processes with an automated computational system. Instead of human experts manually examining workload patterns and adjusting configuration knobs, the system uses variational autoencoders and machine learning models to automatically detect workload characteristics and generate optimization recommendations, significantly reducing time consumption while maintaining or improving accuracy.

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

3Measurement precision

If more real workload data is collected for training the classification platform, then classification accuracy improves, but data storage requirements and processing overhead increase

Engineering Contradiction:
Improveclassification accuracyVSAvoiddata volume
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The variational autoencoder serves as an intermediary that transforms high-dimensional real workload metrics into a compressed latent space representation. By learning the underlying probability distributions in this latent space, the system can generate synthetic workload vectors that capture essential characteristics without requiring storage and processing of vast amounts of original high-dimensional data, maintaining classification accuracy while reducing data volume requirements.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system changes parameters by transforming workload data from its original high-dimensional form through the variational autoencoder's latent space. This parameter transformation allows the generation of diverse synthetic workload vectors by sampling from learned distributions, effectively increasing the variety and quantity of training data without collecting additional real workload metrics, thereby improving classification accuracy without proportionally increasing data storage requirements.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11210275B2Synthetic workload generation for workload classification
Publication Date: 2021.12.28 SAP SE
  • US11210275B2 patent drawing
  • US11210275B2 patent drawing
  • US11210275B2 patent drawing

AI summary

A system and method are disclosed to facilitate automated database system workload classification. A utilization metrics data source may contain utilization metrics vectors associated with workloads of the database system. A variational autoencoder may receive utilization metrics vectors from the utilization metrics data source and encode the utilization metrics vectors into latent vector features. Moreover, the variational autoencoder may be trained to generate appropriate distributions around the latent vector features. A synthetic workload creation platform receives information about the distributions around the latent vector features and samples different values from the distributions to create synthetic workload vectors. A workload classification platform, trained using the synthetic workload vectors, may then generate workload classification labels for workloads running on the database system (e.g., to tune database parameters as appropriate).