Skew Detection in Massively Parallel Processing Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Massively parallel processing systems face inefficiencies due to unacceptably skewed query processing, where conventional manual analysis by experienced analysts is time-consuming and delays the identification of queries needing tuning.

Innovation Solution

An electronic method to identify unacceptably skewed queries by extracting processing data from computer logs, filtering unsuitable queries, and calculating skew using equations based on CPU and I/O operations, flagging queries for tuning when actual skew exceeds acceptable levels.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual analysis by experienced analysts is used to determine acceptable skew, then accuracy in identifying skewed queries is improved, but analysis time and operational complexity increase significantly

Engineering Contradiction:
Improveaccuracy in identifying skewed queriesVSAvoidanalysis time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs self-diagnosis by automatically extracting processing data from logs, calculating actual skew values using the formula (max processing time - min processing time) / average processing time, and comparing against acceptable thresholds without requiring external analyst intervention. This automated self-assessment resolves the contradiction by eliminating manual analysis time while maintaining identification accuracy through systematic computational methods.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces the mechanical manual analysis process with an automated electronic system that extracts data from logs, computes skew metrics using standardized formulas, and flags queries for tuning. This substitution eliminates the time-consuming human review process while maintaining measurement precision through consistent algorithmic evaluation of processing time variations across processors.

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

2Measurement precision

If manual analysis by experienced analysts is used to determine acceptable skew, then expertise-based judgment is improved, but device complexity and operational difficulty increase

Engineering Contradiction:
Improveexpertise-based judgmentVSAvoidoperational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system encapsulates expert knowledge within automated algorithms that extract processing data from logs, calculate skew values using standardized formulas, and compare against pre-established acceptable thresholds. This self-service approach replaces complex human expertise with systematic computational procedures, reducing operational complexity while maintaining judgment quality through consistent application of tuning criteria.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent transforms the complex qualitative judgment process into quantitative parameter evaluation by calculating specific skew metrics (actual skew value and acceptable skew threshold) from processing time data. This parameter-based approach simplifies the operational process by reducing expert judgment to straightforward numerical comparisons, thereby reducing device complexity while preserving measurement precision.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If queries are not identified and tuned promptly, then processing efficiency deteriorates due to backed up queries, but automated identification systems add complexity to the system

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements an automated electronic system that substitutes manual monitoring with continuous log analysis, automatic skew calculation using processing time data, and real-time flagging of queries exceeding acceptable thresholds. This automation maintains high processing efficiency by promptly identifying skewed queries while managing system complexity through standardized algorithms and integrated log extraction capabilities.

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

Solution Approach 2:

The system establishes a feedback loop by continuously extracting processing data from logs, calculating actual skew values, comparing against acceptable thresholds, and flagging queries for tuning when skew exceeds limits. This automated feedback mechanism maintains processing efficiency by providing real-time identification of problematic queries while managing complexity through systematic data flow and decision logic embedded in the electronic identification process.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS8219537B1Identifying skewed queries in an MMP system
Publication Date: 2012.07.10 BANK OF AMERICA CORP
  • US8219537B1 patent drawing
  • US8219537B1 patent drawing
  • US8219537B1 patent drawing

AI summary

Apparatus and methods for determination of unacceptable skew for query in a massively parallel processing system. The apparatus and methods may use data associated with processing the query that has been stored in computer logs. The processing data may be used to determine the actual level of skew for the query. The apparatus and methods may calculate an acceptable level of skew. If the actual skew exceeds the acceptable skew, the query may be considered unacceptably skewed and may be flagged for tuning.