Components of DBMS Architecture
Components of DBMS Architecture
Major components:
Different type of users
Query Processor
Storage Manager
Disk Storage
1. Users :
a. Naïve users
b. Application Programmers
c. Sophisticated users
d. Specialized users
e. DBA
DBA and its functions
Roles of Database Administrator
Creates and maintains all databases required for development, testing,
education and production usage.
Performs the capacity planning required to create and maintain the databases.
Periodic Backups
Schema and Data Dictionary Maintenance
Granting Authorization for data access
2. Query Processor :
QP involves the following components:
1. Parsing and translation
2. Optimization
3. Evaluation
Steps involved in Query Processing (explanation)
3. Storage Manager:
Storage manager is a program module that provides the interface between the low-level data
stored in the database and the application programs and queries submitted to the system.
The storage manager is responsible to the following tasks:
a. Interaction with the OS file manager
b. Efficient storing, retrieving and updating of data
Issues:
c. Storage access
d. File organization
e. Indexing and hashing
Transaction Management: A transaction is a collection of operations that performs a single
logical function in a database application.
- Transaction-management component ensures that the database remains in a
consistent (correct) state despite system failures (e.g., power failures and operating
system crashes) and transaction failures.
- ACID Properties (Atomicity, consistency, Isolation and Durability)
Concurrency-control manager controls the interaction among the concurrent
transactions, to ensure the consistency of the database.
Authorization and Integrity Manager:
Tests the integrity constraints and check for authorization of users to access data.
Buffer Manager : Responsible for fetching data from disk into main memory and to cache
memory. Data will be hold temporarily during transfer.
4. Disk storage:
Data files, which stores the database itself.
Data Dictionary: Stores metadata(Systems catalogue) about the structure of the
database (schema)
Indices: Provides fast access to data items. Hashing is an indexing mechanism for faster
access.