SlideShare a Scribd company logo
Database System
Today we will learn:
Some common uses of database systems
The characteristics of file-based systems
The problem with the file-based approach
The meaning of the term ‘Database’
The meaning of the term Database Management System’ (DBMS)
The typical functions of DBMS
The major components of the DBMS environment
The advantages and disadvantages of DBMSs
Database System
Data
Information
Summarized Data
Metadata
Database Systems
Purchase from the U-mart
Cash withdrawal from ATM (of The Bank of Punjab, Fowara Chowk, Gujrat)
Purchase using your credit card
Registration at NADRA office
Using the internet
University of Gujrat Information System (UOGIS)
Database Systems
A collection of programs that perform
services for the end-user.
Database Systems
Registration
Applications
Registration
Data
Files
Registration
Examination
Applications
Examination
Data
Files
Examination
Library
Applications
Library
Data
Files
Library
Database Systems
The Limitations of the file-based approach
Separation and isolation of data
Duplicate of data
Data dependence
Incompatible file formats
Database Systems
Fine
Books Issued
Father Name
Name
Reg_Number
Library
Grade
Semester
Class
Address
Name
Reg_Number
Examination
Class
Address
Phone
Father Name
Name
Reg_Number
Registration
Database Systems
-A software system that enables users to define, create, and
maintain the database and that provides controlled access to this
database.
A database management system (DBMS) is computer software that
manages databases.
Examples: Oracle, SQL Server, Informix, Sybase, Ingress
Database Systems
DBMS Database
containing
centralized
shared data
Application
#1
Application
#2
Application
#3
Database Systems
-Shared collection of logically related data (and a description of
this data), designed to meet the information needs of an
organization.
Database Systems
Shared collection – can be used simultaneously by many departments and
users.
Logically related - comprises the important objects and the relationships
between these objects.
Description of the data – the system catalog (meta-data) provides
description of data.
Database Systems
Database A collection of related files
^
File A collection of records about a particular set of people, objects, entities and so on
^
Record A collection of related fields associated with a single person, object, entity and so on
^
Field A collection of bytes representing a single attribute.
^
Byte A collection of bits representing a single character
^
Bit A binary digit
Database Systems
A database is a collection of integrated
files.
Integrated : Collection of files.
Note: A FILE is a collection of logical records in a tabular format.
A RECORD contains fields (or attributes ) about the entity.
A field is same as an ‘attribute’
Advantages of Database Approach
RegistrationExamination
Library
Applications
Library
Examination
Applications
Registration
Applications
Database
Management
System
University
Students
Database
- Data Sharing - Data Independence
- Controlled Redundancy - Better Data Integrity
Database Systems
Data Sharing
Data Independence
Controlled Redundancy
Better data Integrity
Data consistency
Better data security
Faster development of new applications
Economy of scale
Better concurrency
Better backup procedures
Database Systems
Higher costs (DBMS)
Conversion cost (manual to computerized )
More difficult recovery
Database System
Today we will learn:
•Database Users
•Typical Components of Database Environment
•Data Independence
•3-Level Architecture
 Application Programmers
 End Users
 Naïve
 Sophisticated
Instructor: Ikram. Database Systems. CS-212
 DatabaseAdministrator (DBA)
A person who has central control over data
and programs that access this data
Instructor: Ikram. Database Systems. CS-212
Functions of DBA
 Create Database
 Creating Users
 Granting Roles & Privileges
 Routine Maintenance
 Backups
 Monitoring disk space
 Monitoring jobs running
Instructor: Ikram. Database Systems. CS-212
Database
DBMS
“How” to get
Application Programs
“What” to get
End users
interact
Application
Programmers
Database
Administrators
Database
Designers
develop
maintain
design
Software
Users
Data
 Each user should be able to access the same data, but have a different
customized view of data. Each user should be able to change the way he or
she views the data, and this change should not affect other users.
 User should not have to deal directly with physical database storage
details.
 The internal structure of the database should be unaffected by the
