Differentiated Subfield Indexing for Database Query and Insertion Trade-offs

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Database operations face performance degradation due to the costs associated with creating and maintaining indexes, particularly during insertion, deletion, and modification operations, as well as inefficiencies in determining index entry positions during queries.

Innovation Solution

The use of differentiated subfields within multi-field database indexes to enforce index clustering, optimize disk I/O, and implement a set function calculation algorithm that reduces the number of records and index entries read during query execution, along with the definition of inferred indexes for circular tables using auto-incremented fields.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If indexes are created to improve query performance, then search speed is improved, but insertion, deletion, and modification operations become slower due to the need to maintain index structures

Engineering Contradiction:
Improvequery speedVSAvoidinsertion and modification throughput
Core Design Contradiction:
SpeedVSProductivity

Solution Approach 1:

The patent segments a single multi-field index into multiple differentiated subfields, where each subfield can be independently optimized. This allows the index structure to be divided into segments that can be maintained separately, reducing the overhead on insertion and modification operations while preserving query performance benefits.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies different optimization strategies to different subfields within the same index structure. By identifying which subfields are frequently queried versus which are frequently modified, the system can apply local quality improvements such as clustering only to appropriate subfields, thereby improving query performance without unnecessarily impacting write operations.

Inventive Principle:
Principle #3Local quality

2Adaptability or versatility

If multiple indexes are created on the same table to handle different query types, then query versatility is improved, but storage space requirements increase

Engineering Contradiction:
Improvequery type coverageVSAvoidindex storage space
Core Design Contradiction:
Adaptability or versatilityVSVolume of stationary object

Solution Approach 1:

The patent merges multiple indexing requirements into a single multi-field index structure that contains differentiated subfields. Instead of creating separate indexes for different query types, the system combines them into one index where each subfield can serve different query patterns, thereby reducing total storage space while maintaining query versatility.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The multi-field index structure with differentiated subfields serves multiple query types simultaneously. A single index can handle queries on individual subfields, combinations of subfields, and different query patterns, making the index structure universal and eliminating the need for multiple specialized indexes.

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

3Ease of manufacture

If traditional multi-field indexes are used without differentiation, then index creation is simple, but disk I/O efficiency deteriorates due to lack of clustering

Engineering Contradiction:
Improveindex creation simplicityVSAvoiddisk I/O time
Core Design Contradiction:
Ease of manufactureVSLoss of time

Solution Approach 1:

The patent performs preliminary action by automatically identifying and differentiating subfields within the index structure during index creation. The system pre-analyzes the query patterns and data characteristics to determine which subfields should be clustered, then applies clustering optimizations in advance before actual query operations occur, thereby improving disk I/O efficiency without adding complexity to the creation process.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9613126B2Clustered index with differentiated subfields
Publication Date: 2017.04.04 MCAFEE LLC
  • US9613126B2 patent drawing
  • US9613126B2 patent drawing
  • US9613126B2 patent drawing

AI summary

A database system uses indexes to improve performance. The system can use one or more of the following: differentiated subfields for index clustering; set function calculations to reduce the amount of I/O; and/or using an inferred index in a circular table.