SlideShare ist ein Scribd-Unternehmen logo
1 von 40
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
 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)

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction To Database Management System
Introduction To Database Management SystemIntroduction To Database Management System
Introduction To Database Management Systemcpjcollege
 
introduction to database
 introduction to database introduction to database
introduction to databaseAkif shexi
 
Disadvantages of file management system (file processing systems)
Disadvantages of file management system(file processing systems)Disadvantages of file management system(file processing systems)
Disadvantages of file management system (file processing systems) raj upadhyay
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management SystemHitesh Mohapatra
 
Database management systems
Database management systemsDatabase management systems
Database management systemsJoel Briza
 
Dbms Concepts
Dbms ConceptsDbms Concepts
Dbms Conceptsadukkas
 
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information SystemNijaz N
 
Assignment on dbms
Assignment on dbmsAssignment on dbms
Assignment on dbmsMohd Arif
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentationa9oolq8
 
Database Systems - Introduction to Database Design (Chapter 4/1)
Database Systems - Introduction to Database Design (Chapter 4/1)Database Systems - Introduction to Database Design (Chapter 4/1)
Database Systems - Introduction to Database Design (Chapter 4/1)Vidyasagar Mundroy
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
L8 components and properties of dbms
L8  components and properties of dbmsL8  components and properties of dbms
L8 components and properties of dbmsRushdi Shams
 
Database introduction
Database introductionDatabase introduction
Database introductionHarry Potter
 

Was ist angesagt? (20)

Introduction To Database Management System
Introduction To Database Management SystemIntroduction To Database Management System
Introduction To Database Management System
 
introduction to database
 introduction to database introduction to database
introduction to database
 
Intro to DBMS
Intro to DBMSIntro to DBMS
Intro to DBMS
 
Disadvantages of file management system (file processing systems)
Disadvantages of file management system(file processing systems)Disadvantages of file management system(file processing systems)
Disadvantages of file management system (file processing systems)
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
Dbms Concepts
Dbms ConceptsDbms Concepts
Dbms Concepts
 
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information System
 
Assignment on dbms
Assignment on dbmsAssignment on dbms
Assignment on dbms
 
Unit 01 dbms
Unit 01 dbmsUnit 01 dbms
Unit 01 dbms
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
 
Database Management Systems
Database Management SystemsDatabase Management Systems
Database Management Systems
 
Database Systems - Introduction to Database Design (Chapter 4/1)
Database Systems - Introduction to Database Design (Chapter 4/1)Database Systems - Introduction to Database Design (Chapter 4/1)
Database Systems - Introduction to Database Design (Chapter 4/1)
 
Dbms
DbmsDbms
Dbms
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Dbms notes
Dbms notesDbms notes
Dbms notes
 
L8 components and properties of dbms
L8  components and properties of dbmsL8  components and properties of dbms
L8 components and properties of dbms
 
Database introduction
Database introductionDatabase introduction
Database introduction
 

Andere mochten auch

NCompass Live: Conducting Surveys II: Data Collection
NCompass Live: Conducting Surveys II: Data CollectionNCompass Live: Conducting Surveys II: Data Collection
NCompass Live: Conducting Surveys II: Data CollectionNebraska Library Commission
 
Free Facilities Scheduling Software - StadiumRoar - Learn More
Free Facilities Scheduling Software - StadiumRoar - Learn MoreFree Facilities Scheduling Software - StadiumRoar - Learn More
Free Facilities Scheduling Software - StadiumRoar - Learn MoreStadiumRoar.com
 
Methods of Data Collection in Statistics
Methods of Data Collection in StatisticsMethods of Data Collection in Statistics
Methods of Data Collection in StatisticsClyde Bangligan
 
Cancer registration and challenges in india
Cancer registration and challenges in indiaCancer registration and challenges in india
Cancer registration and challenges in indiaPriyamadhaba Behera
 
Methods of data collection
Methods of data collectionMethods of data collection
Methods of data collectionMustafa Abd
 
Research Methodology - Methods of data collection
 Research Methodology - Methods of data collection Research Methodology - Methods of data collection
Research Methodology - Methods of data collectionMANISH T I
 
Data Collection and Presentation
Data Collection and PresentationData Collection and Presentation
Data Collection and PresentationCarlos Erepol
 
Unit 4 methods of data collection
Unit 4 methods of data collectionUnit 4 methods of data collection
Unit 4 methods of data collectionEko Priyanto
 
251109 rm-m.r.-data collection methods in quantitative research-an overview
251109 rm-m.r.-data collection methods in quantitative research-an overview251109 rm-m.r.-data collection methods in quantitative research-an overview
251109 rm-m.r.-data collection methods in quantitative research-an overviewVivek Vasan
 
Methods of data collection
Methods of data collectionMethods of data collection
Methods of data collectionChintan Trivedi
 
Data collection in research process
Data collection in research processData collection in research process
Data collection in research processRavindra Mandale
 
Data Collection Methods - Nursing Research
Data Collection Methods -  Nursing ResearchData Collection Methods -  Nursing Research
Data Collection Methods - Nursing Researchanand l
 
Research data collection methods and tools
Research data collection methods and toolsResearch data collection methods and tools
Research data collection methods and toolsLikhila Abraham
 
Methods of data collection (research methodology)
Methods of data collection  (research methodology)Methods of data collection  (research methodology)
Methods of data collection (research methodology)Muhammed Konari
 

Andere mochten auch (20)

NIF Data Registration
NIF Data RegistrationNIF Data Registration
NIF Data Registration
 
