Home » Database Management System » Unit 1: Introduction » What is a Database Management System (DBMS)? What are the tasks performed by users in DBMS?

What is a Database Management System (DBMS)? What are the tasks performed by users in DBMS?

Support this post with a reaction:

2,232 views

A DBMS (Database Management System) is software that lets users create, manage, and control a database. It works as a middleman between the user (or an application) and the actual data files. Because of this, users never need to touch the raw data files directly they just talk to the DBMS.

A database is simply a collection of related data, organized so it is easy to store, find, and update. The DBMS is the software that manages this database.

Main Functions of a DBMS

  • Defining structure (schema): It defines how the data is organized in the database, such as tables, columns, data types, and relationships.
  • Storing and retrieving data: It stores data properly and allows users to quickly retrieve the required information whenever needed.
  • Manipulating data: It allows users to insert, update, delete, and search for data in the database.
  • Sharing data: It allows multiple users or applications to access and use the same database at the same time.
  • Security: Stops unauthorized users from accessing the data.
  • Data integrity: It uses rules and constraints to make sure that the data remains accurate, valid, and consistent.
  • Backup and recovery: It creates backups of the database and helps restore the data if there is a system failure, crash, or accidental data loss.
  • Concurrency control: Manages multiple users working on the database at the same time, so their actions don’t clash with each other.

Examples of DBMS software: MySQL, Oracle, PostgreSQL, SQL Server. These are used by banks, colleges, and e-commerce websites to manage their data.

Tasks Performed by Users in a DBMS

Different users perform different tasks in a DBMS. The main ones are:

1. Data Definition:

Data definition means creating or modifying the structure of the database. For example, users can create tables, define column names, specify data types, and set constraints. This task is mainly performed using DDL (Data Definition Language).

Examples: CREATE, ALTER, DROP

2. Data Manipulation:

Data manipulation means working with the actual data stored in the database.

Users can:

  • Add new data
  • Update existing data
  • Delete unwanted data
  • View or search for required data

These operations are performed using DML (Data Manipulation Language) commands such as:

SELECT, INSERT, UPDATE, DELETE

For example, a college database can be used to add a new student’s details, update their marks, delete an old record, or search for a particular student.


3. Data Control

Data control means controlling who can access or modify the data in the database. Database administrators can give or remove permissions from users depending on their roles. This is mainly done using DCL (Data Control Language) commands such as:

GRANT – gives permission to a user.

REVOKE – removes permission from a user.

For example, a teacher may be allowed to view and update student marks, while a normal student may only be allowed to view their own marks.


4. Application Development

Application development means creating programs, forms, reports, or applications that interact with the database to perform specific business tasks. For example, a bank application can use a database to perform operations such as:

  • Depositing money
  • Withdrawing money
  • Checking account balance
  • Viewing transaction history

The application communicates with the DBMS to store and retrieve the required data.


5. Database Administration

Database administration involves the overall management and maintenance of the database. This work is usually performed by a Database Administrator (DBA). The DBA is responsible for tasks such as:

  • Managing storage space
  • Monitoring database performance
  • Taking backups
  • Recovering data after failures
  • Managing users and permissions
  • Maintaining database security
  • Ensuring the database works properly