ADBMS Detailed Notes
ADBMS Detailed Notes
1. Database Fundamentals
- Database Architecture:
The architecture includes components like storage manager, query processor, and transaction
manager. The query processor handles query parsing, optimization, and execution, playing a vital
A file processing system lacks integration and data independence. Disadvantages include
- Keys in Databases:
Candidate key: A key that could potentially be chosen as the primary key.
- SQL Queries:
- Example Query: Calculate total sales per region using GROUP BY.
- Functional Dependency:
A relationship where one attribute uniquely determines another. Essential for database design.
Achieved by eliminating partial dependencies, ensuring all attributes depend on the entire
primary key.
Parallel systems involve tightly coupled processors for high performance, while distributed
- Data Warehousing:
non-volatile data.
- Database Connectivity:
- Transaction Concepts:
- ACID Properties:
- Transaction States: Active, Partially Committed, Committed, Failed, and Aborted states.
- Concurrency Control:
- Two-phase Locking Protocol: Ensures serializability using a growing and shrinking phase.
- Anomalies: