ADBMS
ADBMS
• Although there are more benefits to using relational databases, it has some limitations also. Let’s
see the limitations or disadvantages of using the relational database.
1. Maintenance Problem:
The maintenance of the relational database becomes difficult over time due to the increase in
the data. Developers and programmers have to spend a lot of time maintaining the database.
Page 1
BHAGWAN MAHAVIR UNIVERSITY
BHAGWAN MAHAVIR POLYTECHNIC
INFORMATION TECHNOLOGY DEPARTMENT
Advanced Database Management with MongoDB- Theory(2030106402)
2. Cost:
The relational database system is costly to set up and maintain. The initial cost of the
software alone can be quite pricey for smaller businesses, but it gets worse when you factor in hiring
a professional technician who must also have expertise with that specific kind of program.
3. Physical Storage:
A relational database is comprised of rows and columns, which requires a lot of physical
memory because each operation performed depends on separate storage. The requirements of
physical memory may increase along with the increase of data.
4. Lack of Scalability:
While using the relational database over multiple servers, its structure changes and becomes
difficult to handle, especially when the quantity of the data is large. Due to this, the data is not
scalable on different physical storage servers. Ultimately, its performance is affected i.e. lack of
availability of data and load time etc. As the database becomes larger or more distributed with a
greater number of servers, this will have negative effects like latency and availability issues affecting
overall performance.
5. Complexity in Structure:
Relational databases can only store data in tabular form which makes it difficult to represent
complex relationships between objects. This is an issue because many applications require more than
one table to store all the necessary data required by their application logic.
6. Decrease in performance over time:
The relational database can become slower, not just because of its reliance on multiple tables.
When there is a large number of tables and data in the system, it causes an increase in complexity. It
can lead to slow response times over queries or even complete failure for them depending on how
many people are logged into the server at a given time.
Page 2
BHAGWAN MAHAVIR UNIVERSITY
BHAGWAN MAHAVIR POLYTECHNIC
INFORMATION TECHNOLOGY DEPARTMENT
Advanced Database Management with MongoDB- Theory(2030106402)
• Unstructured data is the data that lacks any predefined model or format.
• It requires a lot of storage space, and it is hard to maintain security in it.
• It cannot be presented in a data model or schema. That's why managing, analyzing, or searching for
unstructured data is hard.
• It resides in various different formats like text, images, audio and video files, etc. It is qualitative in
nature and sometimes stored in a non-relational database or NO-SQL.
• It is not stored in relational databases, so it is hard for computers and humans to interpret it. The
limitations of unstructured data include the requirement of data science experts and specialized tools
to manipulate the data.
• The amount of unstructured data is much more than the structured data. Examples of human -
Page 3
BHAGWAN MAHAVIR UNIVERSITY
BHAGWAN MAHAVIR POLYTECHNIC
INFORMATION TECHNOLOGY DEPARTMENT
Advanced Database Management with MongoDB- Theory(2030106402)
generated unstructured data are Text files, Email, social media, media, mobile data, business
applications, and others. The machine-generated unstructured data includes satellite images,
scientific data, sensor data, digital surveillance, and many more.
Page 4
BHAGWAN MAHAVIR UNIVERSITY
BHAGWAN MAHAVIR POLYTECHNIC
INFORMATION TECHNOLOGY DEPARTMENT
Advanced Database Management with MongoDB- Theory(2030106402)
Page 5
BHAGWAN MAHAVIR UNIVERSITY
BHAGWAN MAHAVIR POLYTECHNIC
INFORMATION TECHNOLOGY DEPARTMENT
Advanced Database Management with MongoDB- Theory(2030106402)
Page 6
BHAGWAN MAHAVIR UNIVERSITY
BHAGWAN MAHAVIR POLYTECHNIC
INFORMATION TECHNOLOGY DEPARTMENT
Advanced Database Management with MongoDB- Theory(2030106402)
• No standardization rules
• Limited query capabilities
• RDBMS databases and tools are comparatively mature
• It does not offer any traditional database capabilities, like consistency when multiple
transactions are performed simultaneously .
• When the volume of data increases it is difficult to maintain unique values as keys become
difficult.
• Doesn’t work as well with relational data
• The learning curve is stiff for new developers
• Open-source options so not so popular for enterprises.
Page 7
BHAGWAN MAHAVIR UNIVERSITY
BHAGWAN MAHAVIR POLYTECHNIC
INFORMATION TECHNOLOGY DEPARTMENT
Advanced Database Management with MongoDB- Theory(2030106402)
• NoSQL databases use a different approach. Based on a data model there are a few types
of databases in the NoSQL world.
• Here are the five main types of NoSQL databases:
1. Key-value stores
2. Column-oriented databases
3. Document databases
4. Graph databases
5. Multi-Model Databases
• Data is stored in key/value pairs. It is designed in such a way to handle lots of data and heavy load.
• Key-value pair storage databases store data as a hash table where each key is unique, and the
value can be a JSON, BLOB(Binary Large Objects), string, etc.
• For example, a key-value pair may contain a key like “Website” associated with a value
like “Guru99”.
Page 8
BHAGWAN MAHAVIR UNIVERSITY
BHAGWAN MAHAVIR POLYTECHNIC
INFORMATION TECHNOLOGY DEPARTMENT
Advanced Database Management with MongoDB- Theory(2030106402)
• It is one of the most basic NoSQL database examples. This kind of NoSQL database issued as a
collection, dictionaries, associative arrays, etc. Key value stores help the developer to store schema-
less data. They work best for shopping cart contents.
• Redis, Dynamo, Riak are some NoSQL examples of key-value store Databases. They are all
based on Amazon’s Dynamo paper.
2. Column-based:
• Column-oriented databases work on columns and are based on BigTable paper by Google.
Every column is treated separately. Values of single column databases arestored contiguously .
• It is one of the most basic NoSQL database examples. This kind of NoSQL database isused as a
collection, dictionaries, associative arrays, etc. Key value stores help the developer to store schema-
less data. They work best for shopping cart contents.
• Redis, Dynamo, Riak are some NoSQL examples of key-value store Databases. Theyare all based
on Amazon’s Dynamo paper.
Page 9
BHAGWAN MAHAVIR UNIVERSITY
BHAGWAN MAHAVIR POLYTECHNIC
INFORMATION TECHNOLOGY DEPARTMENT
Advanced Database Management with MongoDB- Theory(2030106402)
3. Document-Oriented:
• Document-Oriented NoSQL DB stores and retrieves data as a key value pair but the value part is
stored as a document. The document is stored in JSON or XML formats.The value is understood by
the DB and can be queried.
• In this diagram on your left, you can see we have rows and columns, and in the right,we have a
document database which has a similar structure to JSON. Now for the relational database, you
have to know what columns you have and so on. However, for a document database, you have data
store like JSON object. You do not require todefine which make it flexible.
• The document type is mostly used for CMS systems, blogging platforms, real-timeanalytics &
e-commerce applications. It should not use for complex transactions which require multiple
operations or queries against varying aggregate structures.
• Amazon SimpleDB, CouchDB, MongoDB, Riak, Lotus Notes, MongoDB, arepopular
Document originated DBMS systems.
Page 10
BHAGWAN MAHAVIR UNIVERSITY
BHAGWAN MAHAVIR POLYTECHNIC
INFORMATION TECHNOLOGY DEPARTMENT
Advanced Database Management with MongoDB- Theory(2030106402)
Graph-Based:
• A graph-type database stores entities as well the relations amongst those entities. The entity is
stored as a node with the relationship as edges. An edge gives a relationship between nodes. Every
node and edge has a unique identifier.
• Compared to a relational database where tables are loosely connected, a Graph database is a
multi-relational in nature. Traversing relationship is fast as they are already captured into
the DB, and there is no need to calculate them.
• Graph base database mostly used for social networks, logistics, spatial data.
• Neo4J, Infinite Graph, OrientDB, FlockDB are some popular graph-based databases.
4. Multi-Model Databases:
Page 11
BHAGWAN MAHAVIR UNIVERSITY
BHAGWAN MAHAVIR POLYTECHNIC
INFORMATION TECHNOLOGY DEPARTMENT
Advanced Database Management with MongoDB- Theory(2030106402)
It is used to handle data coming in low velocity. It is used to handle data coming in high
velocity.
Data arrives from one or few locations. Data arrives from many locations.
Its difficult to make changes in database once it is Enables easy and frequent changes
defined database
Page 12