Sri Raghavendra Educational Institutions Society (R)
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
www.skit.org.in
Title: No SQL
CO addressed: CO1
Course: Big Data Analytics
Presented by: Mr. P. Kiran Kumar
Department: ISE
2
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
NoSQL (Not Only SQL):
What is NoSQL?
NoSQL (Not Only SQL) is a type of non-relational database designed to store and manage large volumes of structured, semi-structured, and unstructured data. It is built to handle modern applications that require high scalability, flexibility, and fast performance.
History
The term NoSQL was first coined by Carlo Strozzi in 1998.
Today, NoSQL refers to a family of modern databases that support distributed storage and horizontal scaling.
3
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Features of NoSQL
1. Open Source
Many NoSQL databases are open source, meaning anyone can download, use, and modify them. This reduces licensing costs and encourages community-driven improvements.
Example: MongoDB Community Edition and Redis.
2. Non-Relational
Unlike SQL databases, NoSQL databases do not store data in tables. They support multiple data models such as:
This makes them suitable for storing different types of data.
4
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
3. Distributed
NoSQL databases distribute data across multiple servers (nodes). If one server fails, the others continue to serve requests.
Benefits:
4. Schema-less
A NoSQL database does not require a predefined structure.
Example:
Employee 1
{
"Name": "Rahul",
"Age": 25
}
Both documents can exist in the same collection, making it easy to add new fields without changing the database design.
5
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
5. Cluster Friendly
NoSQL databases can run on clusters containing many servers.
If one server goes down:
6. Designed for Modern Web Applications
Modern applications generate huge amounts of data every second. NoSQL databases are designed to handle this scale efficiently.
Examples:
6
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Where is NoSQL Used?
Applications of NoSQL Databases
1. Big Data Analytics
2. Social Media Platforms
3. E-Commerce Applications
7
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
4. Real-Time Web Applications
Examples:
5. Log and Event Data Storage
6. Internet of Things (IoT)
8
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Characteristics of NoSQL Databases
1. Non-Relational Database
2. Distributed Architecture
3. CAP Theorem
Instead of focusing only on ACID transactions like SQL databases, NoSQL databases are designed based on the CAP Theorem, which states that a distributed database can guarantee only two of the following three properties at the same time:
9
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
4. Flexible (Schema-less) Design
5. Horizontal Scalability
6. High Performance
10
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Types of NoSQL Databases
NoSQL databases are classified into four major types, based on how they store and organize data. Each type is optimized for different kinds of applications.
1. Document Database
Example: MongoDB
Applications:
11
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
2. Key-Value Database
Examples: Redis, Oracle Coherence
Applications:
12
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
3. Column-Family Database
Example: Bigtable
Applications:
13
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
4. Graph Database
Example: Amazon Neptune
Applications:
14
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Why NoSQL?
As data volumes and application requirements have grown, traditional relational databases have faced limitations in scalability and flexibility. NoSQL databases were developed to overcome these challenges by providing better performance, scalability, and support for diverse data types.
Why Choose NoSQL?
1. Horizontal Scalability (Scale-Out Architecture)
2. Handles Large Volumes of Data
15
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
3. Dynamic Schema
4. Auto-Sharding
Benefit: Faster processing and better scalability.
5. Replication
6. High Performance
16
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Advantages of NoSQL Databases
Advantages of NoSQL
1. Easy to Scale (Horizontal Scaling)
2. No Predefined Schema
3. Cost-Effective
17
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
4. High Performance
5. High Availability and Fault Tolerance
6. Supports Sharding and Replication
7. Handles All Types of Data
18
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Sharding and Replication in NoSQL
1. Sharding
Sharding is the process of dividing a large database into smaller parts (called shards) and storing them on different servers.
Advantages of Sharding
Example
Each server stores only part of the data, making searches much faster.
19
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
2. Replication
Replication is the process of creating multiple copies of the same data and storing them on different servers.
If one server fails, another server immediately provides the data.
Advantages of Replication
Example
If the primary server crashes, users continue accessing data from the secondary server without interruption.
20
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
NewSQL:
NewSQL is a modern class of relational databases that combines the scalability of NoSQL with the ACID transaction support of traditional SQL databases.
It was developed to overcome the limitations of both SQL and NoSQL databases by providing high performance, horizontal scalability, and strong transaction consistency.
Why NewSQL?
Traditional SQL databases provide:
NoSQL databases provide:
NewSQL combines the strengths of both SQL and NoSQL.
21
03/08/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Characteristics of NewSQL
1. Relational Data Model
2. SQL Interface
3. ACID Compliance
4. Horizontal Scalability
22
12/16/2024
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
5. High Performance
6. Distributed Architecture
Advantages of NewSQL