Lecture4
Lecture4
Database
Management System
Course Teacher:
Ms. Nudrat Naved
Lecturer, CSIT Department
NED University of Engineering & Technology
Functions of a DBMS
1. Data storage, retrieval, and update:
A DBMS must furnish users with the ability to store, retrieve, and
update data in the database.
The DBMS should hide the internal physical implementation details
(such as file organization and storage structures) from the user.
Functions of a DBMS
2. A user-accessible catalog:
A DBMS must furnish a catalog in which descriptions of data items are
stored and which is accessible to users. A system catalog, or data
dictionary, is a repository of information describing the data in the
database: it is the ‘data about the data’ or metadata.
Functions of a DBMS
Typically, the system catalog stores:
● names, types, and sizes of data items;
● names of relationships;
● integrity constraints on the data;
● names of authorized users who have access to the data;
● the data items that each user can access and the types of access allowed;
for example, insert, update, delete, or read access;
● external, conceptual, and internal schemas and the mappings between the
schemas;
● usage statistics, such as the frequencies of transactions and counts on the
number of accesses made to objects in the database.
Functions of a DBMS
Some benefits of a system catalog are:
● Information about data can be collected and stored centrally. This helps to maintain
control over the data as a resource.
● The meaning of data can be defined, which will help other users understand the
purpose of the data.
● Communication is simplified, since exact meanings are stored. The system catalog may
also identify the user or users who own or access the data.
● Redundancy and inconsistencies can be identified more easily since the data is
centralized.
● Changes to the database can be recorded.
● The impact of a change can be determined before it is implemented, since the system
catalog records each data item, all its relationships, and all its users.
● Security can be enforced.
● Integrity can be ensured.
● Audit information can be provided.
Functions of a DBMS
3. Transaction support:
A DBMS must furnish a mechanism which will ensure either that all
the updates corresponding to a given transaction are made or that
none of them is made.
Functions of a DBMS
4. Concurrency control services:
A DBMS must furnish a mechanism to ensure that the database is
updated correctly when multiple users are updating the database
concurrently.
Functions of a DBMS