Multiple-Column Index Compression With Sort Order Recovery
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies face challenges in compressing multiple column index tables in databases, as order preserving compression schemes lose the sort order information of subsequent columns, leading to inefficiencies and resource consumption.
Innovation Solution
Implement order preserving compression (OPC) on multiple column index tables, preserving the initial column's order while determining modification factors for subsequent columns, and using these factors to recover the order during query processing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If order preserving compression is applied to multiple column index tables, then storage space is reduced, but sort order information of subsequent columns is lost
Solution Approach 1:
The patent extracts sort order information from subsequent columns during compression and stores it separately in a modification factor column. This allows the main index table to be compressed while the extracted sort order information is preserved independently for later query operations.
Solution Approach 2:
The patent performs preliminary action by calculating and storing modification factors that capture sort order information before actual query operations occur. These modification factors are pre-computed and stored in the index table, enabling efficient recovery of sort order information when needed without reprocessing the entire index.
2Productivity
If modification factors are stored for each subsequent column, then query processing efficiency is improved, but device complexity increases
Solution Approach 1:
The modification factor column serves multiple functions: it stores sort order information for subsequent columns, acts as a compression marker, and enables efficient query processing. This multi-functional design reduces the need for separate structures for each purpose.
Solution Approach 2:
The patent changes the parameter representation by storing modification factors that encode sort order information in a compact form. Instead of storing complete sort order sequences, it uses modified parameter values that can be computed and stored more efficiently.
Data Source
AI summary
Methods, computer program products, and systems are presented. The method computer program products, and systems can include, for instance: performing order preserving compression of a multiple column index table of a database to provide an encoded index table sorted by an initial column, wherein the multiple column index table includes the initial column and one or more subsequent column; and determining, in dependence on a result of the performing the order preserving compression, at least one modification factor for respective ones of the one or more subsequent column.


