3
@ IJTSRD | Available Online @ www ISSN No: 245 Inte R Traditi Owa M.Tech Scholars, D Pu ABSTRACT Database is a collection of logically rela composed of collection of files that a way that information from one of combined with information from other user can get exact information. Databas system (DBMS) is package that is use and managing databases. A Database System provides a systematic way f programmers to create, retrieve, update data. Because of DBMS it is possible fo create, read, update and delete the dat With the introduction of new approaches like IOT, Cloud Computing database approach is replaced by n known as NOSQL. Keywords- DBMS, DBA,SQL, MYS database, Cassandra I. INTRODUCTION As we know that database is the bac application. DBMS receives instruct database administrator (DBA) and system to make the changes. These com load, retrieve or modify existing data fr database management system pr independence. Any change in formats mechanism are performed without m entire application. DBMS relieves use programs for data maintenance. Fou query languages, such as SQL, are us the DBMS package to interact with a d DBMS examples are: MySQL, SQL S etc. w.ijtsrd.com | Volume – 2 | Issue – 4 | May-Jun 56 - 6470 | www.ijtsrd.com | Volum ernational Journal of Trend in Sc Research and Development (IJT International Open Access Journ ional Databases vs NOSQL ais Noor Trumboo 1 , Jasra Nisar 2 Department of Computer Science and Engineeri Punjab Technical University, India ated data and is are linked in a files may be r files so that se management ed for creating e Management for users and e and manage or end users to ta in database. technological the traditional new approach SQL, Mongo ck end of the tions from a instructs the mmands can be rom system. A rovides data s and storage modifying the ers of framing urth-generation sed along with database. Some Server, Oracle There are four main types of d Relational Database: In r is organized as logicall Relationships among tab shared data. The data in o similar data in other table integrity of the links amon referred to as referential in as "select" and "join" can tables. Flat Database: In flat data in a single kind of record fields. This type of data errors due to the repetitive Object-Oriented Databa database, Data is organi object-oriented programm consists of data and metho objects having similar data Hierarchical Database: I with hierarchical relationsh relationship is violated i network. II. RELATIONAL DA TYPES Relational databases use Stru and can manage a variety applications. In relational data tabular form. Today, many employ relational databases, n 2018 Page: 68 me - 2 | Issue 4 cientific TSRD) nal ing, database architectures: relational database, Data ly independent tables. bles are shown through one table may reference es, which maintains the ng them. This feature is ntegrity. Operations such n be performed on these abase, Data is organized with a fixed number of abase encounters more e nature of data. ase: In this type of ized with similarity to ming concepts. An object ods, while classes group a and methods. In this, Data is organized hips. If the one-to-many it becomes a complex ATABASE AND ITS uctured Query Language of transaction oriented abase, data is present in y enterprise DBMS’S , but they can handle

Traditional Databases vs NOSQL

  • Upload
    ijtsrd

  • View
    26

  • Download
    1

Embed Size (px)

DESCRIPTION

Database is a collection of logically related data and is composed of collection of files that are linked in a way that information from one of files may be combined with information from other files so that user can get exact information. Database management system DBMS is package that is used for creating and managing databases. A Database Management System provides a systematic way for users and programmers to create, retrieve, update and manage data. Because of DBMS it is possible for end users to create, read, update and delete the data in database. With the introduction of new technological approaches like IOT, Cloud Computing the traditional database approach is replaced by new approach known as NOSQL. Owais Noor Trumboo | Jasra Nisar "Traditional Databases vs NOSQL" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-2 | Issue-4 , June 2018, URL: https://www.ijtsrd.com/papers/ijtsrd12961.pdf Paper URL: http://www.ijtsrd.com/computer-science/database/12961/traditional-databases-vs-nosql/owais-noor-trumboo

Citation preview

Page 1: Traditional Databases vs NOSQL

@ IJTSRD | Available Online @ www.ijtsrd.com

ISSN No: 2456

InternationalResearch

Traditional Databases

Owais Noor TrumbooM.Tech Scholars, Department of Computer

Punjab Technical University, India

ABSTRACT Database is a collection of logically related data and is composed of collection of files that are linked in a way that information from one of files may be combined with information from other files so that user can get exact information. Database management system (DBMS) is package that is used for creating and managing databases. A Database Management System provides a systematic way for users and programmers to create, retrieve, update and manage data. Because of DBMS it is possible for end users to create, read, update and delete the data in database. With the introduction of new technological approaches like IOT, Cloud Computing the traditional database approach is replaced by new approach known as NOSQL.

