0% found this document useful (0 votes)
2 views2 pages

DBMS Assignment 4

The assignment focuses on key concepts in database management, particularly the CAP Theorem, NoSQL databases, and data storage techniques. It includes questions on the properties of distributed databases, types of NoSQL databases, hashing, indexing, and the evolution of MongoDB. Students are required to explain, compare, and analyze various aspects of these topics in the context of database systems.

Uploaded by

nandiyo
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)
2 views2 pages

DBMS Assignment 4

The assignment focuses on key concepts in database management, particularly the CAP Theorem, NoSQL databases, and data storage techniques. It includes questions on the properties of distributed databases, types of NoSQL databases, hashing, indexing, and the evolution of MongoDB. Students are required to explain, compare, and analyze various aspects of these topics in the context of database systems.

Uploaded by

nandiyo
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/ 2

ASSIGNMENT – 4

AIML204 Database Management Sem-4th


System

Sl. Questions

Q1. The CAP Theorem states that a distributed database system can guarantee at most two of the following
three properties: Consistency, Availability, and Partition Tolerance.

• Explain each of the three properties in the context of a distributed database.

• Describe which two properties a system would typically prioritize under different
circumstances (e.g., for an e-commerce website or a stock market trading platform).

Q2. NoSQL databases provide flexible storage models compared to relational databases. There are different
types of NoSQL databases.
1. Describe the four main types of NoSQL databases (Document-based, Key-Value,
Column-family, and Graph) and provide examples for each.
2. How do NoSQL databases address scalability and flexibility in comparison to traditional
relational databases?
1. Compare MongoDB (Document-based NoSQL) with Cassandra (Column-family NoSQL),
highlighting the advantages and disadvantages of each for handling large-scale applications.

Q3. 1. Explain the concept of hashing in the context of NoSQL databases. How does hashing help
with data retrieval and partitioning in distributed databases?
2. Discuss hash-based partitioning in systems like Cassandra and how it ensures scalability and
availability across distributed nodes.
3. Compare hashing techniques with range-based partitioning. In which scenarios would each
be more suitable, and why?
Q4. 1. Explain the importance of data storage techniques in NoSQL databases. How do they differ
from traditional relational databases in terms of data distribution and storage optimization?
2. Describe the role of indexing in NoSQL databases. Provide examples of common indexing
methods (e.g., B-trees, hash indexes) and how they are used to speed up queries.
3. How does MongoDB’s indexing work and what types of indexes can be created in MongoDB to
optimize query performance?

Q5. 1. Explain the history of MongoDB and how it evolved as a popular NoSQL database.
2. Describe the key features of MongoDB, including its data model and how it differs from
relational databases.
3. Outline the installation and configuration steps for MongoDB on a Linux environment.
4. What are the core servers and tools that come with MongoDB, and how do they contribute to
database administration?

You might also like