Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Introduction to Databases
Jahangir Groceries
Te
ir 00
el Queries
3 4 es
ex art
0,0
2 s
B.A
A5m
. MoU
Go i n
50,000
46,800 Tahira is profitable
Qty customer and is likely
ld
Data Information
© Virtual University of Pakistan Knowledge &
Customer Insight
Common Terms
DBMS:
A software that handles all access to the
database
Each program defines and manages its own
data.
Duplication of data
– Same data is held by different programs.
– Wasted space and potentially different values
and/or different formats for the same item.
Data dependence
– File structure is defined in the program code.
Incompatible file formats
– Programs are written in different languages, and so
cannot easily access each other’s files.
Fixed Queries/Proliferation of application
programs
– Programs are written to satisfy particular functions.
– Any new requirement needs a new program.
Result:
– the database and Database Management System
(DBMS).
System catalog (metadata) provides description
of data to enable program–data independence.
Logically related data comprises entities,
attributes, and relationships of an
organization’s information.
© Pearson Education Limited 1995, 2005
File Processing Systems
Library Examination Registration
Grade Class
Duplication of Data
Vulnerable to Inconsistency
© Virtual University of Pakistan
Advantages of Database Approach
Library Examination Registration
Database
Management
System
(Database) application program: a computer
program that interacts with database by
issuing an appropriate request (SQL
statement) to the DBMS.
Data manipulation language (DML).
– General enquiry facility (query language) of the
data.
End users
Software interact
Application
Application Programs
Programmers
develop
“What” to
get
DBMS Database
Administrators
maintain
“How” to
Data
get
Database
Database design Designers
Users
© Virtual University of Pakistan
Components of DBMS Environment
Data Administrator (DA)
Database Administrator (DBA)
Database Designers (Logical and Physical)
Application Programmers
End Users (naive and sophisticated)
Firstgeneration
– Hierarchical and Network
Second generation
– Relational
Third generation
– ObjectRelational
– ObjectOriented