Database System Concepts 02
Database System Concepts 02
Lecture -02
by
Muhammad Haleem
Overview
• Data
• Information
• Meta Data
• Existence Data
• Structured data?
• For Example.
• Consider the following facts:
• These facts satisfy our definition of Data, but data are useless
in its present form.
Information(cont..)
• By adding few additional data items and providing some
structure, we recognize a class BS 3rd semester for a particular
course. Now this is some useful information to some users like
course instructor or Examination Department.
Class BS 5th Semester
Semester: Fall 2010 Section: B
Name Id Major GPA
Ahmad Ali 12589 MGT 2.9
Shafiq Khan 36985 MKT 3.4
Saleem Khan 41563 PRM 3.7
Ashraf 74125 MGT 2.8
Rashid 45689 IS 2.9
Khalid 78541 ACCT 3.3
Information(cont..)
• Another way to convert the data into information is to summarize
it or otherwise process and present it for human interpretation
(to understand it easily).
GPA
4
3.5
2.5
2 GPA
1.5
0.5
0
MGT
MKT
PRM
MGT
IS
ACCT
Data VS Information
DATA INFORMATION
Always in Raw form Always in Arranged Form
Can’t used directly for decision Can be used for decision making directly
making
No Information system in data Information system i.e Computer system
collection and arrangement is involved in this process
• The real world level of data means that level of data at which
entities or objects exist in reality
• It means that any object existing in reality have a name and
other well known attributes through which we can understand
that specific object or entity.
For Example
• Student
• Teacher
• Doctor
Metadata
• What is Data???
Database Management System?
Data Sharing
Controlled Redundancy
Data Independence
Better Data Integrity
Advantages of Database Approach(cont…)
• Data Sharing
• The figure shows different subsystem or applications in an educational
institution, like library system, examination system, and registration
system.
• These are separate, different application programs for every application
or subsystem.
• However, the data for all applications is stored at the same place in the
database and all application programs, relevant data and users are
being managed by the DBMS.
Advantages of Database Approach(cont…)
• For example
• Data like registration number, name, address, father name that is
common among different applications is being stored repeatedly in the
file processing system environment
• where as it is being stored just once in database system environment
and is being shared by all applications.
Advantages of Database Approach(cont…)
b) Data Independence
• Data and programs are independent of each other, so change in one has no or minimum effect
on other.
• Data and its structure are stored in the database where as application programs manipulating
this data are stored separately, the change in one does not unnecessarily affect other
Advantages of Database Approach(cont…)
c) Controlled redundancy
• It means that we do not need to duplicate data unnecessarily; we do
duplicate data in the databases, however, this duplication is
controlled and for relating the tables.
Advantages of Database Approach(cont…)
e) Data Consistency
• Data consistency means that the changes made to different set
of data should be controlled and managed in such a way that
all the set have same value for any specific data item.
• In database approach it is controlled because data is shared
and consistency is controlled and maintained
Advantages of Database Approach(cont…)