SlideShare a Scribd company logo
3/21/2021
A brief introduction to NoSQL | Fas Mosleh
FAS
MOSLEH
A BRIEF INTRODUCTION TO NOSQL
A Brief Intro to NoSQL Page 2
Contents
Introduction:.................................................................................................................................................3
What is NoSQL?.........................................................................................................................................3
What about SQL? ......................................................................................................................................4
A review of RDBMS...................................................................................................................................4
Examples of relational databases: ............................................................................................................5
Simplicity is a driver of SQL vs. NoSQL......................................................................................................5
Different types of NoSQL Databases.........................................................................................................6
Document..............................................................................................................................................6
Key-value...............................................................................................................................................6
Wide-column or columnar....................................................................................................................6
Graph ....................................................................................................................................................7
Object-oriented.....................................................................................................................................7
The users of NoSQL...................................................................................................................................7
Who Uses NoSQL Databases?...............................................................................................................7
The Advantages of NoSQL Databases.......................................................................................................8
Being “Agile” and the need for Flexibility and Speed...............................................................................8
Performance and cost reduction was a driver of NoSQL..........................................................................8
Can they store relational information well?.........................................................................................8
Transactional Use Cases vs. Analytical Use Cases...................................................................................11
Source:Stichdata .....................................................................................................................................11
Analytical Needs..................................................................................................................................12
The Top NoSQL Databases......................................................................................................................12
Enterprise requirements of a data warehouse .......................................................................................13
The emerging Transactional NoSQL movement .....................................................................................13
A Brief Intro to NoSQL Page 3
Introduction:
What is NoSQL?
NoSQL refers to any database that is not using SQL or the commonly found relational model
that arranges data discretely into tables comprising columns and rows.
Common examples of NoSQL databases are the key-value store, document databases, column-
oriented databases, and graph databases.
Typical properties of NoSQL DB’s:
 NoSQL is commonly associated with more flexible deployment and structure as well as
faster read and write performance.
 NoSQL databases are rarely ACID1
compliant, and may or may not offer query languages
to pull and manipulate data. NoSQL is increasingly used to support big data level
analytics.
 NoSQL databases allow developers to store huge amounts of unstructured data, giving
them a lot of flexibility.
 They are also used for scaling to very large data sets.
1
Atomicity Consistency Isolation Durability - The presence of these four can ensure that a database transaction is completed in a timely
manner. When databases possess these components, they are said to be ACID-compliant.
A Brief Intro to NoSQL Page 4
What about SQL?
Almost all relational databases use a form of SQL as their query language, and most of them
adhere to the ACID set of properties to ensure reliable transactions: atomicity, consistency,
isolation, and durability2
.
Relational databases store and manage data in a traditional table format, with each piece of data
organized into a row and a column.
Columns hold the data of a single type or field, like first name, order number, or the image link
of a product logo. Rows create the relationship between these data points.
For example, rows can associate a first name to a last name and then to a user name, email
address, and customer ID. Businesses use relational databases to maintain the data from their
applications and ensure they always have access to critical customer information, product data,
social data, and financial particulars like purchases, fulfillment, revenue, and expenses.
A review of RDBMS
Relational databases are also called relational database management systems (RDBMS) or
structured query language (SQL) databases. An RDBMS is based on SQL that allows users to
update, query, and administer a relational database.
SQL is typically the standard programming language used to access a relational database.
Relational databases software can read SQL and use SQL syntax. SQL’s syntax is very simple,
and as such, it is one of the simplest programming languages in the industry and is used to easily
access and query relational databases; users can search for a range of interconnected data with
ease.
Relational databases software facilitates the creation, maintenance, and usage of these tables.
RDBMS solutions store large volumes of data and allow access to structured data sets efficiently
and flexibly.
2
This set of properties has been the defining feature of relational databases which, simply put, ensures that all
transactions are accurate, up-to-date, and reliable.
A Brief Intro to NoSQL Page 5
Examples of relational databases:
Microsoft SQL
Oracle Database
IBM DB2
MySQL (Open source )
Amazon RDS (Relational Database Service)
Amazon Aurora (MySQL and PostgreSQL-compatible open source DB).
PostgreSQL (Open source object-relational DB)
SAP HANA (Converges transactions and analytics on one in-memory platform, running on
premise or in the cloud)
IBM Informix
MariaDB (Open source DB with full ACID)
SQLite (Self-contained, serverless, zero-configuration, transactional SQL database engine)
Teradata Vantage
Azure SQL (Relational database-as-a service using the Microsoft SQL Server Engine.)
Oracle TimesTen (Runs in the application tier and stores all data in main memory.)
Simplicity is a driver of SQL vs. NoSQL
Relational DB systems can range from desktop applications that create a small database on your
laptop or phone to large enterprise-grade data stores running on your premises or in the cloud.
Relational databases are usually chosen due to their simplicity in comparison to NoSQL
databases, such as object-oriented databases, document databases, and graph databases.
A Brief Intro to NoSQL Page 6
Different types of NoSQL Databases
NoSQL comprises multiple types of databases, each designed for a different use case or data
type. The main types are document, key-value, wide-column, object-oriented and graph.
For example a document database stores long-form web content (web pages, documents). They
provide flexible schemas and scale easily with large amounts of data and high user loads.
Document
Document databases store related data together in documents, a semi-structured schema that
maintains a level of reportability by keeping associated metadata within the data itself.
Document databases house data together that are relevant to each other, and don’t require a
standard schema across documents. Additionally, these documents can reference other
documents, giving the document an element of structured depth. Document databases are useful
for data that are strongly related but non-standard across tuples3
.
Key-value
If all you need is to render a value that can be easily found by its key, then a key-value store is
the quickest and most scalable approach. The drawback is a much more limited querying ability,
so it doesn’t work well for analytic data. That said, rendering a user’s email address based on the
username or caching web data is a simple and fast solution in a key-value store.
Key-value stores save data as discrete couplets of name and value associated together with a key.
No key necessarily needs the same structure, so data is simply accumulated instead of sorted into
tables.
Wide-column or columnar
Column-oriented databases are key-value stores that impose more structure on their data. Key-
value pairs (or columns) are associated together into families and tables. Unlike a relational
database, the data within the tables and families are not consistent but the overlying structure
allows greater potential for associating data together in hierarchies.
3
A tuple is one of 4 built-in data types in Python used to store collections of data, the other 3 are List, Set, and Dictionary, all with different
qualities and usage. Tuples are used to store multiple items in a single variable. A tuple is a collection which is ordered and unchangeable.
A Brief Intro to NoSQL Page 7
Graph
The first challenge for selecting a database is finding the best structure for the data you’ll be
storing. Sometimes there is a natural fit—for example, airline flight information fits very well in
a graph database as this mimics real-life patterns—while long-form web content can usually slot
into document databases easily (hence the name).
Graph databases utilize topographical schemas to map data as if it were a physical structure of
nodes and edges. Usually a node represents a particular record with associated data, and edges
represent relationships between nodes (along with whatever data particular to the relationship).
When much of your data consists of relationships between data points, graph databases are a
good choice. Graph databases break data down into nodes and relationships, storing properties
on each. Because any node can have unlimited relationships with other nodes with a trivial effect
on performance, these are optimal for relationship-oriented data such as social networks.
Object-oriented
Object-oriented databases help organize data models and are typically used when needing to
structure large, complex data sets. These tools utilize query languages to retrieve information and
create tables to be set with information.
The users of NoSQL
Who Uses NoSQL Databases?
Data scientists – Relational databases are the more traditional storage option, where all data is
filed in rows and columns. With the ever growing complexity of data, many data scientists now
prefer NoSQL databases, which allow for greater flexibility because they do not force the user to
the row-and-column format.
Those that need to collect extra large data sets in real time should look into big data processing
and distribution systems. These tools are built to scale for businesses that are constantly
collecting enormous amounts of data. Pulling data sets may be more challenging with big data
processing and distribution systems, but the insights received may be more valuable due to the
granularity of the data.
Database administrators – Non-relational, or NoSQL, databases have recently grown in
popularity because they are easier to implement, have greater flexibility, and tend to have faster
data retrieval times. They are cheaper and easier to scale, but don’t have the same levels of
standardization and reporting tools.
A Brief Intro to NoSQL Page 8
Non-native databases are the most common, but allow users outside the company to insert and
retrieve data. Some people believe this enhances data by providing increased, more human
knowledge. These tools typically serve niche purposes for specific applications.
The Advantages of NoSQL Databases
 Create a flexible and dynamic data model to store and access data rapidly and flexibly
 Handle large volumes of data at high speed with a scale-out architecture.
 Scale database operations without overhauling data schema or strategy and lower
