0% found this document useful (0 votes)
81 views6 pages

NoSQL Databases

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views6 pages

NoSQL Databases

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

NoSQL

NoSQL Databases
Databases

github.com/gurkanucar
What is the NoSQL Database?

The main purpose of NoSQL databases is to store a wide variety of data models
and flexible schemas. There are no relationships like tables in relational
databases.

Types Of NoSQL Database


Document: Stores data in document format. Similar to JSON.
Key-Value: Stores data with key-value pairs. Mostly used for caching and session
operations.
Wide Column: Organizes data storage into flexible columns
Graph: Uses graph data structure and stores data in nodes, edges.

github.com/gurkanucar
Examples of NoSQL Databases

Document: MongoDB, CouchBase

document

Key-Value: Redis, DynamoDB


key-value

Wide Column: Cassandra,Hbase

Graph: IBM Graph, Neo4j

graph

wide-column

github.com/gurkanucar
NoSQL VS SQL

- They have dynamic - They have no


schema dynamic schema
- Supports a simple - Supports complex
query language queries
- Doesn’t support - Supports transaction
transaction and join
- Can handle big data - Has centralized
- Has decentralized structure
structure - Mostly vertical
- Horizontal scaling scaling
- Follows BASE - Follows ACID

github.com/gurkanucar
BASE ?

Relational databases follow ACID whereas NoSQL databases follow BASE


principles. BASE consists of three principles:
Basic Availability: The system must ensure availability every time and must
respond to every request even in a failure.
Soft State: Data may not be consistent. Developers should handle this situation
on the application side.
Eventually Consistent: BASE does not obligate immediate consistency. The
system will eventually become consistent once it stops receiving input.

github.com/gurkanucar
Res:

https://www.mongodb.com/nosql-explained
https://aws.amazon.com/nosql/
https://www.techtarget.com/searchdatamanagement/definition/NoSQL-Not-Only-SQL
https://firebase.google.com/docs/database
https://www.javatpoint.com/relational-vs-nosql-database
https://www.geeksforgeeks.org/acid-model-vs-base-model-for-database/
https://www.freecodecamp.org/news/nosql-databases-5f6639ed9574/

You might also like