Multi-Table Character Compression for Mixed Data Streams

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current database systems face challenges in determining the optimal compression algorithm for different data types, requiring significant manual effort and lacking flexibility in handling various data characteristics, especially for petabyte-scale data warehouses.

Innovation Solution

The system employs multiple encoding tables and allows for the definition of new tables on the fly, leveraging different compression algorithms to automatically select the most suitable one for specific input data, expanding the capabilities of existing compression schemes like CAMSET to support more languages and usages.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If multiple encoding tables and compression algorithms are used, then compression performance is improved, but device complexity increases

Engineering Contradiction:
Improvecompression performanceVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system divides the compression task into multiple segments by maintaining separate encoding tables for different data types (e.g., one table for numeric data, another for alphanumeric data). Each encoding table is specialized for a specific data characteristic, allowing the system to achieve high compression performance for each segment while keeping individual table complexity manageable.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The compression system is designed with multi-functionality by incorporating multiple encoding tables and compression algorithms that can handle various data types. The system can automatically select the appropriate encoding table based on the input data characteristics, making it universally applicable to different data formats while maintaining optimal compression performance.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Productivity

If manual selection of compression algorithm is required, then compression performance can be optimized, but ease of operation deteriorates

Engineering Contradiction:
Improvecompression performanceVSAvoidmanual effort required
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The system implements self-service by automatically analyzing the input data characteristics and selecting the most appropriate encoding table and compression algorithm without requiring manual intervention. The system autonomously determines which encoding table to use based on data type detection, eliminating the need for users to manually configure compression parameters while maintaining optimal compression performance.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system incorporates feedback mechanisms by continuously monitoring the compression results and data characteristics, then automatically adjusting the selection of encoding tables and algorithms. This feedback loop allows the system to learn from compression performance and adapt to different data types, achieving optimized compression without manual effort.

Inventive Principle:
Principle #23Feedback

3Device complexity

If a single compression algorithm is used, then device complexity is reduced, but adaptability deteriorates

Engineering Contradiction:
Improvesystem complexityVSAvoidhandling different data characteristics
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The system applies dynamics by making the encoding table selection flexible and adaptive rather than fixed. The system dynamically selects the appropriate encoding table based on the characteristics of the input data, allowing it to adapt to different data types (numeric, alphanumeric, etc.) while maintaining a relatively simple overall structure. This dynamic selection mechanism enables versatility without requiring a complex fixed architecture for each possible data type.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS8872679B1System and method for data compression using multiple small encoding tables
Publication Date: 2014.10.28 TERADATA CORP
  • US8872679B1 patent drawing
  • US8872679B1 patent drawing
  • US8872679B1 patent drawing

AI summary

A system and method for compressing and decompressing multiple types of character data. The system and method employ multiple encoding tables, each designed for encoding a subset of character data, such as numeric data, uppercase letters, lowercase letters, Latin, or UNICODE data, to perform compressions and decompression of character data, and. The compression solution also provides for the creation of new encoding tables on the fly, and accommodates the compression of lengthy character streams using multiple different general compression algorithms, automatically choosing a suitable general compression algorithm for specific input data.