performance; Enable easy updates to schemas and fields.
 Store unstructured, semi-structured, or structured data.
 Optimize IT infrastructure resources by the more efficient use of storage resources
 Achieve big data levels of information storage particularly for non-structured data
 Support business applications with higher availability
 Be more developer-friendly
 Take advantage of the cloud to deliver zero downtime
Being “Agile” and the need for Flexibility and Speed
In the 2000’s, with the ascent of the Agile methodology, programmers recognized the need to
rapidly adapt to changing requirements. They needed the ability to iterate quickly and make
changes throughout the software stack, from presentation and logic all the way to the database
model. NoSQL databases gave them this flexibility.
Performance and cost reduction was a driver of NoSQL
The name "NoSQL" was coined in the early 21st century, though NoSQL databases were around
even in the 1960’s. The growing needs of Web 2.0 companies included the need to handle sub
second response times from huge numbers of users and improving developer productivity to
reduce development costs; this drove the development and usage of NoSQL DBs.
In the mid 2000s, the cost of storage started decreasing dramatically and the need to reduce data
duplication, to keep storage costs down, by using a complex, difficult-to-manage data model
simply became less necessary. NoSQL databases emerged to control the rising costs of
developers and tend to the ever increasing need to handle vast amounts of users simultaneously
accessing data and expecting sub second response times. SQL alone, could not always cope with
the crushing scale of 10’s of millions of demanding users, as applications became more global.
A NoSQL database simply provides a mechanism for storage and retrieval of data that is modeled in a
manner different from the simple tabular relations used in relational databases.
Can they store relational information well?
A Brief Intro to NoSQL Page 9
Many believe that NoSQL databases or non-relational databases don’t store relationship data well. But
this is not correct, because NoSQL databases just store relationship data differently than relational
databases do. When compared with SQL databases, many find modeling relationship data in NoSQL
databases to be easier than in SQL databases, because related data doesn’t have to be split between tables.
NoSQL data models allow related data to be nested within a single data structure.
A Brief Intro to NoSQL Page 10
Source: Guru99
“Different databases are designed to solve different problems. Using a single database engine for all
of the requirements usually leads to non- performant solutions; storing transactional data, caching
session information, traversing graph of customers and the products their friends bought are
essentially different problems.”
― Pramod J. Sadalage, NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence
A Brief Intro to NoSQL Page 11
Source: Apptunix
Transactional Use Cases vs. Analytical Use Cases
Source:Stichdata
A Brief Intro to NoSQL Page 12
Analytical Needs
Data warehouse technology has advanced significantly in the past few years. An entire category called
analytic databases has arisen to specifically address the needs of organizations who want to build very
high-performance data warehouses. Analytic databases are purpose-built to analyze extremely large
volumes of data very quickly and often perform 100-1,000 times faster than transactional databases in
these tasks.
The Top NoSQL Databases
Source: MongoDB
A Brief Intro to NoSQL Page 13
Enterprise requirements of a data warehouse
1. Performance. The data warehouse needs to able to ingest data and analyze enormous
quantities of data extremely quickly.
2. Scalability. As you grow, more data will be piped in and more users will need to run
analyses. The data warehouse must be able to keep pace with your growth.
3. Compatibility. SQL is the most widely-used query interface with a massive ecosystem
of both users and tools. SQL compatibility should be considered a top priority for any
data warehouse technology.
4. Analytic functionality. Analysts often need to perform more complicated calculations
than are supported in traditional SQL syntax, including regressions and predictive
analytics.
The emerging Transactional NoSQL movement
The NoSQL database revolution started with the publication of the Google BigTable and
Amazon Dynamo papers in 2006 and 2007. These original designs focused on horizontal write
scalability producing better performance than SQL databases. However, they compromised the
ACID properties, lacking consistency and durability. Therefore, NoSQL became synonymous
with “Non-Relational” and “Non-Transactional”.
Failures in consistency could lead to a value that was either never committed in the database or
was completely out of order. Given these fundamental limitations, developers continued to use
monolithic SQL databases for business-critical workloads and NoSQL was relegated to less
business-critical workloads.
However, big changes happened in the NoSQL world from 2018 to 2020. For instance, multiple
old and new NoSQL databases alike, embraced one or more flavors of ACID transactions.
Examples are:
Amazon DynamoDB
https://aws.amazon.com/about-aws/whats-new/2018/11/announcing-amazon-dynamodb-support-for-
transactions/
Microsoft Azure Cosmos DB
(Azure Cosmos DB supports full ACID compliant transactions with snapshot isolation for operations
within the same logical partition key)
https://devblogs.microsoft.com/cosmosdb/introducing-transactionalbatch-in-the-net-sdk/
MongoDB (MongoDB is ACID-compilant at the document level.)
A Brief Intro to NoSQL Page 14

