BI Assignment 2
BI Assignment 2
(Department of zoology)
Assignment # 02
Databases
Course : Bioinformatics
Submitted To:
Databases are organized collections of data that allow efficient storage, retrieval,
and management of information. In today’s digital world, they form the backbone
of various applications, ranging from personal data storage to complex enterprise
systems. This assignment explores the concept of databases, their types,
architecture, applications, and advancements.
What is a Database?
Types of Databases
Database Architecture
1. Single-Tier Architecture
o All data management occurs on a single machine.
o Suitable for standalone applications.
2. Two-Tier Architecture
o Comprises a client and server.
o Client sends queries, and the server processes and returns data.
3. Three-Tier Architecture
o Adds an application layer between the client and server.
o Enhances security and scalability.
4. Distributed Architecture
o Data is distributed across multiple nodes.
o Ensures high availability and reliability.
1. Normalization
o Process of organizing data to minimize redundancy.
o Ensures data integrity and consistency.
2. ACID Properties
o Atomicity: Ensures complete transactions.
o Consistency: Maintains database rules.
o Isolation: Transactions occur independently.
o Durability: Completed transactions are permanent.
3. Indexing
o Improves query performance by creating data pointers.
o Types: Primary, secondary, and clustered indexes.
4. Transactions
o Sequence of operations treated as a single unit.
o Ensures data consistency in multi-user environments.
Applications of Databases
Advantages of Databases
1. Data Integrity
o Ensures accuracy and consistency of data.
2. Data Security
o Protects data through encryption, authentication, and access control.
3. Scalability
o Handles growing data volumes effectively.
4. Efficient Querying
o Speeds up data retrieval and analysis.
1. Data Security
o Threats like hacking and data breaches.
2. Complexity
o Managing large and diverse datasets.
3. Cost
o Infrastructure and licensing expenses.
4. Scalability
o Ensuring performance with increasing data.
Conclusion