Keywords- DBMS, DBA,SQL, MYSQL, Mongo database, Cassandra

I. INTRODUCTION

As we know that database is the back end of the application. DBMS receives instructions from a database administrator (DBA) and instructs the system to make the changes. These commands can be load, retrieve or modify existing data from system. A database management system provides data independence. Any change in formats and storage mechanism are performed without modifying the entire application. DBMS relieves users of framing programs for data maintenance. Fourthquery languages, such as SQL, are used along with the DBMS package to interact with a database.DBMS examples are: MySQL, SQL Server, Oracle etc.

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 4 | May-Jun

ISSN No: 2456 - 6470 | www.ijtsrd.com | Volume

International Journal of Trend in Scientific Research and Development (IJTSRD)

International Open Access Journal

Traditional Databases vs NOSQL

Owais Noor Trumboo1, Jasra Nisar2

ech Scholars, Department of Computer Science and Engineering, Punjab Technical University, India

Database is a collection of logically related data and is composed of collection of files that are linked in a way that information from one of files may be combined with information from other files so that

Database management system (DBMS) is package that is used for creating and managing databases. A Database Management System provides a systematic way for users and programmers to create, retrieve, update and manage

DBMS it is possible for end users to create, read, update and delete the data in database. With the introduction of new technological approaches like IOT, Cloud Computing the traditional database approach is replaced by new approach

DBMS, DBA,SQL, MYSQL, Mongo

As we know that database is the back end of the application. DBMS receives instructions from a database administrator (DBA) and instructs the system to make the changes. These commands can be load, retrieve or modify existing data from system. A database management system provides data independence. Any change in formats and storage mechanism are performed without modifying the entire application. DBMS relieves users of framing

a maintenance. Fourth-generation query languages, such as SQL, are used along with the DBMS package to interact with a database. Some DBMS examples are: MySQL, SQL Server, Oracle

There are four main types of database architectures:

Relational Database: In relational database, Data is organized as logically independent tables. Relationships among tables are shown through shared data. The data in one table may reference similar data in other tables, which maintains the integrity of the links among them.referred to as referential integrity. Operations such as "select" and "join" can be performed on these tables.

Flat Database: In flat database, Data is organized in a single kind of record with a fixed number of fields. This type of databerrors due to the repetitive nature of data.

Object-Oriented Database:database, Data is organized with similarity to object-oriented programming concepts. An object consists of data and methods, while classes group objects having similar data and methods.

Hierarchical Database: In this, Data is organized with hierarchical relationships. If the onerelationship is violated it becomes a complex network.

II. RELATIONAL DATABASE AND ITS TYPES

Relational databases use Structured Query Language and can manage a variety of transaction oriented applications. In relational database, data is present in tabular form. Today, many enterprise DBMS’S employ relational databases, but they can handle

Jun 2018 Page: 68

www.ijtsrd.com | Volume - 2 | Issue – 4

Scientific (IJTSRD)

International Open Access Journal

ngineering,

There are four main types of database architectures:

In relational database, Data is organized as logically independent tables. Relationships among tables are shown through shared data. The data in one table may reference similar data in other tables, which maintains the integrity of the links among them. This feature is referred to as referential integrity. Operations such as "select" and "join" can be performed on these

In flat database, Data is organized in a single kind of record with a fixed number of fields. This type of database encounters more errors due to the repetitive nature of data.

Oriented Database: In this type of database, Data is organized with similarity to

oriented programming concepts. An object consists of data and methods, while classes group

cts having similar data and methods.

In this, Data is organized with hierarchical relationships. If the one-to-many relationship is violated it becomes a complex

RELATIONAL DATABASE AND ITS

Relational databases use Structured Query Language and can manage a variety of transaction oriented applications. In relational database, data is present in tabular form. Today, many enterprise DBMS’S employ relational databases, but they can handle

Page 2: Traditional Databases vs NOSQL

International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 4 | May-Jun 2018 Page: 69

minimal amount of data to scale. Relational databases are the most common database systems. These databases include SQL Server, Oracle Database, Sybase, Informix, and MySQL. Relational Database Management Systems feature much better performance for managing data over desktop database programs. For example, they allow multiple users to work with the data at the same time, creating advanced security for access the data. RDBMS systems store data in columns and rows, which in turn make up tables. A set of tables makes up a schema.

The most popular relational databases are:

MYSQL: MYSQL is an open source relational database management system based on Structured Query Language (SQL). It runs on all platforms, including Linux, Unix, and Windows.