More Related Content

What's hot

Database Basics
Database BasicsDatabase Basics
Database Basics
ProdigyView
 
Secure Transaction Model for NoSQL Database Systems: Review
Secure Transaction Model for NoSQL Database Systems: ReviewSecure Transaction Model for NoSQL Database Systems: Review
Secure Transaction Model for NoSQL Database Systems: Review
rahulmonikasharma
 
Introduction to database with ms access.hetvii
Introduction to database with ms access.hetviiIntroduction to database with ms access.hetvii
Introduction to database with ms access.hetvii
07HetviBhagat
 
MongoDB NoSQL database a deep dive -MyWhitePaper
MongoDB  NoSQL database a deep dive -MyWhitePaperMongoDB  NoSQL database a deep dive -MyWhitePaper
MongoDB NoSQL database a deep dive -MyWhitePaper
Rajesh Kumar
 
CS828 P5 Individual Project v101
CS828 P5 Individual Project v101CS828 P5 Individual Project v101
CS828 P5 Individual Project v101ThienSi Le
 
Asp.net interview questions
Asp.net interview questionsAsp.net interview questions
Asp.net interview questions
Akhil Mittal
 
Introduction of oracle database
Introduction of oracle databaseIntroduction of oracle database
Introduction of oracle database
Ranidm
 
Data warehouse 2.0 and sql server architecture and vision
Data warehouse 2.0 and sql server architecture and visionData warehouse 2.0 and sql server architecture and vision
Data warehouse 2.0 and sql server architecture and visionKlaudiia Jacome
 
MS-SQL SERVER ARCHITECTURE
MS-SQL SERVER ARCHITECTUREMS-SQL SERVER ARCHITECTURE
MS-SQL SERVER ARCHITECTURE
Douglas Bernardini
 
Database workshop - Encode | Bhuvan Gandhi | Vishwas Ganatra
Database workshop - Encode | Bhuvan Gandhi | Vishwas GanatraDatabase workshop - Encode | Bhuvan Gandhi | Vishwas Ganatra
Database workshop - Encode | Bhuvan Gandhi | Vishwas Ganatra
Bhuvan Gandhi
 
NoSQL - A Closer Look to Couchbase
NoSQL - A Closer Look to CouchbaseNoSQL - A Closer Look to Couchbase
NoSQL - A Closer Look to Couchbase
Mohammad Shaker
 
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
IJCERT JOURNAL
 
Chapter 8(designing of documnt databases)no sql for mere mortals
Chapter 8(designing of documnt databases)no sql for mere mortalsChapter 8(designing of documnt databases)no sql for mere mortals
Chapter 8(designing of documnt databases)no sql for mere mortals
nehabsairam
 
Auditing Data Access in SQL Server
Auditing Data Access in SQL ServerAuditing Data Access in SQL Server
Auditing Data Access in SQL Server
Antonios Chatzipavlis
 
Oracle Exadata Interview Questions and Answers
Oracle Exadata Interview Questions and AnswersOracle Exadata Interview Questions and Answers
Oracle Exadata Interview Questions and Answers
Exadatadba
 
Oracle developer interview questions(entry level)
Oracle developer interview questions(entry level)Oracle developer interview questions(entry level)
Oracle developer interview questions(entry level)
Naveen P
 
Introduction to sql server
Introduction to sql serverIntroduction to sql server
Introduction to sql serverVinay Thota
 

What's hot (17)

Database Basics
Database BasicsDatabase Basics
Database Basics
 
Secure Transaction Model for NoSQL Database Systems: Review
Secure Transaction Model for NoSQL Database Systems: ReviewSecure Transaction Model for NoSQL Database Systems: Review
Secure Transaction Model for NoSQL Database Systems: Review
 
Introduction to database with ms access.hetvii
Introduction to database with ms access.hetviiIntroduction to database with ms access.hetvii
Introduction to database with ms access.hetvii
 
MongoDB NoSQL database a deep dive -MyWhitePaper
MongoDB  NoSQL database a deep dive -MyWhitePaperMongoDB  NoSQL database a deep dive -MyWhitePaper
MongoDB NoSQL database a deep dive -MyWhitePaper
 
CS828 P5 Individual Project v101
CS828 P5 Individual Project v101CS828 P5 Individual Project v101
CS828 P5 Individual Project v101
 
Asp.net interview questions
Asp.net interview questionsAsp.net interview questions
Asp.net interview questions
 
