NoSQL Databases
Table of Contents
NoSQL atabases
Overview
NoSQL (Not Only SQL) databases are designed to handle large volumes of unstructured or semi-structured data.
They offer flexibility, scalability, and high performance, but often sacrifice some of the ACID guarantees provided by SQL databases.
Key Concepts
- Schema-less or flexible schema: Ability to change data structure without affecting the application.
- Horizontal scalability: Ability to handle increasing data volumes by adding more servers.
- High performance: Optimized for fast read and write operations.
- Data consistency: Different consistency models (strong, eventual, etc.) based on application requirements.
Types of NoSQL atabases
- Document-oriented: Store data in documents, similar to JSON objects. (e.g., MongoDB, Couchbase)
- Key-value: Store data as key-value pairs. (e.g., Redis, Amazon DynamoDB)
- Wide-column: Store data in columns, with rows dynamically defined. (e.g., HBase, Cassandra)
- Graph: Store data as nodes and relationships between them. (e.g., Neo4j, Amazon Neptune)