Algebraic Properties to Optimize kNN Queries

Abstract : New applications that are being required to employ Database Management Systems (DBMSs), such as storing and retrieving complex data (images, sound, temporal series, genetic data, etc.) and analytical data processing (data mining, social networks analysis, etc.), increasingly impose the need for new ways of expressing predicates. Among the new most studied predicates are the similarity-based ones, where the two commonest are the similarity range and the k-nearest neighbor predicates. The k-nearest neighbor predicate is surely the most interesting for several applications, including Content-Based Image Retrieval (CBIR) and Data Mining (DM) tasks, yet it is also the most expensive to be evaluated. A strong motivation to include operators to execute the k-nearest neighbor predicate inside a DBMS is to employ the powerful resource of query rewriting following algebraic properties to optimize query execution. Unfortunately, too few properties of the k-nearest neighbor operator have been identified so far that allow query rewriting rules leading to effectively more efficient query execution. In fact, a k-nearest neighbor operator does not even commute with either other k-nearest neighbor operator or any other attribute comparison operators (similarity range or any other of the traditional attribute comparison operator). In this paper, we investigate a new class of properties for the k-nearest neighbor operator based not on expression equivalence, but on result set inclusion. We develop a complete set of properties based on set inclusion, which can be successfully employed to rewrite query expressions involving k-nearest neighbor operators combined to any of the traditional attribute comparison operators or to other k-nearest neighbor and similarity range operators. We also give examples of how applying those properties to rewrite queries improve retrieval efficiency.
Document type :
Journal articles
Liste complète des métadonnées

Cited literature [25 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-00687320
Contributor : Mônica Ribeiro Porto Ferreira <>
Submitted on : Friday, April 13, 2012 - 12:48:28 PM
Last modification on : Wednesday, September 12, 2018 - 1:26:17 AM
Document(s) archivé(s) le : Saturday, July 14, 2012 - 2:28:12 AM

File

JIDM_2011.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-00687320, version 1

Collections

Citation

Mônica Ribeiro Porto Ferreira, Lucio Fernandes Dutra Santos, Agma Juci Machado Traina, Ires Dias, Richard Chbeir, et al.. Algebraic Properties to Optimize kNN Queries. Journal of Information and Data Management, Brazilian Computer Society, 2011, 2 (3), pp.385--400. ⟨hal-00687320⟩

Share

Metrics

Record views

331

Files downloads

192