Warehouse Data Partition Index Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current data warehousing systems face inefficiencies in incremental loading processes, particularly in determining affected partitions and managing indexes, which leads to increased processing costs and poor performance during data updates.

Innovation Solution

A method that uses a data dictionary to determine affected partitions and selectively disables indexes on those partitions during incremental loads, optimizing the loading process by only updating necessary data and rebuilding indexes for affected partitions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If indexes are maintained on all partitions during incremental loading, then query performance is improved, but processing time and computational resources increase significantly

Engineering Contradiction:
Improvequery performanceVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the data warehouse into multiple partitions and further divides affected partitions into subsets. Indexes are selectively disabled only on the specific subset of partitions being updated, rather than on all partitions or the entire data warehouse. This segmentation allows query performance to be maintained on unaffected partitions while reducing processing time on affected partitions during incremental loads.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by making indexes disabled only in the specific locations (partition subsets) where data is being loaded. The index state varies locally across different partitions - enabled on stable partitions for optimal query performance, and disabled only on the local subset being updated to minimize processing overhead. This localized approach resolves the contradiction between maintaining overall query performance and reducing local processing time.

Inventive Principle:
Principle #3Local quality

2Productivity

If indexes are disabled on all partitions during incremental loading, then processing speed is improved, but query performance deteriorates on unaffected partitions

Engineering Contradiction:
Improveloading speedVSAvoidquery performance
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent segments partitions into affected and unaffected groups, and further divides affected partitions into subsets. Indexes are disabled only on the specific subset being updated, while remaining enabled on all other partitions. This allows the system to achieve high loading speed on the affected subset without compromising query performance on the larger portion of the data warehouse where indexes remain enabled.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Instead of disabling indexes on all partitions (excessive action), the patent applies partial action by disabling indexes only on the specific subset of partitions currently being updated. This partial approach achieves sufficient loading speed improvement for the active workload while avoiding the performance penalty on the majority of partitions that do not require updating.

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If the entire data warehouse is scanned to determine affected partitions, then accuracy is improved, but processing overhead increases

Engineering Contradiction:
Improvepartition identification accuracyVSAvoidprocessing overhead
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent extracts and utilizes metadata from data dictionaries that pre-describe the structure and partitioning of the data warehouse. By querying the data dictionary with the load specification, the system directly identifies affected partitions without scanning the entire data warehouse. This extraction approach maintains accurate partition identification while dramatically reducing processing overhead compared to full scans.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The data dictionary contains pre-computed metadata about partition structures, data locations, and relationships. This preliminary organization of information allows the system to quickly determine affected partitions through metadata queries rather than performing expensive runtime scans. The preliminary action of organizing data into partitioned structures with associated metadata enables efficient identification with minimal processing overhead.

Inventive Principle:
Principle #10Preliminary action

4Productivity

If bitmap indexes are disabled on affected partitions, then loading performance is improved, but index maintenance overhead increases after loading

Engineering Contradiction:
Improveloading performanceVSAvoidindex rebuilding time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent segments affected partitions into manageable subsets and disables bitmap indexes only on these specific subsets during loading. After loading completes, index rebuilding is performed only on the same limited subsets rather than on the entire data warehouse. This segmentation reduces both the loading performance penalty and the subsequent index maintenance time, as the workload is confined to small partition subsets rather than the full data warehouse.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies partial action by disabling and subsequently rebuilding indexes only on the subset of partitions that were updated, rather than performing full data warehouse index maintenance. This partial approach achieves sufficient loading performance improvement while minimizing the time lost to index rebuilding, as the maintenance workload is limited to the small subset of affected partitions rather than the entire data warehouse.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS11847131B2Optimizing incremental loading of warehouse data
Publication Date: 2023.12.19 ORACLE INT CORP
  • US11847131B2 patent drawing
  • US11847131B2 patent drawing
  • US11847131B2 patent drawing

AI summary

In various embodiments, a data integration system is disclosed which enables incremental loads into a data warehouse by developing a data partitioning plan and selectively disabling and enabling indexes to facilitate incremental loads into fact tables.