Beyond Hit-or-Miss: A Comparative Study of Synopses for Similarity Searching

Authors

  • Marcos Vinicius Naves Bedo Fluminense Federal University
  • Daniel de Oliveira Fluminense Federal University
  • Agma J. M. Traina University of São Paulo
  • Caetano Traina-Jr. University of São Paulo

Abstract

A DBMS optimizer module takes its decisions by modeling the query costs upon the distribution of the data space. Cost modeling of similarity queries, however, requires the representation of distances' rather than data distributions. Therefore, the finding of a suitable representation (or synopsis) for the distance distribution has a major impact in the optimization of similarity searches. In this study, we evaluate the quality of estimates drawn from five synopses of distinct paradigms regarding two common query criteria. Moreover, we embed the synopses into a new parametric cost model, called STOCKPILE, for the cost estimation of similarity queries on metric trees. The model uses the synopses estimation for calculating the probability of traversing a metric tree node, which defines the expected number of both disk accesses (I/O costs) and distance calculations (CPU costs).
We performed an extensive set of experiments on real-world data sources regarding the estimates of each synopsis (and its parametric variations) by using paired ranking tests. In global terms, three synopses have outperformed their competitors regarding selectivity estimation, whereas two of them have also surpassed the others in the prediction of both I/O and CPU costs with respect to STOCKPILE model predictions. Additionally, results also indicate the choice of the most suitable synopsis may depend on characteristics of the distance distribution.

Downloads

Download data is not yet available.

Downloads

Published

2018-06-20