Relational Data Compression via Topological Field Sorting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for compressing relational data files face challenges in preserving the order of records and lacking metadata, which are crucial for effective compression, especially in unordered and typeless data environments.

Innovation Solution

The method involves computing an optimum relational dependency transform by sorting fields topologically based on dependency relations, transforming fields using a defined permutation, and then compressing the transformed data using a tailored compressor, ensuring invertibility and efficient compression.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If standard compressors (Gzip, Bzip2) are used on relational data files, then general compression is achieved, but compression ratios are insufficient due to lack of exploitation of data structure

Engineering Contradiction:
Improvecompression ratioVSAvoidcompression system complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by performing topological sorting on fields based on dependency relations before compression. This reordering of fields according to their dependency graph enables subsequent compressors to exploit the structured relationships in the data, achieving better compression ratios without requiring complex compression algorithms.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameter ordering of fields based on their dependency relationships. By transforming the data representation through topological sorting and exploiting type-limited field values, similar values, and field correlations, the patent enables standard compressors to achieve superior compression ratios without increasing algorithmic complexity.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If field reordering is performed to improve compressibility, then compression efficiency increases, but record order may be altered which is critical for relational data files

Engineering Contradiction:
Improvecompression efficiencyVSAvoidrecord order preservation
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent segments the compression process into two independent phases: (1) topological sorting of fields based on dependency relations to improve compressibility, and (2) application of standard compressors. This segmentation allows field reordering for compression while maintaining the ability to preserve record order during decompression through inverse transformation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary transformation step (topological sorting based on dependency graph) that mediates between the original data structure and the compression process. This intermediary representation enables efficient compression while maintaining invertibility, ensuring that record order can be restored during decompression.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If metadata is added to preserve record order and structure information, then data integrity is improved, but storage overhead increases

Engineering Contradiction:
Improvedata integrityVSAvoidstorage overhead
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts and exploits existing structural information (field dependencies, type limitations, value similarities) that is already present in the relational data file without adding external metadata. By taking out and utilizing the inherent structure in the data, the patent achieves both data integrity and efficient storage without storage overhead.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS9652521B2Compressing massive relational data
Publication Date: 2017.05.16 AT&T INTELLECTUAL PROPERTY I L P
  • US9652521B2 patent drawing
  • US9652521B2 patent drawing
  • US9652521B2 patent drawing

AI summary

A relational dependency transform is introduced as a way to exploit information redundancy in conditioning data in a relational database for better compressibility. An optimum relational dependency transform of the relational database is first computed. Fields of the relational database are then sorted topologically based on a weighted, directed graph having nodes representing predictor and predictee fields. For each predictee field in the topological order, a transformed field is then computed via the relationship between predictor and predictee in the optimum relational dependency transform.