changes to the physical aspects of storage, such as change over to a new
storage devices.
External Level
Conceptual / Logical Level
Internal Level
Physical Data
Organization
View 1 View 2 View n
Conceptual
Schema
Internal
Schema
Database
User 1 User 2 User n
Ext/Con Mapping
Con/Int Mapping
3-Level Architecture
 This Level Describes-The Part of Database that is
relevant to each user e.g. Registration,Accounts etc
 Calculated Data:That is not actually stored in the
database but is created when needed e.g. age
 DBMS uses external views to create users interface for
different users which is both the facility and barrier.
 External Schema are evolves as user needs are
modified over time
First Name: Rana
Last Name: Aslam
Date of Birth:
12 Sep, 1970
Name: R. Aslam
Age: 24y,10d
Dept: Sales
Saleem
Saleema
Corresponds to different views of Data
External Level
 Entire information structure of the database.
 Also called “The Community view of data”
 All entities, attributes and their relationships are represented.
 Representing data and constraints on data
 Contains information about the security and integrity
information
 Relatively constant: designed with the present as well as future
needs of an organization.
Name DoB DepId
Rana Aslam 12/09/70 D001
Marya Wasti 29/02/80 D005
First Name: Rana
Last Name: Aslam
Date of Birth:
12 Sep, 1970
Name: R. Aslam
Age: 24y,10d
Dept: Sales
Saleem
Saleema
Conceptual / Logical View
Describes all entities their attributes their relationships with constraints
 Although these are at same level but
 PhysicalView
▪ Actual Data (on the disk) binary format.
▪ Use OS to store the Data
 InternalView
▪ Internal Record: a single stored record
▪ Does not just contain what we see at the conceptual
level
Name DoB Deps DepId
Rana Aslam 12/09/70 5 D001
Marya Wasti 29/02/80 0 D005
First Name: Rana
Last Name: Aslam
Date of Birth:
12 Sep, 1970
Name: R. Aslam
Age: 24y,10d
Dept: Sales
Saleem
Saleema
01110011010011100101001010100101010010101…..
BH RH Rana Aslam 120970 5 D001 RH Marya Wasti…
Contains stored Data (Record)
Internal View
 External / Conceptual mapping
 (correspondence between external level and
conceptual level)
 Conceptual / Internal
 (correspondence between and conceptual level
and internal level)
Specifies mapping between objects in the
external view to those in the logical model
External to logical model
Specifies mapping between objects in the
logical model to those in the physical model-
data independence
 Logical to Physical
Computer lecture (1) m.nasir
 Very Important Feature
 Data independence is major most outcome of 3-L Arch
 The immunity of applications to change in storage
structure and access strategy
Changes in lower level do not affect the upper
levels
 Mind the direction please
 Logical Data Independence
 Physical Data Independence
 Changes in conceptual model do not affect the
external views
 Immunity of external level from changes at
conceptual level
 Adding a new file etc.
 Adding a new field in a file
 Changing type/size
 Deleting an attribute
 Changes in the internal model do not affect the
conceptual model
 Immunity of Conceptual level from changes at
Internal level
 Entity (an object)
 Attribute (characteristics of object)
 Constraints (limit, check, control)

More Related Content

PPT
TID Chapter 10 Introduction To Database
PPTX
Introduction to databases
PPTX
Introduction to Database
PPT
INTRODUCTION TO DATABASE
POTX
PPT
Bsc cs ii-dbms- u-i-database systems
PDF
Unit 1: Introduction to DBMS Unit 1 Complete
PPT
Database Management System Introduction
TID Chapter 10 Introduction To Database
Introduction to databases
Introduction to Database
INTRODUCTION TO DATABASE
Bsc cs ii-dbms- u-i-database systems
Unit 1: Introduction to DBMS Unit 1 Complete
Database Management System Introduction

What's hot (20)

