Beruflich Dokumente
Kultur Dokumente
Safari
Recommended
Queue
o
o
o
o
o
o
o
Recent
Topics
Tutorials
Highlights
Settings
Feedback
Sign Out
o
o
o
Search in book...
o
o
o
o
PREV Previous Chapter
Acknowledgements
NEXT Next Chapter
CHAPTER 1
Basics of Database
CHAPTER OBJECTIVES
1.1 INTRODUCTION
In the current era, people of all ages use database in one way or
the other. Everyone uses database in different ways. For example,
school children use database of e-mail programs and mobile
phones, youngsters use online movie and railway ticket booking
database to book tickets, housewives use database of books to
order books online or access various community sites database,
businessmen use database of airlines to book their trips,
academicians use online journals database to do research work
and many more. Nowadays, computers are used everywhere. We
may reform the proverb Where there is a will, there is a way! as
Where there is a computer, there is a database. Computerized
Databases have made our life very easy and comfortable. We can
search any place, product, area, thing, etc., with the help of
stored data in a fraction of a second. Stored data processed with
the help of database management systems extracts the desired
information, every time. Let us understand the database in some
more detail.
1.2.1 Data
Data is a plural of word datum. In our daily life, we use the word
data to describe facts about any person, event, place or
thing. Data are raw facts which may be numbers, values,
names, dates, etc. When we combine related data, they describe
any real-world entity. Related data means data which belong to
the same entity (person, place, event or thing). For example, If we
consider the entity Doctor (person type of entity), then doctors
name, doctors address, doctors birth date, doctors qualification,
doctors specialization, etc., are data related to doctor. We cannot
say that suppliers name and doctors qualification are related
data; because both describe two different entities named supplier
and doctor. Thus, when we want to describe any real-world entity,
we use data values. Data values alone do not have any meaning
because they are not processed yet.
1.2.2 Information
When we process related data it gives some information.
Information is useful to take decisions, it can be stored for future
use, it has some meaning. To obtain information, we need data.
For example, when we process students attendance data, we can
get a list of students with low attendance, students who are
attending lectures regularly, students who come to college to
attend particular lectures, pattern of class bunking for each
student, etc.
On the basis of this information, the college may decide the
attendance policy, reschedule the time-table to improve
attendance, decide whether to inform parents or not, determine
which students should be allowed to sit for an examination, etc.
This information could also be stored for future use. In case, when
students need a transcript, this information can be used to fill up
lecture-wise attendance details of each student or to generate
attendance certificates which may be required along with
migration certificates when students change universities.
Process Description
Informati
Census data
Sort records based on area and count total no. of persons genderwise and age group-wise
Board Exam
Data
Climate Data
percentage
percentage
percentage
percentage
percentage
<
40
40
50
60
70
then, Grade = F
and < 50 then, Grade = D
and < 60 then, Grade = C
and < 70 then, Grade = B
then, Grade = A
Class code: FY
No.
No.
No.
No.
No.
of
of
of
of
of
students
students
students
students
students
who
who
who
who
who
got
got
got
got
got
A Grade: 3
B Grade: 1
C Grade: 1
D Grade: 0
F Grade: 0
who
who
who
who
who
got
got
got
got
got
A Grade: 3
B Grade: 1
C Grade: 0
D Grade: 0
F Grade: 1
Class code: SY
No.
No.
No.
No.
No.
of
of
of
of
of
students
students
students
students
students
Class code: TY
No.
No.
No.
No.
No.
of
of
of
of
of
students
students
students
students
students
who
who
who
who
who
got
got
got
got
got
A Grade: 3
B Grade: 1
C Grade: 1
D Grade: 0
F Grade: 0
Operational Data
Public Library
Restaurant
Super Mall
University
Hospital
End-user
Hotel database
Database
officials, etc.
Vendor (Supp
Oracle
Oracle
SQL Server
Microsoft
Access
Microsoft
DB2
IBM
Database system is required to overcome the limitations of filebased management system. The traditional database system
contains data files which could be used to store data. The
examples of simple database management system are dBASE and
FoxPro. These DBMS contains CUI (Character-based User
Interface) which provides faster access of data using commands.
There is no need to create data files manually. In simple DBMS,
data files with data field names and its data type can be created.
However, a simple DBMS does not provide the facility to define
keys.
SUMMARY
Data related to an entity are kept together in a data file, i.e., data file
is a collection of related data.
Data may be stored manually or electronically. When we apply any
process on stored data, it gives some valuable information. The
process on data stored electronically can be applied by writing
application programs.
The data on which we do some operation, is known as operational
data. Operational data belongs to any organization. For example,
students data is an operational data for the University organization.
By processing students data, we can generate information like a
students mark sheet, list of college-wise total number of students,
etc.
Database is a collection of data files or tables which contain data
within it. Relationship can be set to access data from different files.
The process of managing data within database is called database
management.
Database system contains the components data, user, hardware and
software.
Using database we can share and integrate data between
applications.
Database management system is a collection of software
programs through which database can be managed.
File-based management system requires manual creation of data
files which are very difficult to handle. Within file-based management
system, independent programs should be written to do operations
such as insert, delete, update and view data.
Database management system provides structured query language
to store and access data from database. There is no need to write
long programs to access data. Data redundancy and data
inconsistency problems can be avoided using database management
system.
Database management system provides automatic transaction
management, backup and recovery facility, export and import
facility, user management and other functionalities.
The limitations of database management systems are: they are
complex, expensive, requires knowledge to use them, data control is
difficult, performance may suffer because of high data volume, etc.
EXERCISES
1. Define Data and Information. Show relationship between these two.
2. Give any two examples of data. Write any two types of information
which could be obtained by processing these data.
3. Define the terms:
a.
b.
c.
d.
e.
Database
Database management
Database management system
Operational data
Metadata
2. For any restaurant system, which data are operational data? Write
two examples of information related to that.
3. Draw a diagram of components of database system and explain.
4. List down different types of users of database system with their
roles.
5. Name any four DBMS along with their supplier company.
6. What is an open source database? Give an example.
7. Which are the characteristics or features of data in a database?
8. Write a short note on file-based management system.
9. Give an example of file-based management system. Mention the
disadvantages of this system.
10.
List down and explain advantages of database management
system over file-based management system.
11.
What are the limitations of database management system?
12.
Discuss data redundancy and data inconsistency with relevant
example.
13.
Write/Tick the correct answer.
a. Data means:
a. Unprocessed facts
b. Processed facts
c. Unprocessed information
d. Processed information
2. The operational data related with Hostel are:
a. Mess data
b. Customer data
c. Patient data
d. Doctor data
2. DBMS is an abbreviation of ______________.
a. Database Management System
2.
2.
2.
2.
2.
2.
2.
c. Meaningful
d. Duplicate