2. Out Line
SQL databases
The most important advantages of SQL databases
The most important advantages of NOSQL databases
The most popular types of NOSQL databases
Document Stores
Key-Value Store
Graph Databases
Column Stores
Major companies using NOSQL databases
3. • WHAT IS NOSQL DATABASES?
• SQL databases:
SQL databases depend mainly on tables and relationships, where
they are designed to follow a single schema that can not be
manipulated or ignored
meaning that we can not insert any data in the table into a column
that has not been created.
4. • The most important advantages of SQL databases
Fixed tracking design.
Data are stored in tables.
SQL is used to query data.
Join supports tables to query data.
Encourages the principle of Normalization to reduce repetition of
data.
6. NOSQL databases
The NOSQL databases prefer to eliminate the Consistency
principle (simply to make the data very similar in all versions of
databases deployed on different servers) to get high performance
and data availability at all times.
The most important advantages of NOSQL databases
The data are stored in files (Documents) instead of tables
NOSQL is not follow static design.
Is not use SQL to query data.
Join supports the linking of files but does not encourage them to
use them.
Do not encourage normalization and do not mind repeating data.
Supports the expansion and availability of data at all times in an
excellent way.
7. The most popular types of NOSQL databases
Document Stores
Data in this type it stored as files, often JSON or XML.
Because NOSQL databases do not depend on a static design,
each file can contain a different unstructured schema.
One of the most popular data-driven databases is Mongo DB and
Couch DB
8. The most popular types of NOSQL databases
Key-Value Store
The data is stored depending on the key and the value of
that key, just like the hash table. Since the keys can not be similar
or repeated, and the database does not care about the type of
data you are storing .
On of the famous data base that depends on the Key-Value Store
to handle data is Redis.
9. The most popular types of NOSQL databases
Graph Databases
The data is stored in the form of Node and Relationship
where it can represent a social graph
On of the famous databases that depend on the graph Neo4j and
FlockDB .
10. The most popular types of NOSQL databases
Column Stores
In SQL databases, data is stored as rows, which is
avoided by the Column Store databases, which store data in the
form of columns.
One of the famous databases that rely on the Column Store in
handling data are Cassandra and HBase.