PDF
Introduction To Database Management System
PPTX
introduction to database
PPT
Intro to DBMS
PPTX
Disadvantages of file management system (file processing systems)
PPTX
Unit1 DBMS Introduction
PDF
Introduction to Database Management System
PPTX
Database management systems
DOCX
Dbms Concepts
PPTX
Database Management Systems - Management Information System
PPT
Assignment on dbms
PPT
Unit 01 dbms
PPT
Unit01 dbms
PPT
Database Presentation
PDF
Database Systems - Introduction to Database Design (Chapter 4/1)
PPTX
Dbms
PPT
Lecture 01 introduction to database
PDF
PPT
L8 components and properties of dbms
PPT
Database introduction
Introduction To Database Management System
introduction to database
Intro to DBMS
Disadvantages of file management system (file processing systems)
Unit1 DBMS Introduction
Introduction to Database Management System
Database management systems
Dbms Concepts
Database Management Systems - Management Information System
Assignment on dbms
Unit 01 dbms
Unit01 dbms
Database Presentation
Database Systems - Introduction to Database Design (Chapter 4/1)
Dbms
Lecture 01 introduction to database
L8 components and properties of dbms
Database introduction
Ad

Viewers also liked (20)

PPT
NIF Data Registration
PPTX
NCompass Live: Conducting Surveys II: Data Collection
PPTX
Free Facilities Scheduling Software - StadiumRoar - Learn More
PPTX
Methods of Data Collection in Statistics
PPT
Cancer registration and challenges in india
PPTX
Collection of data
PPTX
Methods of data collection
PPT
Methods of data collection
PPTX
Research Methodology - Methods of data collection
PPTX
Data collection
PPTX
Data Collection and Presentation
PPT
Data sources and collection methods
PPTX
Unit 4 methods of data collection
PPT
251109 rm-m.r.-data collection methods in quantitative research-an overview
PPTX
Methods of data collection
PPTX
Data collection in research process
PDF
Data Collection Methods - Nursing Research
PPTX
Research data collection methods and tools
PPTX
Methods of data collection (research methodology)
NIF Data Registration
NCompass Live: Conducting Surveys II: Data Collection
Free Facilities Scheduling Software - StadiumRoar - Learn More
Methods of Data Collection in Statistics
Cancer registration and challenges in india
Collection of data
Methods of data collection
Methods of data collection
Research Methodology - Methods of data collection
Data collection
Data Collection and Presentation
Data sources and collection methods
Unit 4 methods of data collection
251109 rm-m.r.-data collection methods in quantitative research-an overview
Methods of data collection
Data collection in research process
Data Collection Methods - Nursing Research
Research data collection methods and tools
Methods of data collection (research methodology)
Ad

Similar to Computer lecture (1) m.nasir (20)

PPT
data base
PPTX
Unit1,2 economics best ppt ever made.pptx
PPTX
dbms unit-1
PPTX
Data resource management and DSS
PPT
Ch1_Intro-95(1).ppt
PPTX
Lecture 1.pptx
PPT
Basics of Database Management System: Key Components
PPTX
DATABASE MANAGEMENT SYSTEMS CS 3492.pptx
PPTX
DBMS architecture &; system structure
PPTX
DBMS-material for b.tech students to learn
PDF
CST204 DBMS Module-1
PPT
Database, Lecture-1.ppt
PDF
Database Systems - Lecture Week 1
PPTX
Introduction to Database Management Systems (DBMS)
PPTX
Unit 1_1680588168525885258552585525855.pptx
PPTX
Chapter 4 Chapter Relational DB - Copy.pptx
PPTX
Introduction to Database System-WEEK2.pptx
PPTX
Module 1_Overview of Database Management System
PDF
Database management systems notes for unit 1
data base
Unit1,2 economics best ppt ever made.pptx
dbms unit-1
Data resource management and DSS
Ch1_Intro-95(1).ppt
Lecture 1.pptx
Basics of Database Management System: Key Components
DATABASE MANAGEMENT SYSTEMS CS 3492.pptx
DBMS architecture &; system structure
DBMS-material for b.tech students to learn
CST204 DBMS Module-1
Database, Lecture-1.ppt
Database Systems - Lecture Week 1
Introduction to Database Management Systems (DBMS)
Unit 1_1680588168525885258552585525855.pptx
Chapter 4 Chapter Relational DB - Copy.pptx
Introduction to Database System-WEEK2.pptx
Module 1_Overview of Database Management System
Database management systems notes for unit 1

