Presentation On NoSQL Databases

2,316 views 21 slides Jan 21, 2024
Slide 1
Slide 1 of 21
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21

About This Presentation

A presentation about NoSQL Databases, its characteristics, categories and advantages.


Slide Content

A Presentation On
“NoSQL Database”
Presented By :
Abiral Gautam
BoCE 3rd Semester , SOE , PU

Table of Contents
●Early Database Systems
●The Rise Of NoSQL Database
●What is NoSQL Database ?
●Characteristics of NoSQL Database
●Categories of NoSQL Database
●Advantages of NoSQL Database
●Challenges and Considerations
●Conclusion

Early Database Systems
Database Advantages

Limitation
Flat File System Simplest form of database,storing
data in plain text files
Limited in handling complex
relationships between data
Hierarchical Database System Organized data in a tree-like
structure with parent-child
relationship
Changes in the structure were
challenging to implement
Network Database System Modeled data using a graph
structure, allowing many to many
relationship
Complexity in designing and
maintaining the database
schema
Relational Database System Organized data into tables with
rows and columns
Faces scalability challenges in
big data with high traffic app.

The Rise Of NoSQL Database
●NoSQL databases have emerged as a crucial component in the realm of modern data
management.
●In today's world, characterized by massive data volumes and the demand for real-time
applications, traditional relational databases face limitations in terms of scalability
and flexibility.
●NoSQL databases address these challenges by providing a dynamic and scalable
solution.

What is NoSQL Database ?
●A NoSQL database (Not Only SQL) is a type of database management
system that provides a mechanism for storing, retrieving, and managing
data that does not follow the traditional relational database model.
●Unlike relational databases, NoSQL databases are designed to handle
unstructured, semi-structured, or structured data, providing greater flexibility
and scalability for certain types of applications.

Characteristics of NoSQL Database
1)Schema-less Design
NoSQL databases typically do not enforce a fixed schema. This allows developers
to insert data without first defining its structure, making them more adaptable to
evolving data models.
2)Variety of Data Models
NoSQL databases support various data models, including document-oriented,
key-value pairs, wide-column stores, and graph databases. This versatility allows
developers to choose the best-fit data model for their specific application needs.

Characteristics of NoSQL Database
3) Horizontal Scalability
NoSQL databases are designed to scale
horizontally, meaning they can handle
increased data volumes and traffic by adding
more servers or nodes to the database
system. This is in contrast to the vertical
scaling often associated with traditional
relational databases.

Characteristics of NoSQL Database
4) Distributed Architecture
Many NoSQL databases are built to operate in
distributed environments, allowing them to
distribute data across multiple nodes or
servers. This design enhances fault tolerance
and ensures data availability.

Characteristics of NoSQL Database
5)Dynamic and Unstructured Data
NoSQL databases are well-suited for
managing unstructured or semi-structured
data, such as JSON or XML documents. This
makes them versatile in handling diverse data
formats.

Categories of NoSQL Database
NoSQL databases can be broadly categorized into four main types, each with its
own unique data model and characteristics. These categories are based on the
way data is organized and stored within the database. The four main categories
of NoSQL databases are:
1)Document-oriented database
2)Key-Value stores
3)Column-oriented database
4)Graph-based database

Document-oriented Database
●Data is stored as documents, typically in JSON
or BSON format.
●Each document is a self-contained unit that may
contain nested structures.
●Documents are often organized in collections.
●Examples : MongoDB, CouchDB, Elasticsearch

Key-value Stores
●Basic data model with a collection of key-value
pairs.
●Data is stored as unstructured values or blobs
associated with a unique key.
●Simple and fast retrieval of values based on
keys.
●Examples: Redis, Amazon DynamoDB, Riak

Column-oriented Database
●Data is organized into columns instead of
rows.
●Columns are grouped into column
families, and each column family can have
a different set of columns.
●Well-suited for read and write intensive
workloads.
●Example: Apache Cassandra, HBase ,
Amazon SimpleDB

Graph-based database
●Designed for handling relationships between
data points.
●Data is represented as nodes, edges, and
properties.
●Efficient for traversing and querying complex
networks or graphs.
●Examples: Neo4j, ArangoDB, Amazon Neptune

Advantages of NoSQL Database
1)Schema Flexibility
NoSQL databases allow for a flexible and dynamic schema, accommodating
changes to the data model without requiring predefined structures. This
flexibility is beneficial in scenarios with evolving or dynamic data
requirements.
2)Scalability
NoSQL databases are designed for horizontal scalability, making it easier to
handle large volumes of data and increased traffic by adding more nodes.
Traditional SQL databases may face challenges in scaling horizontally.

Advantages of NoSQL Database
3)Optimized for Big Data
NoSQL databases are often designed to handle large volumes of data
efficiently, making them suitable for big data scenarios and real-time
analytics.
4)Developer Friendly
NoSQL databases often provide a more developer-friendly environment,
allowing for quicker development cycles. They may have less rigid data
requirements, making it easier to adapt to changing application needs.

Advantages of NoSQL Database
5)Cloud Computing
NoSQL databases are often well-suited for cloud environments, aligning with
distributed and scalable architectures commonly used in cloud computing.

Challenges and Considerations
1)Consistency and ACID Compliance Trade-offs
NoSQL databases may sacrifice strict consistency for better scalability.Developers
need to consider the trade-offs in terms of data consistency and ACID compliance.
2)Learning Curve
Developers accustomed to RDBMS may face a learning curve when transitioning to
NoSQL databases.Training and resources may be required for a smooth transition.

Challenges and Considerations
3)Data Migration Challenges
Migrating from traditional databases to NoSQL can pose challenges.Planning and
executing data migration strategies are crucial for a successful transition.

Conclusion
●NoSQL databases offer unparalleled advantages in terms of scalability,
flexibility, and performance.
●Ideal for modern applications with dynamic data requirements and high
scalability needs.
●NoSQL databases represent a paradigm shift in the way we approach and
manage data.

Thank You