Modeling and Querying Data in Nosql Databases

Total Page:16

File Type:pdf, Size:1020Kb

Modeling and Querying Data in Nosql Databases 2013 IEEE International Conference on Big Data Modeling and Querying Data in NoSQL Databases Karamjit Kaur Rinkle Rani Computer Sci. and Engg. Deptt. Computer Sci. and Engg. Deptt. Thapar University Thapar University Patiala, Punjab, India 147004 Patiala, Punjab, India 147004 Email: [email protected] Email: [email protected] Abstract—Relational databases are providing storage for sev- amounts of data. Their data model is based on single machine eral decades now. However for today’s interactive web and mobile architecture and was not designed to be distributed. Today all applications the importance of flexibility and scalability in data softwares are developed expecting a large user-base, which model can not be over-stated. The term NoSQL broadly covers was not the case in 1970s. Scalability is one of the most all non-relational databases that provide schema-less and scalable discussed issue today, since web applications have got enor- model. NoSQL databases which are also termed as Internet- mous popularity. Scalability can be achieved either vertically or age databases are currently being used by Google, Amazon, Facebook and many other major organizations operating in the horizontally. Vertical scalability, also known as (a.k.a.) scaling era of Web 2.0. Different classes of NoSQL databases namely up is easier to achieve as compared to horizontal scalability key-value pair, document, column-oriented and graph databases a.k.a. scaling out. As the name suggests, scaling-up means enable programmers to model the data closer to the format as adding up resources to a single node and scaling-out means used in their application. In this paper, data modeling and query adding more nodes to a system. Horizontal scaling provides syntax of relational and some classes of NoSQL databases have more flexibility as commodity servers or cloud instances can be been explained with the help of an case study of a news website utilized. Traditional databases relies on vertical scaling where like Slashdot. as recently evolved non-relational databases use horizontal scaling for achieving scalability [2]. I. INTRODUCTION Although relational databases have matured very well After 1990’s due to popularity of HTTP, the cost of posting because of their prolonged existence and are still good for and exchanging information became cheaper which led to various use cases. Unfortunately for most of the today’s the flooding of information on Internet. It was realized that software design, relational databases show their age and do traditional techniques of data storage will soon become stale not give good performance especially for large data sets and and inefficient to handle such vast amount of unstructured dynamic schemas. We live in a world, where domain model is and semi-structured data. Not all the information generated on constantly changing during development phase and even after Web is structured, rather interactive Web has produced more deployment. These changes in requirements along with various semi-structured or un-structured data. All the available rich other reasons described above, led to the development of non- information cannot be forcefully made to fit in the tabular relational databases known as NoSQL databases. Popularity of format of relational databases. This problem was also faced by non-relational databases can be very well imagined by the fact object-oriented databases under the name “Object-Relational that many universities have started teaching about these data Impedance Mismatch” problem [1]. This mismatch occurs stores as part of their curriculum [3]. when an object is molded to fit into relational structure. A large percentage of digital information floating around the world is NoSQL is a term most commonly used to cover all non- in PDF, HTML and other types of formats which cannot be relational databases, it stands for Not only SQL. There is easily modeled, processed and analyzed. Natural text can not much disagreement on this name as it do not depict the real be easily captured in form of entities and relationships. The meaning of non-relational, non-ACID, schema-less databases, major problem is that legacy tools require data schema to be since SQL is not the obstacle as implied by the term NoSQL. defined a priory to the data creation. In today’s world, where The term “NoSQL” was introduced by Carlo Strozzi in 1998 as Internet has become part of the common person’s life, deciding a name for his open source relational database that did not offer on rigid pre-defined schema is unrealistic. Schema evolves a SQL interface [4]. The term was re-introduced in October no:sql(east) as users start using the application and as information to be 2009 by Eric Evans for an event named organized dealt with changes according to user’s requirements. Structure for the discussion of open source distributed databases [5]. of data also changes as information is gathered, stored and The name was an attempt to describe the increased number processed. of distributed non-relational databases that emerged during the second half of the 2000’s. Increasing number of players dealing Above stated problems of storing semi-structured infor- with WWW started recognizing the in-efficiency of relational mation, object-relational impedance mismatch and schema databases to handle huge amount of diverse data generated by evolution originated because of the changes in usage pattern the introduction of Web 2.0 applications. Google was the first of databases since the the time the idea of relational databases organization to lead this movement by introducing BigTable were conceptualized in 1970s. Relational databases were not [6] in 2006 followed by Amazon’s Dynamo [7] in 2007. designed keeping in mind sparse information and scalability, Influenced by adoption of non-relational databases by these big where scalability is the ability of a system to handle growing firms most of the organizations started developing their own 978-1-4799-1293-3/13/$31.00 ©2013 IEEE 1 NoSQL data stores customized according to their requirements. have the same number of fields, while documents in a col- Most of today’s popular NoSQL data stores have adopted ideas lection can have completely different fields. Documents are either from Google’s BigTable or Amazon’s Dynamo. Those addressed in the database via a unique key that represents inspired by BigTable are categorized as column-oriented or that document. Document-oriented databases are one of the wide-table data stores and others which are descendants of categories of NoSQL databases that are appropriate for web- Dynamo are termed as key-value based data stores. There are applications which involves storage of semi-structured data two other categories too, document and graph-based databases. and execution of dynamic queries. Practical usability of these These four classes of NoSQL databases deal with different databases can be guessed by the fact that there are more types of data and hence are suitable for different use cases. than 15 document-oriented databases available of which widely used are MongoDB [18], CouchDB [19] and RavenDB [20]. Column-oriented or Wide-table data stores are designed MongoDB is the most popular document database. MongoDB to address following three areas- huge number of columns, is designed to be able to face new challenges such as horizontal sparse nature of data and frequent changes in schema. Unlike scalability, high-availability and flexibility to handle semi- relational databases where rows are stored contiguously, in structured data. MongoDB has typical applications in content column-oriented databases column values are stored contigu- management systems, mobiles, gaming and archiving. In this ously. This change in storage design results in better per- paper, MongoDB has been chosen to represent the case-study formance for some operations like aggregations, support for under consideration. ad-hoc and dynamic query etc. In row-oriented databases, all columns of those rows which satisfies the where clause of the query are retrieved, which causes unnecessary disk input- output if only few columns out of all returned columns were Graph databases model the database as a network struc- required. These databases are also best suited for analytical ture containing nodes and, edges relating nodes to represent purposes as they deal with only few specific columns and relationship amongst them. Nodes may also contain properties for compression also as data-type and range of values are that describes the real data contained within each object. Sim- fixed for each column. For each column, row-oriented storage ilarly, edges may also have their own properties. Relationship design deals with multiple data types and limitless range connects two nodes and may be directed where direction of values, thus making compression less efficient overall. adds meaning to the relationship. Relationships are identified Most of the columnar databases are also compatible with by their names and can be traversed in both the directions. MapReduce framework, which speeds up processing of large Comparing with Entity-Relational Model(ER Model), a node amount of data by distributing the problem on large number corresponds to an entity, property of a node to an attribute and of systems [8]. Popular open source column-oriented databases relationship between entities to relationship between nodes. are Hypertable [9], HBase [10] and Cassandra [11]. Hypertable In relational databases, queries requiring attributes from more and HBase are derivatives of BigTable where as Cassandra than one table result in a join operation. Join is an slow oper- takes its features from both BigTable and Dynamo. ation which degrades the performance as table size increases. Graph databases are suitable for finding relationships within Key-Value Databases have a very simple data model. Data huge amounts of data at a faster rate, since processing of is organized as an associative array of entries consisting of intensive joins are not performed instead it provides index- key-value pairs.
Recommended publications
  • Not ACID, Not BASE, but SALT a Transaction Processing Perspective on Blockchains
    Not ACID, not BASE, but SALT A Transaction Processing Perspective on Blockchains Stefan Tai, Jacob Eberhardt and Markus Klems Information Systems Engineering, Technische Universitat¨ Berlin fst, je, [email protected] Keywords: SALT, blockchain, decentralized, ACID, BASE, transaction processing Abstract: Traditional ACID transactions, typically supported by relational database management systems, emphasize database consistency. BASE provides a model that trades some consistency for availability, and is typically favored by cloud systems and NoSQL data stores. With the increasing popularity of blockchain technology, another alternative to both ACID and BASE is introduced: SALT. In this keynote paper, we present SALT as a model to explain blockchains and their use in application architecture. We take both, a transaction and a transaction processing systems perspective on the SALT model. From a transactions perspective, SALT is about Sequential, Agreed-on, Ledgered, and Tamper-resistant transaction processing. From a systems perspec- tive, SALT is about decentralized transaction processing systems being Symmetric, Admin-free, Ledgered and Time-consensual. We discuss the importance of these dual perspectives, both, when comparing SALT with ACID and BASE, and when engineering blockchain-based applications. We expect the next-generation of decentralized transactional applications to leverage combinations of all three transaction models. 1 INTRODUCTION against. Using the admittedly contrived acronym of SALT, we characterize blockchain-based transactions There is a common belief that blockchains have the – from a transactions perspective – as Sequential, potential to fundamentally disrupt entire industries. Agreed, Ledgered, and Tamper-resistant, and – from Whether we are talking about financial services, the a systems perspective – as Symmetric, Admin-free, sharing economy, the Internet of Things, or future en- Ledgered, and Time-consensual.
    [Show full text]
  • MDA Process to Extract the Data Model from a Document-Oriented Nosql Database Amal Ait Brahim, Rabah Tighilt Ferhat, Gilles Zurfluh
    MDA process to extract the data model from a document-oriented NoSQL database Amal Ait Brahim, Rabah Tighilt Ferhat, Gilles Zurfluh To cite this version: Amal Ait Brahim, Rabah Tighilt Ferhat, Gilles Zurfluh. MDA process to extract the data model from a document-oriented NoSQL database. ICEIS 2019: 21st International Conference on Enterprise Information Systems, May 2019, Heraklion, Greece. pp.141-148, 10.5220/0007676201410148. hal- 02886696 HAL Id: hal-02886696 https://hal.archives-ouvertes.fr/hal-02886696 Submitted on 1 Jul 2020 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Open Archive Toulouse Archive Ouverte OATAO is an open access repository that collects the work of Toulouse researchers and makes it freely available over the web where possible This is an author’s version published in: https://oatao.univ-toulouse.fr/26232 Official URL : https://doi.org/10.5220/0007676201410148 To cite this version: Ait Brahim, Amal and Tighilt Ferhat, Rabah and Zurfluh, Gilles MDA process to extract the data model from a document-oriented NoSQL database. (2019) In: ICEIS 2019: 21st International Conference on Enterprise Information Systems, 3 May 2019 - 5 May 2019 (Heraklion, Greece).
    [Show full text]
  • MDA Process to Extract the Data Model from Document-Oriented Nosql Database
    MDA Process to Extract the Data Model from Document-oriented NoSQL Database Amal Ait Brahim, Rabah Tighilt Ferhat and Gilles Zurfluh Toulouse Institute of Computer Science Research (IRIT), Toulouse Capitole University, Toulouse, France Keywords: Big Data, NoSQL, Model Extraction, Schema Less, MDA, QVT. Abstract: In recent years, the need to use NoSQL systems to store and exploit big data has been steadily increasing. Most of these systems are characterized by the property "schema less" which means absence of the data model when creating a database. This property brings an undeniable flexibility by allowing the evolution of the model during the exploitation of the base. However, query expression requires a precise knowledge of the data model. In this article, we propose a process to automatically extract the physical model from a document- oriented NoSQL database. To do this, we use the Model Driven Architecture (MDA) that provides a formal framework for automatic model transformation. From a NoSQL database, we propose formal transformation rules with QVT to generate the physical model. An experimentation of the extraction process was performed on the case of a medical application. 1 INTRODUCTION however that it is absent in some systems such as Cassandra and Riak TS. The "schema less" property Recently, there has been an explosion of data offers undeniable flexibility by allowing the model to generated and accumulated by more and more evolve easily. For example, the addition of new numerous and diversified computing devices. attributes in an existing line is done without Databases thus constituted are designated by the modifying the other lines of the same type previously expression "Big Data" and are characterized by the stored; something that is not possible with relational so-called "3V" rule (Chen, 2014).
    [Show full text]
  • What Is Nosql? the Only Thing That All Nosql Solutions Providers Generally Agree on Is That the Term “Nosql” Isn’T Perfect, but It Is Catchy
    NoSQL GREG SYSADMINBURD Greg Burd is a Developer Choosing between databases used to boil down to examining the differences Advocate for Basho between the available commercial and open source relational databases . The term Technologies, makers of Riak. “database” had become synonymous with SQL, and for a while not much else came Before Basho, Greg spent close to being a viable solution for data storage . But recently there has been a shift nearly ten years as the product manager for in the database landscape . When considering options for data storage, there is a Berkeley DB at Sleepycat Software and then new game in town: NoSQL databases . In this article I’ll introduce this new cat- at Oracle. Previously, Greg worked for NeXT egory of databases, examine where they came from and what they are good for, and Computer, Sun Microsystems, and KnowNow. help you understand whether you, too, should be considering a NoSQL solution in Greg has long been an avid supporter of open place of, or in addition to, your RDBMS database . source software. [email protected] What Is NoSQL? The only thing that all NoSQL solutions providers generally agree on is that the term “NoSQL” isn’t perfect, but it is catchy . Most agree that the “no” stands for “not only”—an admission that the goal is not to reject SQL but, rather, to compensate for the technical limitations shared by the majority of relational database implemen- tations . In fact, NoSQL is more a rejection of a particular software and hardware architecture for databases than of any single technology, language, or product .
    [Show full text]
  • Nosql Database Technology
    NoSQL Database Technology Post-relational data management for interactive software systems NOSQL DATABASE TECHNOLOGY Table of Contents Summary 3 Interactive software has changed 4 Users – 4 Applications – 5 Infrastructure – 5 Application architecture has changed 6 Database architecture has not kept pace 7 Tactics to extend the useful scope of RDBMS technology 8 Sharding – 8 Denormalizing – 9 Distributed caching – 10 “NoSQL” database technologies 11 Mobile application data synchronization 13 Open source and commercial NoSQL database technologies 14 2 © 2011 COUCHBASE ALL RIGHTS RESERVED. WWW.COUCHBASE.COM NOSQL DATABASE TECHNOLOGY Summary Interactive software (software with which a person iteratively interacts in real time) has changed in fundamental ways over the last 35 years. The “online” systems of the 1970s have, through a series of intermediate transformations, evolved into today’s web and mobile appli- cations. These systems solve new problems for potentially vastly larger user populations, and they execute atop a computing infrastructure that has changed even more radically over the years. The architecture of these software systems has likewise transformed. A modern web ap- plication can support millions of concurrent users by spreading load across a collection of application servers behind a load balancer. Changes in application behavior can be rolled out incrementally without requiring application downtime by gradually replacing the software on individual servers. Adjustments to application capacity are easily made by changing the number of application servers. But database technology has not kept pace. Relational database technology, invented in the 1970s and still in widespread use today, was optimized for the applications, users and inf- rastructure of that era.
    [Show full text]
  • SQL Vs Nosql: a Performance Comparison
    SQL vs NoSQL: A Performance Comparison Ruihan Wang Zongyan Yang University of Rochester University of Rochester [email protected] [email protected] Abstract 2. ACID Properties and CAP Theorem We always hear some statements like ‘SQL is outdated’, 2.1. ACID Properties ‘This is the world of NoSQL’, ‘SQL is still used a lot by We need to refer the ACID properties[12]: most of companies.’ Which one is accurate? Has NoSQL completely replace SQL? Or is NoSQL just a hype? SQL Atomicity (Structured Query Language) is a standard query language A transaction is an atomic unit of processing; it should for relational database management system. The most popu- either be performed in its entirety or not performed at lar types of RDBMS(Relational Database Management Sys- all. tems) like Oracle, MySQL, SQL Server, uses SQL as their Consistency preservation standard database query language.[3] NoSQL means Not A transaction should be consistency preserving, meaning Only SQL, which is a collection of non-relational data stor- that if it is completely executed from beginning to end age systems. The important character of NoSQL is that it re- without interference from other transactions, it should laxes one or more of the ACID properties for a better perfor- take the database from one consistent state to another. mance in desired fields. Some of the NOSQL databases most Isolation companies using are Cassandra, CouchDB, Hadoop Hbase, A transaction should appear as though it is being exe- MongoDB. In this paper, we’ll outline the general differences cuted in iso- lation from other transactions, even though between the SQL and NoSQL, discuss if Relational Database many transactions are execut- ing concurrently.
    [Show full text]
  • IBM Cloudant: Database As a Service Fundamentals
    Front cover IBM Cloudant: Database as a Service Fundamentals Understand the basics of NoSQL document data stores Access and work with the Cloudant API Work programmatically with Cloudant data Christopher Bienko Marina Greenstein Stephen E Holt Richard T Phillips ibm.com/redbooks Redpaper Contents Notices . 5 Trademarks . 6 Preface . 7 Authors. 7 Now you can become a published author, too! . 8 Comments welcome. 8 Stay connected to IBM Redbooks . 9 Chapter 1. Survey of the database landscape . 1 1.1 The fundamentals and evolution of relational databases . 2 1.1.1 The relational model . 2 1.1.2 The CAP Theorem . 4 1.2 The NoSQL paradigm . 5 1.2.1 ACID versus BASE systems . 7 1.2.2 What is NoSQL? . 8 1.2.3 NoSQL database landscape . 9 1.2.4 JSON and schema-less model . 11 Chapter 2. Build more, grow more, and sleep more with IBM Cloudant . 13 2.1 Business value . 15 2.2 Solution overview . 16 2.3 Solution architecture . 18 2.4 Usage scenarios . 20 2.5 Intuitively interact with data using Cloudant Dashboard . 21 2.5.1 Editing JSON documents using Cloudant Dashboard . 22 2.5.2 Configuring access permissions and replication jobs within Cloudant Dashboard. 24 2.6 A continuum of services working together on cloud . 25 2.6.1 Provisioning an analytics warehouse with IBM dashDB . 26 2.6.2 Data refinement services on-premises. 30 2.6.3 Data refinement services on the cloud. 30 2.6.4 Hybrid clouds: Data refinement across on/off–premises. 31 Chapter 3.
    [Show full text]
  • Top 5 Considerations When Evaluating Nosql Databases February 2015 Table of Contents
    A MongoDB White Paper Top 5 Considerations When Evaluating NoSQL Databases February 2015 Table of Contents Introduction 1 Data Model 2 Document Model 2 Graph Model 2 Key-Value and Wide Column Models 2 Query Model 3 Document Database 3 Graph Database 3 Key Value and Wide Column Databases 3 Consistency Model 4 Consistent Systems 4 Eventually Consistent Systems 4 APIs 4 Idiomatic Drivers 5 Thrift or RESTful APIs 5 Pluggable Storage API 5 Commercial Support and Community Strength 5 Commercial Support 5 Community Strength 5 Conclusion 6 We Can Help 6 Introduction Relational databases have a long-standing position in most Development teams have a strong say in the technology organizations, and for good reason. Relational databases selection process. This community tends to find that the underpin legacy applications that meet current business relational data model is not well aligned with the needs of needs; they are supported by an extensive ecosystem of their applications. Consider: tools; and there is a large pool of labor qualified to • Developers are working with new data types — implement and maintain these systems. structured, semi-structured, unstructured and But companies are increasingly considering alternatives to polymorphic data — and massive volumes of it. legacy relational infrastructure. In some cases the • Long gone is the twelve-to-eighteen month waterfall motivation is technical — such as a need to scale or development cycle. Now small teams work in agile perform beyond the capabilities of their existing systems — sprints, iterating quickly and pushing code every week while in other cases companies are driven by the desire to or two, even every day.
    [Show full text]
  • Nosql Database Evaluation Guide How Leading Nosql Databases Compare Across the Eight Core Requirements TABLE of CONTENTS Introduction
    NoSQL Database Evaluation Guide How Leading NoSQL Databases Compare Across the Eight Core Requirements TABLE OF CONTENTS Introduction Introduction 2 Digital Economy Overview 3 The business world is undergoing massive change as industry after industry shifts to the Digital Economy. It’s an economy powered by the Internet and other 21st-century technologies — the Data Access 5 cloud, mobile, social media, and big data. At the heart of every Digital Economy business are its web, mobile, and Internet of Things (IoT) applications: they’re the primary way companies interact Performance 6 with customers today, and how companies run more and more of their business. The experiences Scalability 7 that companies deliver via those apps largely determine how satisfied — and how loyal — customers will be. Availability 8 Building and running these web, mobile, and IoT applications has created a new set of technology Geographic 9 requirements. Enterprise architecture needs to be far more agile than ever before, and requires Distribution an approach to real-time data management that can accommodate unprecedented levels of scale, speed, and data flexibility. Relational databases are unable to meet these new requirements, and Big Data Integration 10 enterprises are therefore turning to NoSQL database technology. Administration 11 Three Phases of NoSQL Evolution and Adoption: From Grassroots to Mainstream Mobile 12 Enterprise adoption of NoSQL has unfolded in three overlapping phases. In phase I (which Conclusion 12 started around 2010), developers required flexibility to support the agile development of proof Checklist 13 of concepts and small applications. In phase II (which began around 2013), enterprises required performance, scalability, and availability to develop and/or migrate targeted mission-critical services.
    [Show full text]
  • Why Nosql? Your Database Options in the New Non-Relational World 2 Why Nosql?
    IBM Analytics April 2016 White paper Why NoSQL? Your database options in the new non-relational world 2 Why NoSQL? Contents A brief history of NoSQL NoSQL, also known as not only SQL or non-relational databases, 2 New types of apps are generating new types of data were specifically introduced to handle the rise in data types, 2 A brief history of NoSQL data access, and data availability needs brought on by the dot-com boom. 3 Types of NoSQL databases 4 Why consider NoSQL? Going back 20 years or so, when application architects and developers needed a data store for their applications, they were 5 Summary choosing among various relational databases. In fact, relational 5 Getting started with IBM Cloudant databases have been the de facto choice since the 1970s, as they have been the sole option available for both developers 5 For more information (because SQL is taught in computer science programs everywhere) and infrastructure teams (because of the well- understood tooling and predictable operational characteristics of RDBMSs). Some of the most popular are Oracle, MySQL, New types of apps are generating new SQL Server and IBM® DB2®. types of data The continual increase in web, mobile and IoT applications, However, when Internet applications and companies started alongside emerging trends shifting online consumer behavior exploding during the late 90s to early 2000s, applications went and new classes of data, is causing developers to reevaluate how from serving thousands of internal employees within their data is stored and managed. Today’s applications require a companies to having millions of users on the public Internet.
    [Show full text]
  • A Big Data Roadmap for the DB2 Professional
    A Big Data Roadmap For the DB2 Professional Sponsored by: align http://www.datavail.com Craig S. Mullins Mullins Consulting, Inc. http://www.MullinsConsulting.com © 2014 Mullins Consulting, Inc. Author This presentation was prepared by: Craig S. Mullins President & Principal Consultant Mullins Consulting, Inc. 15 Coventry Ct Sugar Land, TX 77479 Tel: 281-494-6153 Fax: 281.491.0637 Skype: cs.mullins E-mail: [email protected] http://www.mullinsconsultinginc.com This document is protected under the copyright laws of the United States and other countries as an unpublished work. This document contains information that is proprietary and confidential to Mullins Consulting, Inc., which shall not be disclosed outside or duplicated, used, or disclosed in whole or in part for any purpose other than as approved by Mullins Consulting, Inc. Any use or disclosure in whole or in part of this information without the express written permission of Mullins Consulting, Inc. is prohibited. © 2014 Craig S. Mullins and Mullins Consulting, Inc. (Unpublished). All rights reserved. © 2014 Mullins Consulting, Inc. 2 Agenda Uncover the roadmap to Big Data… the terminology and technology used, use cases, and trends. • Gain a working knowledge and definition of Big Data (beyond the simple three V's definition) • Break down and understand the often confusing terminology within the realm of Big Data (e.g. polyglot persistence) • Examine the four predominant NoSQL database systems used in Big Data implementations (graph, key/value, column, and document) • Learn some of the major differences between Big Data/NoSQL implementations vis-a-vis traditional transaction processing • Discover the primary use cases for Big Data and NoSQL versus relational databases © 2014 Mullins Consulting, Inc.
    [Show full text]
  • Data Modeling Guidelines for Nosql Document-Store Databases
    (IJACSA) International Journal of Advanced Computer Science and Applications, Vol. 9, No. 10, 2018 Data Modeling Guidelines for NoSQL Document-Store Databases Abdullahi Abubakar Imam1;a;b, Shuib Basri2;a, Rohiza Ahmad3;a, Junzo Watada4;a, Maria T. Gonzlez-Aparicio5;c, Malek Ahmad Almomani6;a aCIS Department, Universiti Teknologi PETRONAS, Bandar Seri Iskandar, 31570, Perak, Malaysia bCS Department, Ahmadu Bello University, Zaria-Nigeria cComputing Department, University of Oviedo Gijon, Spain Abstract—Good database design is key to high data avail- [11], developer autonomy [1], [12] and inadequate modeling ability and consistency in traditional databases, and numerous guidelines [13], have posed numerous challenges in NoSQL techniques exist to abet designers in modeling schemas appropri- schema best-practice implementation. This has increasingly led ately. These schemas are strictly enforced by traditional database to erroneous database modeling and designs [1], [14], [15], engines. However, with the emergence of schema-free databases [16], [17], which defeats the notion of robustness in NoSQL (NoSQL) coupled with voluminous and highly diversified datasets databases and results in the production of low-performance, (big data), such aid becomes even more important as schemas in NoSQL are enforced by application developers, which requires a non-secure and less-durable systems. high level of competence. Precisely, existing modeling techniques and guides used in traditional databases are insufficient for big- For example, consider the security aspect of NoSQL data storage settings. As a synthesis, new modeling guidelines for document-oriented databases. The databases offer a query NoSQL document-store databases are posed. These guidelines language or an Application Program Interface (API) that has cut across both logical and physical stages of database designs.
    [Show full text]