Documente Academic
Documente Profesional
Documente Cultură
Management Systems
Database Def-1
A database is a shared collection of
logically related data that is stored to
meet the requirements of different
users of an organization
Database Def-2
A database is a self-describing collection of
integrated records
Database Def-3
A database models a particular real world
system in the computer in the form of data
The concept of a shared organizational
database
Management Marketing
Product
Planning Control Sales
Development
Corporate
Database
Accounting Manufacturing
Accounts Accounts
Scheduling Production
Receivable Payable
A bit of History
• Computer initially used for computational/
engineering purposes
• Commercial applications introduced File
Processing System
File Processing
System
A collection of programs that perform
services for the end-users such as
production of reports
File Processing Systems
Library Examination Registration
Grade Class
Duplication of Data
Vulnerable to Inconsistency
Advantages of Database Approach
Library Examination Registration
Database
Management
System
End users
Software interact
DBMS Database
maintain Administrators
“How” to get
Data
Database
design Designers
Database
Users
Common Terms
• Data
• Information
• Database Management system
(DBMS)
Common Terms
• Data: Facts concerning things, such as
people, objects, or events
Common Terms
• Information: Data that have been processed
and presented in a form suitable for human
interpretation
Data, Information and Knowledge
Conceptual Conceptual
Level Schema
Internal
Internal Level
Schema
Physical Data
Organization Database
The Architecture
Depicted by three schemas or three models
Refers to permanent structure or intention of
database
Level 1
External View
The way users think about data
Each user has a view of the database limited to
the appropriate portion of the user’s viewpoint
of reality.
Users may have different views of the same
data e.g. date, time etc.
External View
Virtual/calculated data: that is not actually
stored in the database but is created when
needed e.g. age, statistical data etc.
DBMS uses external views to create user
interface for different users which is both the
facility and barrier
External View
User’s external view is created after
considering data access, reports, and the
transactions needs.
External schema evolves as user needs are
modified over time
Employee Data Workers
Assistant
First Name: Mir Name: M. Qamar
Last Name: Qamar Age: 25y,10d
DOB:12 Sep, 1970 Dept: Sales
John
External Layer
Lower Layers
Level 2
Logical or Conceptual
View
A complete description of the information
content of the database
Conceptual Schema
The entire information structure of the
database, as seen by the DBA
The community view of data
Conceptual Schema
All entities, attributes and their relationships are
represented here.
Contains record types representing entities,
data item types with their attributes,
relationships and constraints on data.
Conceptual Schema
Contains Semantic information about the data
meaning, security and integrity information
Moderately constant: designed with the present as well
as future needs of an organization
Employee Data Aysha Saleem Workers
First Name: Mir Name: M. Qamar
Last Name: Qamar Age: 24y,10d
DOB: 12 Sep, 1970 Dept: Sales
External Layer
Logical Record Interface
Conceptual Layer
Name Date of Birth Department DepartmentID
Ext/Con Mapping
Conceptual Level Conceptual
Schema
Con/Int Mapping
Internal
Internal Level
Schema
Physical Data
Organization Database
First Name: Mir Name: M. Qamar
Last Name: Qamar Aysha Saleem Age: 24y,10d
DOB:12 Sep, 1970 Dept: Sales
01110011010011100101001010100101010010101…..
Data Independence
Types
• Logical Data Independence
Ext/Con Mapping
Conceptual Level Conceptual Physical Data
Independence
Schema
Con/Int Mapping
Internal
Internal Level
Schema
Physical Data
Organization Database
Functions of DBMS
Data Processing
A User Accessible Catalog
Transaction Support
Concurrency Control Services
Functions of DBMS
Recovery Services
Authorization Services
Support for Data Communication
Integrity Services
DBMS Environments
Single User
Multi-user
Teleprocessing
File Servers
Client-Server
Teleprocessing
All processing at
a central computer
Dumb Terminals
File Servers
File Server
Database
LAN
Workstation Workstation
Client-Server
Server
Database (with DBMS)
LAN
Client Client
Thanks