Introduction of oracle database
Introduction of oracle databaseIntroduction of oracle database
Introduction of oracle database
 
Data warehouse 2.0 and sql server architecture and vision
Data warehouse 2.0 and sql server architecture and visionData warehouse 2.0 and sql server architecture and vision
Data warehouse 2.0 and sql server architecture and vision
 
MS-SQL SERVER ARCHITECTURE
MS-SQL SERVER ARCHITECTUREMS-SQL SERVER ARCHITECTURE
MS-SQL SERVER ARCHITECTURE
 
Database workshop - Encode | Bhuvan Gandhi | Vishwas Ganatra
Database workshop - Encode | Bhuvan Gandhi | Vishwas GanatraDatabase workshop - Encode | Bhuvan Gandhi | Vishwas Ganatra
Database workshop - Encode | Bhuvan Gandhi | Vishwas Ganatra
 
NoSQL - A Closer Look to Couchbase
NoSQL - A Closer Look to CouchbaseNoSQL - A Closer Look to Couchbase
NoSQL - A Closer Look to Couchbase
 
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
 
Chapter 8(designing of documnt databases)no sql for mere mortals
Chapter 8(designing of documnt databases)no sql for mere mortalsChapter 8(designing of documnt databases)no sql for mere mortals
Chapter 8(designing of documnt databases)no sql for mere mortals
 
Auditing Data Access in SQL Server
Auditing Data Access in SQL ServerAuditing Data Access in SQL Server
Auditing Data Access in SQL Server
 
Oracle Exadata Interview Questions and Answers
Oracle Exadata Interview Questions and AnswersOracle Exadata Interview Questions and Answers
Oracle Exadata Interview Questions and Answers
 
Oracle developer interview questions(entry level)
Oracle developer interview questions(entry level)Oracle developer interview questions(entry level)
Oracle developer interview questions(entry level)
 
Introduction to sql server
Introduction to sql serverIntroduction to sql server
Introduction to sql server
 

Similar to Brief introduction to NoSQL by fas mosleh

Comparative study of no sql document, column store databases and evaluation o...
Comparative study of no sql document, column store databases and evaluation o...Comparative study of no sql document, column store databases and evaluation o...
Comparative study of no sql document, column store databases and evaluation o...
ijdms
 
A Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQLA Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQL
IJSCAI Journal
 
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQLA STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
ijscai
 
A Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQLA Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQL
IJSCAI Journal
 
A Survey And Comparison Of Relational And Non-Relational Database
A Survey And Comparison Of Relational And Non-Relational DatabaseA Survey And Comparison Of Relational And Non-Relational Database
A Survey And Comparison Of Relational And Non-Relational Database
Karla Adamson
 
NoSQL_Databases
NoSQL_DatabasesNoSQL_Databases
NoSQL_DatabasesRick Perry
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sql
Ram kumar
 
Unit-10.pptx
Unit-10.pptxUnit-10.pptx
Unit-10.pptx
GhanashyamBK1
 
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptxDATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
Laxmi Pandya
 
nosql.pptx
nosql.pptxnosql.pptx
nosql.pptx
Prakash Zodge
 
WEB_DATABASE_chapter_4.pptx
WEB_DATABASE_chapter_4.pptxWEB_DATABASE_chapter_4.pptx
WEB_DATABASE_chapter_4.pptx
Koteswari Kasireddy
 
unit2-ppt1.pptx
unit2-ppt1.pptxunit2-ppt1.pptx
unit2-ppt1.pptx
revathigollu23
 
No Sql Databases
No Sql DatabasesNo Sql Databases
No Sql Databases
Jessica Cannella
 
Report 1.0.docx
Report 1.0.docxReport 1.0.docx
Report 1.0.docx
pinstechwork
 
Rise of NewSQL
Rise of NewSQLRise of NewSQL
Rise of NewSQL
Sushant Choudhary
 
NoSQL Basics and MongDB
NoSQL Basics and  MongDBNoSQL Basics and  MongDB
NoSQL Basics and MongDB
Shamima Yeasmin Mukta
 
1. introduction to no sql
1. introduction to no sql1. introduction to no sql
1. introduction to no sql
Anuja Gunale
 

Similar to Brief introduction to NoSQL by fas mosleh (20)

Comparative study of no sql document, column store databases and evaluation o...
Comparative study of no sql document, column store databases and evaluation o...Comparative study of no sql document, column store databases and evaluation o...
Comparative study of no sql document, column store databases and evaluation o...
 
A Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQLA Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQL
 
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQLA STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
 
A Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQLA Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQL
 
A Survey And Comparison Of Relational And Non-Relational Database
A Survey And Comparison Of Relational And Non-Relational DatabaseA Survey And Comparison Of Relational And Non-Relational Database
A Survey And Comparison Of Relational And Non-Relational Database
 
NoSQL_Databases
NoSQL_DatabasesNoSQL_Databases
NoSQL_Databases
 
No sql database
No sql databaseNo sql database
No sql database
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sql
 
Unit-10.pptx
Unit-10.pptxUnit-10.pptx
Unit-10.pptx
 
No sql
No sqlNo sql
No sql
 
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptxDATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
 
nosql.pptx
nosql.pptxnosql.pptx
nosql.pptx
 
WEB_DATABASE_chapter_4.pptx
WEB_DATABASE_chapter_4.pptxWEB_DATABASE_chapter_4.pptx
WEB_DATABASE_chapter_4.pptx
 
unit2-ppt1.pptx
unit2-ppt1.pptxunit2-ppt1.pptx
unit2-ppt1.pptx
 
No Sql Databases
No Sql DatabasesNo Sql Databases
No Sql Databases
 
Datastores
DatastoresDatastores
Datastores
 
Report 1.0.docx
Report 1.0.docxReport 1.0.docx
Report 1.0.docx
 
Rise of NewSQL
Rise of NewSQLRise of NewSQL
Rise of NewSQL
 