Recently uploaded (20)

PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Sustainable Sites - Green Building Construction
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
PPT on Performance Review to get promotions
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPT
Mechanical Engineering MATERIALS Selection
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Construction Project Organization Group 2.pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
OOP with Java - Java Introduction (Basics)
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Automation-in-Manufacturing-Chapter-Introduction.pdf
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
additive manufacturing of ss316l using mig welding
Sustainable Sites - Green Building Construction
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPT on Performance Review to get promotions
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
R24 SURVEYING LAB MANUAL for civil enggi
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Mechanical Engineering MATERIALS Selection
CYBER-CRIMES AND SECURITY A guide to understanding
bas. eng. economics group 4 presentation 1.pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Construction Project Organization Group 2.pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
OOP with Java - Java Introduction (Basics)

Computer lecture (1) m.nasir

  • 1. Database System Today we will learn: Some common uses of database systems The characteristics of file-based systems The problem with the file-based approach The meaning of the term ‘Database’ The meaning of the term Database Management System’ (DBMS) The typical functions of DBMS The major components of the DBMS environment The advantages and disadvantages of DBMSs
  • 3. Database Systems Purchase from the U-mart Cash withdrawal from ATM (of The Bank of Punjab, Fowara Chowk, Gujrat) Purchase using your credit card Registration at NADRA office Using the internet University of Gujrat Information System (UOGIS)
  • 4. Database Systems A collection of programs that perform services for the end-user.
  • 6. Database Systems The Limitations of the file-based approach Separation and isolation of data Duplicate of data Data dependence Incompatible file formats
  • 7. Database Systems Fine Books Issued Father Name Name Reg_Number Library Grade Semester Class Address Name Reg_Number Examination Class Address Phone Father Name Name Reg_Number Registration
  • 8. Database Systems -A software system that enables users to define, create, and maintain the database and that provides controlled access to this database. A database management system (DBMS) is computer software that manages databases. Examples: Oracle, SQL Server, Informix, Sybase, Ingress
  • 9. Database Systems DBMS Database containing centralized shared data Application #1 Application #2 Application #3
  • 10. Database Systems -Shared collection of logically related data (and a description of this data), designed to meet the information needs of an organization.
  • 11. Database Systems Shared collection – can be used simultaneously by many departments and users. Logically related - comprises the important objects and the relationships between these objects. Description of the data – the system catalog (meta-data) provides description of data.
  • 12. Database Systems Database A collection of related files ^ File A collection of records about a particular set of people, objects, entities and so on ^ Record A collection of related fields associated with a single person, object, entity and so on ^ Field A collection of bytes representing a single attribute. ^ Byte A collection of bits representing a single character ^ Bit A binary digit
  • 13. Database Systems A database is a collection of integrated files. Integrated : Collection of files. Note: A FILE is a collection of logical records in a tabular format. A RECORD contains fields (or attributes ) about the entity. A field is same as an ‘attribute’
  • 14. Advantages of Database Approach RegistrationExamination Library Applications Library Examination Applications Registration Applications Database Management System University Students Database - Data Sharing - Data Independence - Controlled Redundancy - Better Data Integrity
  • 15. Database Systems Data Sharing Data Independence Controlled Redundancy Better data Integrity Data consistency Better data security Faster development of new applications Economy of scale Better concurrency Better backup procedures
  • 16. Database Systems Higher costs (DBMS) Conversion cost (manual to computerized ) More difficult recovery
  • 17. Database System Today we will learn: •Database Users •Typical Components of Database Environment •Data Independence •3-Level Architecture
  • 18.  Application Programmers  End Users  Naïve  Sophisticated Instructor: Ikram. Database Systems. CS-212
  • 19.  DatabaseAdministrator (DBA) A person who has central control over data and programs that access this data Instructor: Ikram. Database Systems. CS-212
  • 20. Functions of DBA  Create Database  Creating Users  Granting Roles & Privileges  Routine Maintenance  Backups  Monitoring disk space  Monitoring jobs running Instructor: Ikram. Database Systems. CS-212
  • 21. Database DBMS “How” to get Application Programs “What” to get End users interact Application Programmers Database Administrators Database Designers develop maintain design Software Users Data
  • 22.  Each user should be able to access the same data, but have a different customized view of data. Each user should be able to change the way he or she views the data, and this change should not affect other users.  User should not have to deal directly with physical database storage details.  The internal structure of the database should be unaffected by the changes to the physical aspects of storage, such as change over to a new storage devices.
  • 23. External Level Conceptual / Logical Level Internal Level Physical Data Organization View 1 View 2 View n Conceptual Schema Internal Schema Database User 1 User 2 User n Ext/Con Mapping Con/Int Mapping 3-Level Architecture
  • 24.  This Level Describes-The Part of Database that is relevant to each user e.g. Registration,Accounts etc  Calculated Data:That is not actually stored in the database but is created when needed e.g. age  DBMS uses external views to create users interface for different users which is both the facility and barrier.  External Schema are evolves as user needs are modified over time
  • 25. First Name: Rana Last Name: Aslam Date of Birth: 12 Sep, 1970 Name: R. Aslam Age: 24y,10d Dept: Sales Saleem Saleema Corresponds to different views of Data External Level
  • 26.  Entire information structure of the database.  Also called “The Community view of data”  All entities, attributes and their relationships are represented.  Representing data and constraints on data  Contains information about the security and integrity information  Relatively constant: designed with the present as well as future needs of an organization.
  • 27. Name DoB DepId Rana Aslam 12/09/70 D001 Marya Wasti 29/02/80 D005 First Name: Rana Last Name: Aslam Date of Birth: 12 Sep, 1970 Name: R. Aslam Age: 24y,10d Dept: Sales Saleem Saleema Conceptual / Logical View Describes all entities their attributes their relationships with constraints
  • 28.  Although these are at same level but  PhysicalView ▪ Actual Data (on the disk) binary format. ▪ Use OS to store the Data  InternalView ▪ Internal Record: a single stored record ▪ Does not just contain what we see at the conceptual level
  • 29. Name DoB Deps DepId Rana Aslam 12/09/70 5 D001 Marya Wasti 29/02/80 0 D005 First Name: Rana Last Name: Aslam Date of Birth: 12 Sep, 1970 Name: R. Aslam Age: 24y,10d Dept: Sales Saleem Saleema 01110011010011100101001010100101010010101….. BH RH Rana Aslam 120970 5 D001 RH Marya Wasti… Contains stored Data (Record) Internal View
  • 30.  External / Conceptual mapping  (correspondence between external level and conceptual level)  Conceptual / Internal  (correspondence between and conceptual level and internal level)
  • 31. Specifies mapping between objects in the external view to those in the logical model External to logical model
  • 32. Specifies mapping between objects in the logical model to those in the physical model- data independence  Logical to Physical
  • 34.  Very Important Feature  Data independence is major most outcome of 3-L Arch  The immunity of applications to change in storage structure and access strategy
  • 35. Changes in lower level do not affect the upper levels  Mind the direction please
  • 36.  Logical Data Independence  Physical Data Independence
  • 37.  Changes in conceptual model do not affect the external views  Immunity of external level from changes at conceptual level
  • 38.  Adding a new file etc.  Adding a new field in a file  Changing type/size  Deleting an attribute
  • 39.  Changes in the internal model do not affect the conceptual model  Immunity of Conceptual level from changes at Internal level
  • 40.  Entity (an object)  Attribute (characteristics of object)  Constraints (limit, check, control)