0% found this document useful (0 votes)
12 views10 pages

No SQL DATABASE

The document discusses NoSQL databases, including what they are, why they are used, common types like key-value stores, document databases, and graph databases, typical use cases, and pros and cons.

Uploaded by

NAVEED AHMAD
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)
12 views10 pages

No SQL DATABASE

The document discusses NoSQL databases, including what they are, why they are used, common types like key-value stores, document databases, and graph databases, typical use cases, and pros and cons.

Uploaded by

NAVEED AHMAD
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/ 10

NO SQL DATABASE

Group Members
M. Naveed Ahmad(01-131212-025)
Rayan Haroon(01-131212-029)
Ibtisam Sohail (01-131212-015)
OVERVIEW

• What are NoSQL databases?


• Why use NoSQL databases?
• Types of NoSQL databases
• Use cases
• Pros and cons
WHAT ARE NOSQL DATABASES

• NoSQL (Not only SQL) databases are non-relational databases that provide a
flexible and scalable approach for storing and retrieving large volumes of
unstructured or semi-structured data.
• Unlike traditional SQL databases, NoSQL databases don't use a fixed schema,
allowing for greater flexibility in data modeling.
• NoSQL databases are designed to handle the three V's of big data: volume,
velocity, and variety
WHY USE NOSQL DATABASES

• Scalability: NoSQL databases excel at horizontal scaling, allowing you to


handle large amounts of data and high traffic loads.
• Flexibility: NoSQL databases can adapt to changing data requirements without
requiring a predefined schema.
• Performance: NoSQL databases provide fast read and write operations,
making them suitable for real-time applications.
• High availability: Many NoSQL databases offer built-in replication and
automatic failover mechanisms, ensuring data availability.
TYPES OF NOSQL DATABASES

1. Key-Value Stores:
• Simplest NoSQL model.
• Stores data in key-value pairs.
• Examples: Redis, Amazon DynamoDB.
2. Document Databases:
• Stores and retrieves semi-structured data as documents.
• Documents can be in various formats like JSON, XML, or BSON.
• Examples: MongoDB, Couchbase
TYPES OF NOSQL DATABASES

Columnar Databases:
• Stores data in column families or columnar structures.
• Efficient for analytical workloads.
• Examples: Apache Cassandra, HBase.
4. Graph Databases:
• Stores and retrieves data in graph structures.
• Excellent for complex relationships and graph analytics.
• Examples: Neo4j, Amazon Neptune.
USE CASES

• NoSQL databases are widely used in various applications, including:


• Web applications: Content management systems, user profiles, session
storage.
• E-commerce: Product catalogs, shopping carts, recommendations.
• Real-time analytics: Capturing and analyzing large volumes of data in real-
time.
• Internet of Things (IoT): Collecting and processing sensor data.
• Social networks: Managing social graphs and relationships.
PROS AND CONS

Pros of NoSQL databases Cons of NoSQL databases


• Scalability and performance. • Lack of ACID transactions (Atomicity,
Consistency, Isolation, Durability).
• Flexible data models.
• Limited query capabilities compared to
• Horizontal scaling.
SQL.
• High availability.
• Steeper learning curve for developers.
• Data consistency challenges in
distributed environments.
CONCLUSION

• NoSQL databases offer a flexible and scalable approach for managing large
volumes of unstructured or semi-structured data.
• They provide advantages in terms of scalability, performance, and flexibility.
• However, they also come with trade-offs such as limited query capabilities and
potential data consistency challenges.
• Choosing the right NoSQL database depends on the specific requirements of
your application.
THANK YOU

QUESTIONS & ANSWERS

You might also like