NoSQL Basics and MongDB
NoSQL Basics and  MongDBNoSQL Basics and  MongDB
NoSQL Basics and MongDB
 
1. introduction to no sql
1. introduction to no sql1. introduction to no sql
1. introduction to no sql
 

More from Fas (Feisal) Mosleh

The Biggest Cyber and Physical Security Threats to Critical Infrastructure FM...
The Biggest Cyber and Physical Security Threats to Critical Infrastructure FM...The Biggest Cyber and Physical Security Threats to Critical Infrastructure FM...
The Biggest Cyber and Physical Security Threats to Critical Infrastructure FM...
Fas (Feisal) Mosleh
 
Robotics for Power Plants with IBM and Certrec Webinar Presentation V6.pdf
Robotics for Power Plants with IBM and Certrec Webinar Presentation V6.pdfRobotics for Power Plants with IBM and Certrec Webinar Presentation V6.pdf
Robotics for Power Plants with IBM and Certrec Webinar Presentation V6.pdf
Fas (Feisal) Mosleh
 
WHITE PAPER - The Importance of CIP in the Energy Sector v2.0.pdf
WHITE PAPER - The Importance of CIP in the Energy Sector v2.0.pdfWHITE PAPER - The Importance of CIP in the Energy Sector v2.0.pdf
WHITE PAPER - The Importance of CIP in the Energy Sector v2.0.pdf
Fas (Feisal) Mosleh
 
Introduction to virtual desktop infrastructure v3
Introduction to virtual desktop infrastructure  v3Introduction to virtual desktop infrastructure  v3
Introduction to virtual desktop infrastructure v3
Fas (Feisal) Mosleh
 
Joint gtm for software and systems technologies
Joint gtm for software and systems technologiesJoint gtm for software and systems technologies
Joint gtm for software and systems technologies
Fas (Feisal) Mosleh
 
Hq camera avago ee times article v2
Hq camera    avago ee times article v2Hq camera    avago ee times article v2
Hq camera avago ee times article v2
Fas (Feisal) Mosleh
 
Agilent technologies announces innovative image pipe for camera phones
Agilent technologies announces innovative image pipe for camera phonesAgilent technologies announces innovative image pipe for camera phones
Agilent technologies announces innovative image pipe for camera phones
Fas (Feisal) Mosleh
 
Migrating from ibm to hpe
Migrating from ibm to hpeMigrating from ibm to hpe
Migrating from ibm to hpe
Fas (Feisal) Mosleh
 
Mission critical linux white paper
Mission critical linux white paperMission critical linux white paper
Mission critical linux white paper
Fas (Feisal) Mosleh
 
Juldee IP and tech monetization v4 by ex-Hewlett-Packard Director of IP Fas M...
Juldee IP and tech monetization v4 by ex-Hewlett-Packard Director of IP Fas M...Juldee IP and tech monetization v4 by ex-Hewlett-Packard Director of IP Fas M...
Juldee IP and tech monetization v4 by ex-Hewlett-Packard Director of IP Fas M...
Fas (Feisal) Mosleh
 
Syndicated Patent Deals = Supercharging the buying and selling of patents by ...
Syndicated Patent Deals = Supercharging the buying and selling of patents by ...Syndicated Patent Deals = Supercharging the buying and selling of patents by ...
Syndicated Patent Deals = Supercharging the buying and selling of patents by ...
Fas (Feisal) Mosleh
 
Juldee Ventures - why si valley summary
Juldee Ventures  - why si valley summaryJuldee Ventures  - why si valley summary
Juldee Ventures - why si valley summary
Fas (Feisal) Mosleh
 
Introduction to IP and technology licensing for technology executives by Fas ...
Introduction to IP and technology licensing for technology executives by Fas ...Introduction to IP and technology licensing for technology executives by Fas ...
Introduction to IP and technology licensing for technology executives by Fas ...
Fas (Feisal) Mosleh
 
The value of patents the executives' perspective v3
The value of patents   the executives' perspective v3The value of patents   the executives' perspective v3
The value of patents the executives' perspective v3
Fas (Feisal) Mosleh
 
Innovation & disruption hp talk april 2010 juldee version
Innovation & disruption hp talk april 2010 juldee versionInnovation & disruption hp talk april 2010 juldee version
Innovation & disruption hp talk april 2010 juldee version
Fas (Feisal) Mosleh
 
Creative venturing creative funding v2 12 06-2013 for distribution
Creative venturing creative funding v2 12 06-2013 for distributionCreative venturing creative funding v2 12 06-2013 for distribution
Creative venturing creative funding v2 12 06-2013 for distribution
Fas (Feisal) Mosleh
 
Creative exits v3 10 20-2013 for distribution Fas Mosleh at OPEN Networking E...
Creative exits v3 10 20-2013 for distribution Fas Mosleh at OPEN Networking E...Creative exits v3 10 20-2013 for distribution Fas Mosleh at OPEN Networking E...
Creative exits v3 10 20-2013 for distribution Fas Mosleh at OPEN Networking E...
Fas (Feisal) Mosleh
 
Upping valuation v2 9 30-2013
Upping valuation v2 9 30-2013Upping valuation v2 9 30-2013
Upping valuation v2 9 30-2013
Fas (Feisal) Mosleh
 
Why Acquire Patents? kanzatec summary 2013
Why Acquire Patents?   kanzatec summary 2013Why Acquire Patents?   kanzatec summary 2013
Why Acquire Patents? kanzatec summary 2013
Fas (Feisal) Mosleh
 

More from Fas (Feisal) Mosleh (19)

The Biggest Cyber and Physical Security Threats to Critical Infrastructure FM...
The Biggest Cyber and Physical Security Threats to Critical Infrastructure FM...The Biggest Cyber and Physical Security Threats to Critical Infrastructure FM...
The Biggest Cyber and Physical Security Threats to Critical Infrastructure FM...
 