NCompass Live: Conducting Surveys II: Data Collection
NCompass Live: Conducting Surveys II: Data CollectionNCompass Live: Conducting Surveys II: Data Collection
NCompass Live: Conducting Surveys II: Data Collection
 
Free Facilities Scheduling Software - StadiumRoar - Learn More
Free Facilities Scheduling Software - StadiumRoar - Learn MoreFree Facilities Scheduling Software - StadiumRoar - Learn More
Free Facilities Scheduling Software - StadiumRoar - Learn More
 
Methods of Data Collection in Statistics
Methods of Data Collection in StatisticsMethods of Data Collection in Statistics
Methods of Data Collection in Statistics
 
Cancer registration and challenges in india
Cancer registration and challenges in indiaCancer registration and challenges in india
Cancer registration and challenges in india
 
Collection of data
Collection of dataCollection of data
Collection of data
 
Methods of data collection
Methods of data collectionMethods of data collection
Methods of data collection
 
Methods of data collection
Methods of data collectionMethods of data collection
Methods of data collection
 
Research Methodology - Methods of data collection
 Research Methodology - Methods of data collection Research Methodology - Methods of data collection
Research Methodology - Methods of data collection
 
Research.method
Research.methodResearch.method
Research.method
 
Data collection
Data collectionData collection
Data collection
 
Data Collection and Presentation
Data Collection and PresentationData Collection and Presentation
Data Collection and Presentation
 
Data sources and collection methods
Data sources and collection methods Data sources and collection methods
Data sources and collection methods
 
Unit 4 methods of data collection
Unit 4 methods of data collectionUnit 4 methods of data collection
Unit 4 methods of data collection
 
251109 rm-m.r.-data collection methods in quantitative research-an overview
251109 rm-m.r.-data collection methods in quantitative research-an overview251109 rm-m.r.-data collection methods in quantitative research-an overview
251109 rm-m.r.-data collection methods in quantitative research-an overview
 
Methods of data collection
Methods of data collectionMethods of data collection
Methods of data collection
 
Data collection in research process
Data collection in research processData collection in research process
Data collection in research process
 
Data Collection Methods - Nursing Research
Data Collection Methods -  Nursing ResearchData Collection Methods -  Nursing Research
Data Collection Methods - Nursing Research
 
Research data collection methods and tools
Research data collection methods and toolsResearch data collection methods and tools
Research data collection methods and tools
 
Methods of data collection (research methodology)
Methods of data collection  (research methodology)Methods of data collection  (research methodology)
Methods of data collection (research methodology)
 

Ähnlich wie Computer lecture (1) m.nasir

Advanced Database Management System_Introduction Slide.ppt
Advanced Database Management System_Introduction Slide.pptAdvanced Database Management System_Introduction Slide.ppt
Advanced Database Management System_Introduction Slide.pptBikalAdhikari4
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptxSreenivas R
 
Three schema Architecture in DBMS
Three schema Architecture in DBMSThree schema Architecture in DBMS
Three schema Architecture in DBMSSaqlain84
 
Data base management system
Data base management systemData base management system
Data base management systemNavneet Jingar
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfparveen204931475
 
DBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnDBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnRajasekhar364622
 
Chapter 2 database architecture
Chapter 2 database architectureChapter 2 database architecture
Chapter 2 database architectureUra Euro
 
Introduction to Databases and Transactions
Introduction to Databases and TransactionsIntroduction to Databases and Transactions
Introduction to Databases and Transactionsنبيله نواز
 
Data abs ind & mod
Data abs  ind  & modData abs  ind  & mod
Data abs ind & modHaider Adnan
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfMrjJoker1
 
A N S I S P A R C Architecture
A N S I  S P A R C  ArchitectureA N S I  S P A R C  Architecture
A N S I S P A R C ArchitectureSabeeh Ahmed
 

Ähnlich wie Computer lecture (1) m.nasir (20)

27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
 
DBMS and its Models
DBMS and its ModelsDBMS and its Models
DBMS and its Models
 
Dbms models
Dbms modelsDbms models
Dbms models
 
Advanced Database Management System_Introduction Slide.ppt
Advanced Database Management System_Introduction Slide.pptAdvanced Database Management System_Introduction Slide.ppt
Advanced Database Management System_Introduction Slide.ppt
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
 
DataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPTDataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPT
 
23246406 dbms-unit-1
23246406 dbms-unit-123246406 dbms-unit-1
23246406 dbms-unit-1
 
Dbms
DbmsDbms
Dbms
 
Three schema Architecture in DBMS
Three schema Architecture in DBMSThree schema Architecture in DBMS
Three schema Architecture in DBMS
 
Data base management system
Data base management systemData base management system
Data base management system
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
 
DBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnDBMS-material for b.tech students to learn
DBMS-material for b.tech students to learn
 
dbms notes.ppt
dbms notes.pptdbms notes.ppt
dbms notes.ppt
 
Chapter 2 database architecture
Chapter 2 database architectureChapter 2 database architecture
Chapter 2 database architecture
 
Introduction to Databases and Transactions
Introduction to Databases and TransactionsIntroduction to Databases and Transactions
Introduction to Databases and Transactions
 
Data abs ind & mod
Data abs  ind  & modData abs  ind  & mod
Data abs ind & mod
 
Dbms module i
Dbms module iDbms module i
Dbms module i
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
 
A N S I S P A R C Architecture
A N S I  S P A R C  ArchitectureA N S I  S P A R C  Architecture
A N S I S P A R C Architecture
 

Kürzlich hochgeladen

Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 

Kürzlich hochgeladen (20)

Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 

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
  • 33.
  • 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)