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/