functions of DBMS
functions of DBMS
2. A User-Accessible Catalog
This is a metadata repository that contains information about the database structure, such
as tables, indexes, relationships, constraints, and stored procedures.
It helps users and administrators understand the database schema and access rights.
3. Transaction Support
A transaction is a logical unit of work that consists of one or more database operations (like
inserting, updating, or deleting data).
DBMS ensures ACID properties (Atomicity, Consistency, Isolation, Durability) to
guarantee reliable transactions.
Transactions can be committed (permanently saved) or rolled back (undone if an error
occurs).
When multiple users access the database simultaneously, concurrency control prevents
data inconsistency.
Common techniques include:
o Locks (Shared, Exclusive)
o Timestamps
o Multiversion Concurrency Control (MVCC)
5. Recovery Services
Ensures data is restored to a correct state after failures like system crashes or power
outages.
Backup and Restore Mechanism: Periodic backups allow recovery in case of data loss.
Transaction Logging: Records all changes made to the database, allowing rollback in case
of failure.
Checkpoints: Periodic saving of database states to facilitate faster recovery.
Functions of a DBMS
6. Authorization Services
8. Integrity Services
Data independence means changes in the database structure should not affect applications.
Logical Data Independence: Changes in schema (tables, columns) do not impact
applications.
Physical Data Independence: Changes in storage format do not affect applications.
DBMS Environment
13. Teleprocessing
The database is hosted on a central computer, and users connect via terminals.
The central server handles all processing.
Example: Mainframe systems.