Oracle: Oracle database is a multi- model database management system produced and marketed by Oracle Corporation.

Microsoft SQL Server: It is an RDBMS that supports a wide variety of transaction processing.

DB2: It is also an RDBMS designed to store, analyse, and retrieve data efficiently.

III. NON-RELATIONAL DATABASE AND ITS TYPES

Non-relational databases are also called NOSQL databases. Some of the most known NOSQL or non-relational Databases are MongoDB, Document DB, Cassandra, Couch base, Neo4j.The innovative structures for storing data today are NOSQL and object-oriented databases. These do not follow the table/row/column approach of RDBMS. Instead, they build bookshelves of elements and allow access per bookshelf. So, instead of tracking individual words in books, NOSQL and object-oriented databases narrow down the data you are looking for by pointing you to the bookshelf. NOSQL specifically attempts to simplify bookshelves by storing data in a demoralized way this means storing it in large chunks.A major advantage of the non-relational database is that it can easily incorporate and store all kinds of Big Data, including unstructured and semi-structured data. In non-relational database, design is generally simpler and allows users to perform operations faster. Non-relational databases can scale automatically. They are becoming increasingly popular for use with real-time web applications.

In general, NOSQL databases are much more helpful than relational databases storing a wide variety of data types and sources, including social and sensor data, mobile device. A modern database has ability to allow organisations to do useful things with their data.

The most popular non- relational databases are:

Mongo DB: It stores data in flexible, JSON- like documents, means that fields can vary from document to document and structure of data can be changed over time.

Document DB: It is also known as document- oriented database is designed to store semi-structured data as documents.

Cassandra: It is highly scalable, high performance distributed database that is designed to handle large amounts of data across many servers. It is a type of NOSQL database.

IV. DIFFERENCE BETWEEN RELATIONAL AND NON-RELATIONAL DATABASES

Relational databases like MySQL, PostgreSQL and SQLite3 represent and store data in tables and rows. These databases are based on a branch of algebraic set theory that is known as relational algebra. Meanwhile, non-relational databases like MongoDB represent data in collections of JSON documents. The Mongo import utility can import these file formatsi.e. JSON, CSV and TSV. Mongo query targets of data are represented as BSON (binary JASON).

Mongo is a popular non-relational database for MongoDB Ember Angular and Node.js (MEAN) stack developers because it is basically written in JavaScript. JSON is JavaScript Object Notation, which is a lightweight data interchange format. If your data model turns out to be very complex, non-relational databases like Mongo may be the best way to go. Other reasons for choosing a non-relational database include:

Need to store serialized arrays in JSON objects.

Storing records are in the same collection that has different fields or attributes.

Finding yourself de-normalizing your database schema or coding around performance and horizontal scalability issues.

Page 3: Traditional Databases vs NOSQL

International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 4 | May-Jun 2018 Page: 70

Problems are easily pre-defining your schema because of the nature of your data model.

CONCLUSION

Databases play a very important role in application development and have different models available. We are using Relational Databases from decades for different applications due to features like easy to use, simple, reliable and open source but now experts are facing number of challenges due to deployment of Traditional Relational Databases like Big Data, IOT and Cloud. The paper introduces new era of databases which are Non-Relational and minimizes the issues facing during implementation of Relational Databases.

REFERENCES

1. NaseerGaniee, “NOSQL: The Big Data Solution”, International Journal of Advancement in Engineering Technology, Management and Applied Sciences, Volume 1, Issue 2, July 2014.

2. NaseerGaniee, “New Database Constraints and Modern Applications”, IJLTEMAS, Volume III, Issue II, February 2014.

3. AmeyaNayak, Anil Poriya, and DikshayPoojary, “Types of NOSQL Databases and its comparison with the Relational Databases”, International Journal of Applied Information Systems, Volume 5 No. 4, March 2013, www.ijais.org.

4. Paolo Atzeni, “The Relational is dead, SQL is dead, and I don’t feel so good myself”, Volume 42, No 2, June 2013.

5. A B Moniruzzaman and Syed AkhtarHossain, “NOSQL Database: New Era of Databases for Big Data Analytics- Classification, Comparison and Characteristics”, International Journal of Database Theory and application.

6. “Database – Definition of database by Merriam-Webster". Webster.com.

7. “A Relational Database Overview". oracle.com. 8. "NoSQL (Not Only SQL)". “NoSQL database,

also called Not Only SQL” 9. “Jepsen: MongoDB stale reads". Aphyr.com.

2015-04-20. Retrieved 2017-03-06