Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3377812.3381405acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

Towards data integrity in Cassandra database applications using conceptual models

Published: 01 October 2020 Publication History

Abstract

Data modeling in Cassandra databases follows a query-driven approach where each table is created to satisfy a query, leading to repeated data as the Cassandra model is not normalized by design. Consequently, developers bear the responsibility to maintain the data integrity at the application level, as opposed to when the model is normalized. This is done by embedding in the client application the appropriate statements to perform data changes, which is error prone. Cassandra data modeling methodologies have emerged to cope with this problem by proposing the use of a conceptual model to generate the logical model, solving the data modeling problem but not the data integrity one. In this thesis we address the problem of the integrity of these data by proposing a method that, given a data change at either the conceptual or the logical level, determines the executable statements that should be issued to preserve the data integrity. Additionally, as this integrity may also be lost as a consequence of creating new data structures in the logical model, we complement our method to preserve data integrity in these scenarios. Furthermore, we address the creation of data structures at the conceptual level to represent a normalized version of newly created data structures in the logical model.

References

[1]
Apache Software Foundation. 2019. The Cassandra Query Language Retrieved Nov. 18, 2019 from http://cassandra.apache.org/doc/latest/cql
[2]
Jeff Carpenter and Eben Hewitt. 2016. Cassandra: The Definitive Guide: Distributed Data at Web Scale. O'Reilly Media, Inc.
[3]
Rick Cattell. Scalable SQL and NoSQL data stores. 2011. Acm Sigmod Record, 39, 4 (June 2011) 12--27
[4]
Artem Chebotko, Andrey Kashlev and Shiyong Lu. 2015. A Big Data Modeling Methodology for Apache Cassandra. IEEE International Congress on Big Data (BigData'15), 238--245.
[5]
Alberto Chillon, Diego Sevilla, Jesus Molina and Feliciano Morales. 2019. A Model-Drive Approach to Generate Schemas for Object-Document Mappers. In IEEE Access 7 (2019), 59126--59142.
[6]
Datastax. 2015. Basic Rules of Cassandra Data Modeling. Retrieved Nov. 18, 2019 from: https://www.datastax.com/dev/blog/basic-rules-of-cassandra-data-modeling
[7]
Datastax. 2015. New in Cassandra 3.0: Materialized Views. Retrieved Nov. 1, 2019 from https://www.datastax.com/dev/blog/new-in-cassandra-3-0-materialized-views
[8]
Datastax. Data Modeling Concepts. 2018 Retrieved Nov. 18 2019 from https://docs.datastax.eom/en/cql/3.3/cql/ddl/dataModelingApproach.html
[9]
Gregory M. Kapfhammer, Phil Mcminn, and Chris J. Wright. 2013. Search-Based Testing of Relational Schema Integrity Constraints Across Multiple Database Management Systems. 2013 IEEE Sixth International Conference on Software Testing, Verification and Validation (2013), 31--40.
[10]
Andrey Kashlev. 2016. Kashlev Data Modeler. Retrieved Nov. 18, 2019 from http://kdm.dataview.org/
[11]
Haridimos Kondylakis, Antonis Fountouris, Apostolus Planas, Georgia Troullinou and Dimitris Plexousakis. 2019. Enable Joins over Cassandra NoSQL. In Internation Conference on Big Data Innovations and Application, 3--17
[12]
Yishan Li and Sathiamoorthy Manoharan. 2013 A performance comparison of SQL and NoSQL databases. In IEEE pacific rim conference on Communications, computers and signal processing, 15--19.
[13]
Phil Mcminn, Chris J. Wright, Colton J. Mccurdy and Gregory M. Kapfhammer. 2015. Automatic Detection and Removal of Ineffective Mutants for the Mutation Analysis of Relational Database Schemas. IEEE Transactions on Software Engineering 45, 5 (2015), 427--463.
[14]
Michael J. Mior and Kenneth Salem. 2018. Renormalization of NoSQL Database Schemas. In 37th International Conference on Conceptual Modeling 479--487
[15]
Christian Peter. 2015. Supporting the Join Operation in a NoSQL System. Mather's thesis. Norwegian University of Science and Technology, Norway
[16]
Vatika Sharma and Meenu Dave. 2012. SQL and NoSQL databases. International Journal of Advanced Research in Computer Science and Software Engineering 2, 8.
[17]
Mary Shaw. The coming-of-age of software architecture research. In Proceedings of the 23rd international conference on Software engineering. (ICSE '01). IEEE Computer Society, 656.
[18]
Pablo Suárez-Otero, María José Suárez-Cabal and Javier Tuya, 2018. Leveraging Conceptual Data Models for Keeping Cassandra Database Integrity. In Proceedings of the 14th International Conference on Web Information Systems and Technologies, 398--403.
[19]
Pablo Suárez-Otero, María José Suárez-Cabal and Javier Tuya. 2019. Leveraging conceptual data models to ensure the integrity of Cassandra databases. Journal of Web Engineering, 18, 6, 257--286.
[20]
Pablo Suárez-Otero, María José Suárez-Cabal and Javier Tuya, Verificación del mantenimiento de la consistencia lógica en bases de datos Cassandra. In Jornadas de Ingeniería del Software, 2019. http://doi.org/11705/JISBD/2019/037
[21]
Clarence J. Tauro, Aravindh S, and Shreeharsha A-B. 2012. Comparative study of the new generation, agile, scalable, high performance NOSQL databases. International Journal of Computer Applications, 48, 20 (2012), 1--4.
[22]
Rajanarayanan Thottuvaikkatumana. 2015 Cassandra Design Patterns (2nd ed). Packt Publishing Ltd, Birmingham, United Kingdom.

Index Terms

  1. Towards data integrity in Cassandra database applications using conceptual models

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    ICSE '20: Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering: Companion Proceedings
    June 2020
    357 pages
    ISBN:9781450371223
    DOI:10.1145/3377812
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Sponsors

    In-Cooperation

    • KIISE: Korean Institute of Information Scientists and Engineers
    • IEEE CS

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 01 October 2020

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Cassandra
    2. NoSQL
    3. consistency
    4. data integrity
    5. data modeling

    Qualifiers

    • Research-article

    Conference

    ICSE '20
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 276 of 1,856 submissions, 15%

    Upcoming Conference

    ICSE 2025

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 88
      Total Downloads
    • Downloads (Last 12 months)12
    • Downloads (Last 6 weeks)3
    Reflects downloads up to 01 Oct 2024

    Other Metrics

    Citations

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media