Unit1-Dbms Notes
Unit1-Dbms Notes
Unit I
Introduction:
A database is a collection of related data and data is a collection of facts and figures that can be
processed to produce information. For example, consider the names, telephone numbers, and
addresses, and addresses of the people you know. You may have recorded this data in an indexed
address book or you may have stored it on a hard drive, using a personal computer and software
such as Microsoft Access or Excel. This collection of related data with an implicit meaning is a
database.
A Database Management System (DBMS) is a collection of programs that enables users to
create and maintain a database. The DBMS is a general-purpose software system that facilitates
the processes of defining, constructing, manipulating, and sharing databases among various
users and applications.
Defining a database involves specifying the data types, structures, and constraints of the data to
be stored in the database. The database definition or descriptive information is also stored in the
database in the form of a database catalog or dictionary is called meta-data.
Constructing a database is the process of storing the data on some storage medium that is
controlled by the DBMS.
Manipulating a database includes functions such as querying the database to retrieve specific
data, updating the database to reflect changes in the miniworld, and generating reports from the
data.
Sharing a database allows multiple users and programs to access the database simultaneously.
1
The characteristic that allows program-data independence and program-orientation independence
is called data abstraction.
2. Database Designers:
Database Designers are responsible for identifying the data to be stored in the database
and for choosing appropriate structures to represent and store the data. These tasks are
mostly undertaken before the database is actually implemented and populated with data.
It is the responsibility of database designers to communicate with all perspective database
users in order to understand their requirements and to create a design that meets these
requirements.
3. End Users:
End users are the people whose jobs require access to the database for querying,
updating, and generating reports. There are several categories of end users.
Casual end users occasionally access the database, but they may need different
information each time.
Naive or parametric end users main job function involves around constantly
querying and updating the database, using standard types of queries and updates.
Example: Bank clerks, Reservation clerks etc.
2
Sophisticated end users include engineers, scientists, business analysts and
others who thoroughly familiarize themselves with the facilities of the DBMS in
order to implement their applications to meet their requirements.
Standalone users maintain personal database by using ready-made program
packages that provide easy-to-use menu-based or graphics-based interfaces.
1. Controlling Redundancy:
The Database Management System will not allow storing the redundant data (same data
multiple times) in the database.
The redundancy in storing the same data multiple times leads to several problems. The
problems with the storage of redundant data are as follows. First, duplication of effort
(multiple times data has to be recorded). Second, storage space is wasted when the same
data is stored repeatedly. Third, files that represent the same data may become
inconsistent and etc.