Robotics for Power Plants with IBM and Certrec Webinar Presentation V6.pdf
Robotics for Power Plants with IBM and Certrec Webinar Presentation V6.pdfRobotics for Power Plants with IBM and Certrec Webinar Presentation V6.pdf
Robotics for Power Plants with IBM and Certrec Webinar Presentation V6.pdf
 
WHITE PAPER - The Importance of CIP in the Energy Sector v2.0.pdf
WHITE PAPER - The Importance of CIP in the Energy Sector v2.0.pdfWHITE PAPER - The Importance of CIP in the Energy Sector v2.0.pdf
WHITE PAPER - The Importance of CIP in the Energy Sector v2.0.pdf
 
Introduction to virtual desktop infrastructure v3
Introduction to virtual desktop infrastructure  v3Introduction to virtual desktop infrastructure  v3
Introduction to virtual desktop infrastructure v3
 
Joint gtm for software and systems technologies
Joint gtm for software and systems technologiesJoint gtm for software and systems technologies
Joint gtm for software and systems technologies
 
Hq camera avago ee times article v2
Hq camera    avago ee times article v2Hq camera    avago ee times article v2
Hq camera avago ee times article v2
 
Agilent technologies announces innovative image pipe for camera phones
Agilent technologies announces innovative image pipe for camera phonesAgilent technologies announces innovative image pipe for camera phones
Agilent technologies announces innovative image pipe for camera phones
 
Migrating from ibm to hpe
Migrating from ibm to hpeMigrating from ibm to hpe
Migrating from ibm to hpe
 
Mission critical linux white paper
Mission critical linux white paperMission critical linux white paper
Mission critical linux white paper
 
Juldee IP and tech monetization v4 by ex-Hewlett-Packard Director of IP Fas M...
Juldee IP and tech monetization v4 by ex-Hewlett-Packard Director of IP Fas M...Juldee IP and tech monetization v4 by ex-Hewlett-Packard Director of IP Fas M...
Juldee IP and tech monetization v4 by ex-Hewlett-Packard Director of IP Fas M...
 
Syndicated Patent Deals = Supercharging the buying and selling of patents by ...
Syndicated Patent Deals = Supercharging the buying and selling of patents by ...Syndicated Patent Deals = Supercharging the buying and selling of patents by ...
Syndicated Patent Deals = Supercharging the buying and selling of patents by ...
 
Juldee Ventures - why si valley summary
Juldee Ventures  - why si valley summaryJuldee Ventures  - why si valley summary
Juldee Ventures - why si valley summary
 
Introduction to IP and technology licensing for technology executives by Fas ...
Introduction to IP and technology licensing for technology executives by Fas ...Introduction to IP and technology licensing for technology executives by Fas ...
Introduction to IP and technology licensing for technology executives by Fas ...
 
The value of patents the executives' perspective v3
The value of patents   the executives' perspective v3The value of patents   the executives' perspective v3
The value of patents the executives' perspective v3
 
Innovation & disruption hp talk april 2010 juldee version
Innovation & disruption hp talk april 2010 juldee versionInnovation & disruption hp talk april 2010 juldee version
Innovation & disruption hp talk april 2010 juldee version
 
Creative venturing creative funding v2 12 06-2013 for distribution
Creative venturing creative funding v2 12 06-2013 for distributionCreative venturing creative funding v2 12 06-2013 for distribution
Creative venturing creative funding v2 12 06-2013 for distribution
 
Creative exits v3 10 20-2013 for distribution Fas Mosleh at OPEN Networking E...
Creative exits v3 10 20-2013 for distribution Fas Mosleh at OPEN Networking E...Creative exits v3 10 20-2013 for distribution Fas Mosleh at OPEN Networking E...
Creative exits v3 10 20-2013 for distribution Fas Mosleh at OPEN Networking E...
 
Upping valuation v2 9 30-2013
Upping valuation v2 9 30-2013Upping valuation v2 9 30-2013
Upping valuation v2 9 30-2013
 
Why Acquire Patents? kanzatec summary 2013
Why Acquire Patents?   kanzatec summary 2013Why Acquire Patents?   kanzatec summary 2013
Why Acquire Patents? kanzatec summary 2013
 

Recently uploaded

一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
ewymefz
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
NABLAS株式会社
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
MaleehaSheikh2
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
Tiktokethiodaily
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
ukgaet
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
AbhimanyuSinha9
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
Oppotus
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
benishzehra469
 
tapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive datatapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive data
theahmadsaood
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Subhajit Sahu
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
ocavb
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
vcaxypu
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
Subhajit Sahu
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
Opendatabay
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
TravisMalana
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
nscud
 

Recently uploaded (20)

一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
 
tapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive datatapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive data
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
 

