Skip to main content
QUICK REVIEW

[Paper Review] Coconut: a scalable bottom-up approach for building data series indexes

Haridimos Kondylakis, Niv Dayan|arXiv (Cornell University)|Jun 20, 2020
Time Series Analysis and ForecastingComputer Science58 references20 citations
TL;DR

Coconut introduces a scalable, bottom-up data series indexing method that uses sortable, z-order-based summarizations to enable efficient bulk-loading and balanced tree construction. By making summarizations sortable, Coconut eliminates random I/Os during index creation and ensures high node utilization, resulting in faster construction, improved query performance, and reduced storage costs compared to state-of-the-art methods.

ABSTRACT

Many modern applications produce massive amounts of data series that need to be analyzed, requiring efficient similarity search operations. However, the state-of-the-art data series indexes that are used for this purpose do not scale well for massive datasets in terms of performance, or storage costs. We pinpoint the problem to the fact that existing summarizations of data series used for indexing cannot be sorted while keeping similar data series close to each other in the sorted order. This leads to two design problems. First, traditional bulk-loading algorithms based on sorting cannot be used. Instead, index construction takes place through slow top-down insertions, which create a non-contiguous index that results in many random I/Os. Second, data series cannot be sorted and split across nodes evenly based on their median value; thus, most leaf nodes are in practice nearly empty. This further slows down query speed and amplifies storage costs. To address these problems, we present Coconut. The first innovation in Coconut is an inverted, sortable data series summarization that organizes data series based on a z-order curve, keeping similar series close to each other in the sorted order. As a result, Coconut is able to use bulk-loading techniques that rely on sorting to quickly build a contiguous index using large sequential disk I/Os. We then explore prefix-based and median-based splitting policies for bottom-up bulk-loading, showing that median-based splitting outperforms the state of the art, ensuring that all nodes are densely populated. Overall, we show analytically and empirically that Coconut dominates the state-of-the-art data series indexes in terms of construction speed, query speed, and storage costs.

Motivation & Objective

  • To address the scalability limitations of existing data series indexes in large-scale, secondary storage environments.
  • To identify that unsortable summarizations prevent efficient bulk-loading and even node distribution, leading to performance and storage overheads.
  • To design a sortable summarization technique that preserves similarity in sorted order, enabling efficient bottom-up index construction.
  • To evaluate and optimize splitting strategies—particularly median-based splitting—for improved node utilization and query efficiency.
  • To demonstrate that Coconut outperforms state-of-the-art indexes in construction speed, query speed, and storage efficiency across synthetic and real-world datasets.

Proposed method

  • Proposes a novel, invertible, and sortable data series summarization using z-order curve encoding to interleave bits across segments, ensuring similar series are close in sorted order.
  • Employs a bottom-up, bulk-loading approach based on sorting the sortable summarizations, enabling large sequential I/Os and contiguous storage layout.
  • Introduces and evaluates two splitting policies: prefix-based and median-based, with the latter shown to produce more balanced, densely populated nodes.
  • Uses the median of summarization values as the split point to ensure even distribution of data across nodes, minimizing empty or underfilled leaves.
  • Implements CoconutTreeSIMS, a two-phase similarity search that uses approximate search on the index to prune the search space before exact computation.
  • Employs a hybrid index structure that supports both materialized and non-materialized summarizations, enabling efficient updates and dynamic workloads.

Experimental results

Research questions

  • RQ1Can data series summarizations be made sortable in a way that preserves similarity in sorted order, enabling efficient bulk-loading?
  • RQ2Does median-based splitting of sortable summarizations lead to better node utilization and query performance than prefix-based splitting?
  • RQ3Can a bottom-up, sorting-based bulk-loading algorithm significantly reduce construction I/Os and improve index contiguity compared to top-down insertion?
  • RQ4To what extent does the use of sortable summarizations reduce storage costs and improve query speed in large-scale data series indexing?
  • RQ5How does Coconut perform under dynamic workloads involving updates, compared to state-of-the-art indexes?

Key findings

  • Coconut's median-based splitting strategy achieves significantly higher node fill factors than prefix-based methods, reducing the number of leaves and improving query performance.
  • CoconutTree(1) outperforms ADSFull in 69% of queries, and CoconutTree(10) in 94% of queries, demonstrating superior approximate search quality.
  • The Coconut family visits on average less than 59K records during exact query processing, compared to over 80K for the ADS family, indicating better pruning efficiency.
  • In real-world datasets, Coconut-Tree (CTree) achieved index sizes of 10GB (Astronomy) and 4GB (Seismic), compared to 311GB and 111GB for ADSFull, respectively, showing substantial storage savings.
  • Under memory-constrained conditions, Coconut-Tree outperforms all competitors in index construction and query time, especially as data volume increases.
  • Despite higher I/O cost in the approximate search phase, Coconut's superior pruning leads to faster overall query execution due to reduced exact search space.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.