Time-Series Database Indexing with Periodic Data Aggregation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing time-series databases face inefficiencies in indexing and storage due to frequent updates, especially when dealing with high-volume time-series data, leading to high computational expenses for index maintenance.

Innovation Solution

Implementing a timestamp window and window of interest to reduce index updates by aggregating data updates across longer periods, allowing efficient indexing and storage of time-series data with reduced index writes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If frequent index updates are performed for each data point in high-volume time-series data, then data retrieval accuracy is improved, but computational expense and time consumption for index maintenance increase significantly

Engineering Contradiction:
Improvedata retrieval accuracyVSAvoidindex maintenance time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent implements periodic index updates at predetermined time intervals instead of updating after every data point insertion. The time-series database performs batch index maintenance operations at scheduled intervals, reducing the frequency of index updates while maintaining acceptable query performance through periodic synchronization of the index structure.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The patent pre-allocates index structures and prepares indexing templates in advance before data insertion begins. By pre-configuring the index framework and data structures, the system minimizes the computational overhead during actual index maintenance operations, reducing the time penalty associated with frequent updates.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If index updates are performed for every data point insertion, then query accuracy is improved, but computational expense increases by an order of magnitude

Engineering Contradiction:
Improvequery accuracyVSAvoidcomputational expense
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The system transitions from continuous index updates to periodic batch updates, performing index maintenance at predetermined time intervals rather than after every insertion. This periodic approach reduces computational expense by consolidating multiple small update operations into fewer batch operations while maintaining query accuracy through timely index synchronization.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The patent merges multiple individual index update operations into consolidated batch update operations. By combining several data point insertions and performing a single unified index maintenance operation, the system reduces the total computational overhead associated with frequent separate update operations.

Inventive Principle:
Principle #5Merging (Combining)

3Measurement precision

If fine-grained indexing is maintained for precise data retrieval, then query precision is improved, but index maintenance complexity increases

Engineering Contradiction:
Improvequery precisionVSAvoidindex maintenance complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent implements periodic index maintenance operations that rebuild or update index structures at predetermined intervals. This approach maintains fine-grained indexing precision for accurate queries while reducing complexity by performing maintenance in scheduled batches rather than requiring complex real-time update logic for every insertion operation.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS12353393B2Time-series database for storing and indexing events and metrics
Publication Date: 2025.07.08 SERVICENOW INC
  • US12353393B2 patent drawing
  • US12353393B2 patent drawing
  • US12353393B2 patent drawing

AI summary

In the present application, a system and method for storing and retrieving time-series data in a time-series database are disclosed. A data stream collected at a periodic collection time interval is stored. The stored data stream is indexed in an index, including by storing in the index a representative index entry corresponding to a plurality of data elements of the stored data stream collected during a period of time longer than the periodic collection time interval of the data stream.