Brief introduction to NoSQL by fas mosleh

  • 1. 3/21/2021 A brief introduction to NoSQL | Fas Mosleh FAS MOSLEH A BRIEF INTRODUCTION TO NOSQL
  • 2. A Brief Intro to NoSQL Page 2 Contents Introduction:.................................................................................................................................................3 What is NoSQL?.........................................................................................................................................3 What about SQL? ......................................................................................................................................4 A review of RDBMS...................................................................................................................................4 Examples of relational databases: ............................................................................................................5 Simplicity is a driver of SQL vs. NoSQL......................................................................................................5 Different types of NoSQL Databases.........................................................................................................6 Document..............................................................................................................................................6 Key-value...............................................................................................................................................6 Wide-column or columnar....................................................................................................................6 Graph ....................................................................................................................................................7 Object-oriented.....................................................................................................................................7 The users of NoSQL...................................................................................................................................7 Who Uses NoSQL Databases?...............................................................................................................7 The Advantages of NoSQL Databases.......................................................................................................8 Being “Agile” and the need for Flexibility and Speed...............................................................................8 Performance and cost reduction was a driver of NoSQL..........................................................................8 Can they store relational information well?.........................................................................................8 Transactional Use Cases vs. Analytical Use Cases...................................................................................11 Source:Stichdata .....................................................................................................................................11 Analytical Needs..................................................................................................................................12 The Top NoSQL Databases......................................................................................................................12 Enterprise requirements of a data warehouse .......................................................................................13 The emerging Transactional NoSQL movement .....................................................................................13
  • 3. A Brief Intro to NoSQL Page 3 Introduction: What is NoSQL? NoSQL refers to any database that is not using SQL or the commonly found relational model that arranges data discretely into tables comprising columns and rows. Common examples of NoSQL databases are the key-value store, document databases, column- oriented databases, and graph databases. Typical properties of NoSQL DB’s:  NoSQL is commonly associated with more flexible deployment and structure as well as faster read and write performance.  NoSQL databases are rarely ACID1 compliant, and may or may not offer query languages to pull and manipulate data. NoSQL is increasingly used to support big data level analytics.  NoSQL databases allow developers to store huge amounts of unstructured data, giving them a lot of flexibility.  They are also used for scaling to very large data sets. 1 Atomicity Consistency Isolation Durability - The presence of these four can ensure that a database transaction is completed in a timely manner. When databases possess these components, they are said to be ACID-compliant.
  • 4. A Brief Intro to NoSQL Page 4 What about SQL? Almost all relational databases use a form of SQL as their query language, and most of them adhere to the ACID set of properties to ensure reliable transactions: atomicity, consistency, isolation, and durability2 . Relational databases store and manage data in a traditional table format, with each piece of data organized into a row and a column. Columns hold the data of a single type or field, like first name, order number, or the image link of a product logo. Rows create the relationship between these data points. For example, rows can associate a first name to a last name and then to a user name, email address, and customer ID. Businesses use relational databases to maintain the data from their applications and ensure they always have access to critical customer information, product data, social data, and financial particulars like purchases, fulfillment, revenue, and expenses. A review of RDBMS Relational databases are also called relational database management systems (RDBMS) or structured query language (SQL) databases. An RDBMS is based on SQL that allows users to update, query, and administer a relational database. SQL is typically the standard programming language used to access a relational database. Relational databases software can read SQL and use SQL syntax. SQL’s syntax is very simple, and as such, it is one of the simplest programming languages in the industry and is used to easily access and query relational databases; users can search for a range of interconnected data with ease. Relational databases software facilitates the creation, maintenance, and usage of these tables. RDBMS solutions store large volumes of data and allow access to structured data sets efficiently and flexibly. 2 This set of properties has been the defining feature of relational databases which, simply put, ensures that all transactions are accurate, up-to-date, and reliable.
  • 5. A Brief Intro to NoSQL Page 5 Examples of relational databases: Microsoft SQL Oracle Database IBM DB2 MySQL (Open source ) Amazon RDS (Relational Database Service) Amazon Aurora (MySQL and PostgreSQL-compatible open source DB). PostgreSQL (Open source object-relational DB) SAP HANA (Converges transactions and analytics on one in-memory platform, running on premise or in the cloud) IBM Informix MariaDB (Open source DB with full ACID) SQLite (Self-contained, serverless, zero-configuration, transactional SQL database engine) Teradata Vantage Azure SQL (Relational database-as-a service using the Microsoft SQL Server Engine.) Oracle TimesTen (Runs in the application tier and stores all data in main memory.) Simplicity is a driver of SQL vs. NoSQL Relational DB systems can range from desktop applications that create a small database on your laptop or phone to large enterprise-grade data stores running on your premises or in the cloud. Relational databases are usually chosen due to their simplicity in comparison to NoSQL databases, such as object-oriented databases, document databases, and graph databases.
  • 6. A Brief Intro to NoSQL Page 6 Different types of NoSQL Databases NoSQL comprises multiple types of databases, each designed for a different use case or data type. The main types are document, key-value, wide-column, object-oriented and graph. For example a document database stores long-form web content (web pages, documents). They provide flexible schemas and scale easily with large amounts of data and high user loads. Document Document databases store related data together in documents, a semi-structured schema that maintains a level of reportability by keeping associated metadata within the data itself. Document databases house data together that are relevant to each other, and don’t require a standard schema across documents. Additionally, these documents can reference other documents, giving the document an element of structured depth. Document databases are useful for data that are strongly related but non-standard across tuples3 . Key-value If all you need is to render a value that can be easily found by its key, then a key-value store is the quickest and most scalable approach. The drawback is a much more limited querying ability, so it doesn’t work well for analytic data. That said, rendering a user’s email address based on the username or caching web data is a simple and fast solution in a key-value store. Key-value stores save data as discrete couplets of name and value associated together with a key. No key necessarily needs the same structure, so data is simply accumulated instead of sorted into tables. Wide-column or columnar Column-oriented databases are key-value stores that impose more structure on their data. Key- value pairs (or columns) are associated together into families and tables. Unlike a relational database, the data within the tables and families are not consistent but the overlying structure allows greater potential for associating data together in hierarchies. 3 A tuple is one of 4 built-in data types in Python used to store collections of data, the other 3 are List, Set, and Dictionary, all with different qualities and usage. Tuples are used to store multiple items in a single variable. A tuple is a collection which is ordered and unchangeable.
  • 7. A Brief Intro to NoSQL Page 7 Graph The first challenge for selecting a database is finding the best structure for the data you’ll be storing. Sometimes there is a natural fit—for example, airline flight information fits very well in a graph database as this mimics real-life patterns—while long-form web content can usually slot into document databases easily (hence the name). Graph databases utilize topographical schemas to map data as if it were a physical structure of nodes and edges. Usually a node represents a particular record with associated data, and edges represent relationships between nodes (along with whatever data particular to the relationship). When much of your data consists of relationships between data points, graph databases are a good choice. Graph databases break data down into nodes and relationships, storing properties on each. Because any node can have unlimited relationships with other nodes with a trivial effect on performance, these are optimal for relationship-oriented data such as social networks. Object-oriented Object-oriented databases help organize data models and are typically used when needing to structure large, complex data sets. These tools utilize query languages to retrieve information and create tables to be set with information. The users of NoSQL Who Uses NoSQL Databases? Data scientists – Relational databases are the more traditional storage option, where all data is filed in rows and columns. With the ever growing complexity of data, many data scientists now prefer NoSQL databases, which allow for greater flexibility because they do not force the user to the row-and-column format. Those that need to collect extra large data sets in real time should look into big data processing and distribution systems. These tools are built to scale for businesses that are constantly collecting enormous amounts of data. Pulling data sets may be more challenging with big data processing and distribution systems, but the insights received may be more valuable due to the granularity of the data. Database administrators – Non-relational, or NoSQL, databases have recently grown in popularity because they are easier to implement, have greater flexibility, and tend to have faster data retrieval times. They are cheaper and easier to scale, but don’t have the same levels of standardization and reporting tools.
  • 8. A Brief Intro to NoSQL Page 8 Non-native databases are the most common, but allow users outside the company to insert and retrieve data. Some people believe this enhances data by providing increased, more human knowledge. These tools typically serve niche purposes for specific applications. The Advantages of NoSQL Databases  Create a flexible and dynamic data model to store and access data rapidly and flexibly  Handle large volumes of data at high speed with a scale-out architecture.  Scale database operations without overhauling data schema or strategy and lower performance; Enable easy updates to schemas and fields.  Store unstructured, semi-structured, or structured data.  Optimize IT infrastructure resources by the more efficient use of storage resources  Achieve big data levels of information storage particularly for non-structured data  Support business applications with higher availability  Be more developer-friendly  Take advantage of the cloud to deliver zero downtime Being “Agile” and the need for Flexibility and Speed In the 2000’s, with the ascent of the Agile methodology, programmers recognized the need to rapidly adapt to changing requirements. They needed the ability to iterate quickly and make changes throughout the software stack, from presentation and logic all the way to the database model. NoSQL databases gave them this flexibility. Performance and cost reduction was a driver of NoSQL The name "NoSQL" was coined in the early 21st century, though NoSQL databases were around even in the 1960’s. The growing needs of Web 2.0 companies included the need to handle sub second response times from huge numbers of users and improving developer productivity to reduce development costs; this drove the development and usage of NoSQL DBs. In the mid 2000s, the cost of storage started decreasing dramatically and the need to reduce data duplication, to keep storage costs down, by using a complex, difficult-to-manage data model simply became less necessary. NoSQL databases emerged to control the rising costs of developers and tend to the ever increasing need to handle vast amounts of users simultaneously accessing data and expecting sub second response times. SQL alone, could not always cope with the crushing scale of 10’s of millions of demanding users, as applications became more global. A NoSQL database simply provides a mechanism for storage and retrieval of data that is modeled in a manner different from the simple tabular relations used in relational databases. Can they store relational information well?
  • 9. A Brief Intro to NoSQL Page 9 Many believe that NoSQL databases or non-relational databases don’t store relationship data well. But this is not correct, because NoSQL databases just store relationship data differently than relational databases do. When compared with SQL databases, many find modeling relationship data in NoSQL databases to be easier than in SQL databases, because related data doesn’t have to be split between tables. NoSQL data models allow related data to be nested within a single data structure.
  • 10. A Brief Intro to NoSQL Page 10 Source: Guru99 “Different databases are designed to solve different problems. Using a single database engine for all of the requirements usually leads to non- performant solutions; storing transactional data, caching session information, traversing graph of customers and the products their friends bought are essentially different problems.” ― Pramod J. Sadalage, NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence
  • 11. A Brief Intro to NoSQL Page 11 Source: Apptunix Transactional Use Cases vs. Analytical Use Cases Source:Stichdata
  • 12. A Brief Intro to NoSQL Page 12 Analytical Needs Data warehouse technology has advanced significantly in the past few years. An entire category called analytic databases has arisen to specifically address the needs of organizations who want to build very high-performance data warehouses. Analytic databases are purpose-built to analyze extremely large volumes of data very quickly and often perform 100-1,000 times faster than transactional databases in these tasks. The Top NoSQL Databases Source: MongoDB
  • 13. A Brief Intro to NoSQL Page 13 Enterprise requirements of a data warehouse 1. Performance. The data warehouse needs to able to ingest data and analyze enormous quantities of data extremely quickly. 2. Scalability. As you grow, more data will be piped in and more users will need to run analyses. The data warehouse must be able to keep pace with your growth. 3. Compatibility. SQL is the most widely-used query interface with a massive ecosystem of both users and tools. SQL compatibility should be considered a top priority for any data warehouse technology. 4. Analytic functionality. Analysts often need to perform more complicated calculations than are supported in traditional SQL syntax, including regressions and predictive analytics. The emerging Transactional NoSQL movement The NoSQL database revolution started with the publication of the Google BigTable and Amazon Dynamo papers in 2006 and 2007. These original designs focused on horizontal write scalability producing better performance than SQL databases. However, they compromised the ACID properties, lacking consistency and durability. Therefore, NoSQL became synonymous with “Non-Relational” and “Non-Transactional”. Failures in consistency could lead to a value that was either never committed in the database or was completely out of order. Given these fundamental limitations, developers continued to use monolithic SQL databases for business-critical workloads and NoSQL was relegated to less business-critical workloads. However, big changes happened in the NoSQL world from 2018 to 2020. For instance, multiple old and new NoSQL databases alike, embraced one or more flavors of ACID transactions. Examples are: Amazon DynamoDB https://aws.amazon.com/about-aws/whats-new/2018/11/announcing-amazon-dynamodb-support-for- transactions/ Microsoft Azure Cosmos DB (Azure Cosmos DB supports full ACID compliant transactions with snapshot isolation for operations within the same logical partition key) https://devblogs.microsoft.com/cosmosdb/introducing-transactionalbatch-in-the-net-sdk/ MongoDB (MongoDB is ACID-compilant at the document level.)
  • 14. A Brief Intro to NoSQL Page 14