Compression Analyzer for Sample-Based Tabular Data Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for automatically compressing tabular data require significant programming and user expertise, struggle to achieve the best compression-performance balance, and are inefficient in selecting optimal compression techniques due to the need for pattern detection and logic modifications with each new technique development.

Innovation Solution

A compression analyzer that allows users to specify a balance point between performance and compression, automatically selects compression techniques by testing candidate techniques on sample data, and considers combinations and sequences of techniques without requiring detailed knowledge of the techniques' implementation, enabling efficient compression without altering existing logic.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Extent of automation

If automated compression technique selection is implemented using pattern detection (Potter approach), then compression can be selected automatically, but significant programming effort is required to add new compression techniques

Engineering Contradiction:
Improveautomated compression selectionVSAvoidprogramming effort
Core Design Contradiction:
Extent of automationVSDevice complexity

Solution Approach 1:

The patent introduces a compression analyzer as an intermediary component that tests candidate compression techniques on sample data and automatically selects the best technique. This mediator handles the complexity of evaluating multiple compression techniques and their patterns, eliminating the need for programmers to manually detect patterns and weigh different techniques when adding new compression methods.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The compression analyzer performs self-service by automatically testing candidate compression techniques against sample data from the target table and selecting the optimal technique based on compression ratio and performance characteristics. This self-service mechanism eliminates the need for external programming intervention when incorporating new compression techniques, as the system autonomously evaluates and selects the best approach.

Inventive Principle:
Principle #25Self-service

2Loss of substance

If high-compression algorithms are selected based on data patterns, then compression ratio improves, but overhead increases and may be unacceptable

Engineering Contradiction:
Improvestorage spaceVSAvoidoverhead
Core Design Contradiction:
Loss of substanceVSEase of operation

Solution Approach 1:

The patent applies partial action by testing compression techniques on sample data rather than committing to high-compression algorithms for entire tables without verification. The compression analyzer evaluates candidate techniques on representative samples and selects only those that achieve acceptable compression ratios without excessive overhead, avoiding the pitfall of universally applying high-compression methods that may not be appropriate for all data characteristics or access patterns.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system changes parameters by dynamically selecting compression techniques based on data characteristics, access patterns, and performance requirements. Rather than fixed high-compression algorithms, the compression analyzer adjusts the selection of compression techniques and their parameters to optimize the balance between compression ratio and overhead for each specific table and workload scenario.

Inventive Principle:
Principle #35Parameter changes

3Loss of substance

If user control over compression selection is provided, then optimal compression can be achieved for sophisticated users, but most users are overwhelmed by options

Engineering Contradiction:
Improvestorage spaceVSAvoiduser complexity
Core Design Contradiction:
Loss of substanceVSEase of operation

Solution Approach 1:

The compression analyzer serves as an intermediary between the user and the complex compression technique selection process. It automatically evaluates candidate compression techniques, tests them on sample data, and recommends optimal choices, shielding most users from the complexity of multiple compression options while still allowing sophisticated users to review and adjust the analyzer's recommendations if desired.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Measurement precision

If compression techniques are tested on sample data, then optimal compression can be selected, but testing overhead must be managed

Engineering Contradiction:
Improvecompression selection accuracyVSAvoidtesting overhead
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies partial action by testing compression techniques on carefully selected sample data rather than exhaustively testing all possible techniques on entire tables. The compression analyzer uses representative samples to evaluate candidate compression techniques, achieving sufficient measurement precision for optimal selection while minimizing the time and computational overhead associated with extensive testing.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS8356060B2Compression analyzer
Publication Date: 2013.01.15 ORACLE INT CORP
  • US8356060B2 patent drawing
  • US8356060B2 patent drawing
  • US8356060B2 patent drawing

AI summary

Techniques are described herein for automatically selecting the compression techniques to be used on tabular data. A compression analyzer gives users high-level control over the selection process without requiring the user to know details about the specific compression techniques that are available to the compression analyzer. Users are able to specify, for a given set of data, a “balance point” along the spectrum between “maximum performance” and “maximum compression”. The point thus selected is used by the compression analyzer in a variety of ways. For example, in one embodiment, the compression analyzer uses the user-specified balance point to determine which of the available compression techniques qualify as “candidate techniques” for the given set of data. The compression analyzer selects the compression technique to use on a set of data by actually testing the candidate compression techniques against samples from the set of data. After testing the candidate compression techniques against the samples, the resulting compression ratios are compared. The compression technique to use on the set of data is then selected based, in part, on the compression ratios achieved during the compression tests performed on the sample data.