Introduction To Database Management System Notes
Introduction To Database Management System Notes
In this age of information explosion where people are bombarded with data, getting the
right information, in the right amount and at the right time is not an easy task. Therefore, for
organizations to gain competitive edge they must have accurate and reliable data (information)
for effective decision making.
A database system simplifies the tasks of managing data and extracting useful
information in a timely fashion. A database system is an integrated collection of related files
along with the details of interpretation of the data. A Data Base Management System (DBMS) is,
on the other hand, a software system or program that allows access to data contained in a
database. The main aim of a DBMS is to provide a convenient and effective method of defining,
storing and retrieving the information stored in a database.
1.1 Basic Definitions and Concepts
Data
Data is the most basic resource in an organization. The term data may be defined as raw facts
that could be recorded and stored on computer media. It is the raw facts from which the required
information is produced. Data represents facts, concepts, or instructions in a formalized manner
suitable for communication, interpretation, or processing by humans or automatic means.
Information
Information is nothing but refined data, i.e. data that has been processed, organized or
summarized. It can then be defined as data that has been put into a meaningful and useful content
and communicated to a recipient who uses it to make decisions. Decisions can only be made if
information provided is quality information. The three key attributes of quality information are:
1. Accuracy: Information is free from errors and bias, and it clearly reflects the meaning of
data on which it is based or conveys an accurate picture to the recipient.
2. Timeliness: recipient receive information when they need it and within the required time
frame.
3. Relevancy: piece of information must be useful for the corresponding person. It is a very
subjective matter.
Meta Data
Meta data is the data about data. It describes the objects in the database and makes easier for
those objects to be accessed or manipulated. In general, it describes the database structure, sizes
of data types, constraints, applications, authorizations, etc., that are used as an integral tool for
information resource management.
Data Dictionary
Data dictionary contains information of the data stored in a database and is consulted by the
DBMS before any manipulation operation is done on the database. It is an integral part of the
DBMS and stores Meta data. i.e., information about the database, attribute names and definitions
for each table in the database.
Database
A database is a well-organized collection of data that are related in a meaningful way, which
can be accessed in different logical orders. Data are stored in such a way that they are
independent of the programs used by users for accessing the data and with controlled
redundancy. Databases are organized by fields, records and files.
1. Field: it is the smallest unit of data that has meaning to users and is also called data item
or data element. They are represented in a database by a value. E.g., name, address,
telephone number, etc.
2. Record: Is a collection of logically related fields and each field possesses a fixed number
of bytes and is of fixed data type. E.g., complete information about a particular phone
number, name or address in a database represents a record.
3. File: This is a collection of related records.
Components of a Database
A database consists of four components as shown in the figure below