Skip to main content

On the Support of the Similarity-Aware Division Operator in a Commercial RDBMS

  • Conference paper
  • First Online:
Advances in Databases and Information Systems (ADBIS 2018)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 11019))

Included in the following conference series:

  • 737 Accesses

Abstract

The division operator from the relational algebra allows simple and intuitive representation of queries with the concept of “for all”, and thus it is required in many real applications. However, the relational division is unable to support the needs of modern applications that manipulate complex data, such as images, audio, long texts, genetic sequences, etc. These data are better compared by similarity, whereas relational algebra always compares data by equality or inequality. Recent works focus on extending relational operators to support similarity comparisons and their inclusion in relational database management systems. This work incorporates and studies the behavior of several similarity-aware division algorithms in a commercial RDBMS. We compared the two state-of-art algorithms against several SQL statements and found when to use each one of them in order to improve query time execution. We then propose an extension of the SQL syntax and the query analyzer to support this new operator.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Codd, E.F.: The Relational Model for Database Management, Version 2. Addison-Wesley, Boston (1990)

    MATH  Google Scholar 

  2. Vasconcelos, G.Q., et al.: Tender-sims - similarity retrieval system for public tenders. In: ICEIS 2018, pp. 143–150 (2018)

    Google Scholar 

  3. Gonzaga, A.S., Cordeiro, R.L.F.: A new division operator to handle complex objects in very large relational datasets. In: EDBT 2017, pp. 474–477 (2017)

    Google Scholar 

  4. Chávez, E., Navarro, G., Baeza-Yates, R., Marroquín, J.L.: Searching in metric spaces. ACM Comput. Surv. 33(3), 273–321 (2001)

    Article  Google Scholar 

  5. Zezula, P., Amato, G., Dohnal, V., Batko, M.: Similarity Search: The Metric Space Approach, 1st edn. Springer, Heidelberg (2010). https://doi.org/10.1007/0-387-29151-2

    Book  MATH  Google Scholar 

  6. Marri, W.J.A., Malluhi, Q.M., Ouzzani, M., Tang, M., Aref, W.G.: The similarity-aware relational database set operators. Inf. Syst. 59, 79–93 (2016)

    Article  Google Scholar 

  7. Pola, I.R.V., Cordeiro, R.L.F., Traina Jr., C., Traina, A.J.M.: Similarity sets: a new concept of sets to seamlessly handle similarity in database management systems. Inf. Syst. 52, 130–148 (2015)

    Article  Google Scholar 

  8. Silva, Y.N., Aref, W.G., Ali, M.H.: Similarity group-by. In: Proceedings of the 25th International Conference on Data Engineering, ICDE 2009, 29 March 2009–2 April 2009, Shanghai, China, pp. 904–915 (2009)

    Google Scholar 

  9. Matos, V.M., Grasser, R.: Assessing performance of the relational division operator. In: Database Management. Auerbach Publications, February 2001

    Google Scholar 

  10. Gonzaga, A.S., Cordeiro, R.L.F.: Fast and scalable relational division on database systems. In: SBBD 2016, pp. 169–174 (2016)

    Google Scholar 

  11. Draken, E., Gao, S., Alhajj, R.: Making query coding in SQL easier by implementing the SQL divide keyword: an experimental query rewriter in Java. In: Advanced Database Query Systems: Techniques, Applications and Technologies, 1st edn. IGI Global (2001)

    Google Scholar 

  12. Guliato, D., Melo, E.V., Rangayyan, R.M., Soares, R.C.: POSTGRESQL-IE: an image-handling extension for PostgreSQL. J. Digit. Imaging 22(2), 149–165 (2009)

    Article  Google Scholar 

  13. Oliveira, P.H., et al.: On the support of a similarity-enabled relational database management system in civilian crisis situations. In: ICEIS 2016, pp. 119–126 (2016)

    Google Scholar 

  14. Silva, Y.N., Aly, A.M., Aref, W.G., Larson, P.: SimDB: a similarity-aware database system. In: SIGMOD 2010, pp. 1243–1246 (2010)

    Google Scholar 

  15. Barioni, M.C.N., Razente, H., Traina, A., Traina Jr., C.: SIREN: a similarity retrieval engine for complex data. In: VLDB 2006, pp. 1155–1158 (2006)

    Google Scholar 

  16. Bedo, M.V.N., Traina, A.J.M., Traina Jr., C.: Seamless integration of distance functions and feature vectors for similarity-queries processing. JIDM 5(3), 308–320 (2014)

    Google Scholar 

  17. dos Kaster, D.S., Bugatti, P.H., Traina, A.J.M., Traina Jr., C.: FMI-SiR: a flexible and efficient module for similarity searching on Oracle database. JIDM 1(2), 229–244 (2010)

    Google Scholar 

Download references

Acknowledgements

We would like to thank CNPq, CAPES project 10357907/M and FAPESP project 2016/170780 for financial support.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Guilherme Q. Vasconcelos .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Vasconcelos, G.Q., Kaster, D.S., Cordeiro, R.L.F. (2018). On the Support of the Similarity-Aware Division Operator in a Commercial RDBMS. In: Benczúr, A., Thalheim, B., Horváth, T. (eds) Advances in Databases and Information Systems. ADBIS 2018. Lecture Notes in Computer Science(), vol 11019. Springer, Cham. https://doi.org/10.1007/978-3-319-98398-1_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-98398-1_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-98397-4

  • Online ISBN: 978-3-319-98398-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics