SlideShare a Scribd company logo
1 of 15
 APPLICATIONS
 FILE SYSTEM
 VIEW OF DATA
 QUERY PROCESSOR
 DATABASE USERS AND ADMINISTRATORS
 DATA LANGUAGES
 TRANSACTION MANAGEMENT
 STORAGE MANAGER
 DATA MODELS
APPLICATION
a)    BANKING: For customer ,informaion,account,and loans, and
      transaction.
b)   Airline: For reservation and schedule information. Airline were
     among the first to use database in a geographically distributed
     manner terminals situated around the world accessed the central
     database system through phone lines and other data network.
c)   Universities: For students information, course registration, and
     grades.
d)   Credits card transaction: For purchases on credits cards and
     generation of monthly statements.
e)   Sales: For customer, product, and purchase information.
f)    Human resources: For information about employees, salaries,
     payroll taxes and benefits, and for generation of paychecks.
FILE SYSTEM
VIEW OF DATA
1. DATA    ABSTRACTION
• Physical Level: The lowest level of abstraction describes
  how the data are actually stored.
• Logical Level: The next –higher level of abstraction
  describes what data are actually stored in the database,
  and what relationship exist among those data.
• View Level: The highest level of abstraction describes
  only part of the entire database.
View level

View 1               View 2                View n




                     Logical level




                    Physical level


         (The three levels of data abstraction)
INSTANCES AND SCHEMAS: The collection of
information stored in the database at a particular moment is
called an instance of the database. The overall design of the
database is called the database schema.
QUERY PROCESSOR
      The query processor components includes:
• DDL interpreter: Which interprets DDL statements and
  records the definitions in the data dictionary.
• DML: Compiler which translates DML statements in a
  query language into an evaluation plan consisting of low-
  Level instructions that the evaluation engine understands.
• Query evaluation engine: Which executes low-level
  instruction generates by the DML compiler.
Database Users and
    Administrators
• Database users and user interfaces
    Naive Users
    Application Programmers
    Sophisticated Users
    Online analytical processing(ONLP)
    Specialized Users
• Database Administrator
   Schema definition
   Storage structure and access-method definition
   Schema and physical-organization modification
   Granting of authorization for data access
   Routine maintenance
DATA LANGUAGES
      The database provides a data definition
Language to specify the database schema and a data
Manipulation language to express database queries
and updates.

• DATA-DEFINITION LANGUAGE

• DATA-MANIPULATION
DATA-DEFINITION LANGUAGE(DDL):                         We
specify a database schema by a set of definition expressed
by a special language called a Data-Definition Language.
       For instance, the following statement in the SQL
language defines the account table:

    e.g.    create table account(account-number
                  char (10),balance integer)
       Execution of the above DDL statement create the
account table. In addition, it updates a special set of
tables called the DATA DICTIONARY            or DATA
DIRECTORY
DATA-MANIPULATION LANGUAGE: Data
manipulation is:
• The retrieval of information stored in the
database.
• The insertion of new information into the
database.
• The deletion of information from the database.
• The modification of information stored in the
database.
A data-manipulation language(DML) is a
language that enables users to access or manipulate
data as organized by the appropriate data model. There
are basically two types :

• Procedural DMLs

• Declarative DMLs
        The query in the SQL language finds the name
of the customer whose customer-id is 1999:

       e.g.   Select customer.customer-name
                   from customer
               where customer.customer-id=1999
TRANSACTION
         MANAGEMENT
        A transaction is a collection of operations that
performs a single logical function in a database
application. Each transaction is a unit of both atomicity
and consistency . Thus, we require that transaction do
not violate any database-consistency constraints. That
is, if the database was consistent when a transaction
started, the database must be consistent when the
transaction successfully terminates.
STORAGE MANAGER
       A storage is a program module that provides the
interface between the low-level data stored in the database
and the application program and queries submitted to the
system. The storage manager . The storage manager is
responsible for the interaction with the file manager . The
row data are stored on the disk using the file system, which
is usually provided by a conventional operating system.
The storage manager translates the various DML
statements into low-level file-system commands. Thus, the
storage manager is responsible for storing, retrieving and
updating in the database.

More Related Content

What's hot (20)

RDBMS
RDBMSRDBMS
RDBMS
 
Introduction of DBMS
Introduction of DBMSIntroduction of DBMS
Introduction of DBMS
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity Constraints
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management System
 
DATA BASE MANAGEMENT SYSTEM BY SAIKIRAN PANJALA
DATA BASE  MANAGEMENT SYSTEM BY SAIKIRAN PANJALADATA BASE  MANAGEMENT SYSTEM BY SAIKIRAN PANJALA
DATA BASE MANAGEMENT SYSTEM BY SAIKIRAN PANJALA
 
DBMS ARCHITECTURE.pptx
DBMS ARCHITECTURE.pptxDBMS ARCHITECTURE.pptx
DBMS ARCHITECTURE.pptx
 
Object oriented database model
Object oriented database modelObject oriented database model
Object oriented database model
 
Data Base Management System
Data Base Management SystemData Base Management System
Data Base Management System
 
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data models
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
 
Rdbms
RdbmsRdbms
Rdbms
 
database
databasedatabase
database
 
database language ppt.pptx
database language ppt.pptxdatabase language ppt.pptx
database language ppt.pptx
 
Database language
Database languageDatabase language
Database language
 
Database management system
Database management systemDatabase management system
Database management system
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architecture
 
Dbms
DbmsDbms
Dbms
 
Dbms
DbmsDbms
Dbms
 
View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
 
Data Manipulation Language
Data Manipulation LanguageData Manipulation Language
Data Manipulation Language
 

Viewers also liked

Types of databases
Types of databasesTypes of databases
Types of databasesPAQUIAAIZEL
 
Database management system
Database management systemDatabase management system
Database management systemRizwanHafeez
 
Database Management Systems (DBMS)
Database Management Systems (DBMS)Database Management Systems (DBMS)
Database Management Systems (DBMS)Dimara Hakim
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Jotham Gadot
 
1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMSkoolkampus
 
Data base management system
Data base management systemData base management system
Data base management systemPramoda Raj
 
Single User v/s Multi User Databases
Single User v/s Multi User DatabasesSingle User v/s Multi User Databases
Single User v/s Multi User DatabasesRaminder Pal Singh
 
Ch 1-final-file organization from korth
Ch 1-final-file organization from korthCh 1-final-file organization from korth
Ch 1-final-file organization from korthRupali Rana
 
Xfs file system for linux
Xfs file system for linuxXfs file system for linux
Xfs file system for linuxAjay Sood
 
File organization 1
File organization 1File organization 1
File organization 1Rupali Rana
 
Database management functions
Database management functionsDatabase management functions
Database management functionsyhen06
 
Functions of database management systems
Functions of database management systemsFunctions of database management systems
Functions of database management systemsUZAIR UDDIN SHAIKH
 
Function
FunctionFunction
Functionrey501
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management systemPrerana Bhattarai
 
information system lecture notes
information system lecture notesinformation system lecture notes
information system lecture notesnaeem_mnm
 

Viewers also liked (20)

Types of databases
Types of databasesTypes of databases
Types of databases
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Database management system
Database management systemDatabase management system
Database management system
 
Database Management Systems (DBMS)
Database Management Systems (DBMS)Database Management Systems (DBMS)
Database Management Systems (DBMS)
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMS
 
Data base management system
Data base management systemData base management system
Data base management system
 
Types dbms
Types dbmsTypes dbms
Types dbms
 
Single User v/s Multi User Databases
Single User v/s Multi User DatabasesSingle User v/s Multi User Databases
Single User v/s Multi User Databases
 
Ch 1-final-file organization from korth
Ch 1-final-file organization from korthCh 1-final-file organization from korth
Ch 1-final-file organization from korth
 
Dbms
DbmsDbms
Dbms
 
Xfs file system for linux
Xfs file system for linuxXfs file system for linux
Xfs file system for linux
 
File organization 1
File organization 1File organization 1
File organization 1
 
Database management functions
Database management functionsDatabase management functions
Database management functions
 
Functions of database management systems
Functions of database management systemsFunctions of database management systems
Functions of database management systems
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
DbMs
DbMsDbMs
DbMs
 
Function
FunctionFunction
Function
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
information system lecture notes
information system lecture notesinformation system lecture notes
information system lecture notes
 

Similar to Dbms slides

DATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMDATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMswathi chouti
 
DBMS introduction and functionality of of dbms
DBMS introduction and functionality of  of dbmsDBMS introduction and functionality of  of dbms
DBMS introduction and functionality of of dbmsranjana dalwani
 
Fundamentals of database system - Database System Concepts and Architecture
Fundamentals of database system - Database System Concepts and ArchitectureFundamentals of database system - Database System Concepts and Architecture
Fundamentals of database system - Database System Concepts and ArchitectureMustafa Kamel Mohammadi
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptxdhanajimirajkar1
 
21UCAC 41 Database Management System.ppt
21UCAC 41 Database Management System.ppt21UCAC 41 Database Management System.ppt
21UCAC 41 Database Management System.pptssuser7f90ae
 
Dbms Notes Lecture 3 : Types of database users
Dbms Notes Lecture 3 : Types of database usersDbms Notes Lecture 3 : Types of database users
Dbms Notes Lecture 3 : Types of database usersBIT Durg
 
Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Surya Swaroop
 
Ch1
Ch1Ch1
Ch1CAG
 
Introduction to Database, Purpose of Data, Data models, Components of Database
Introduction to Database, Purpose of Data, Data models, Components of DatabaseIntroduction to Database, Purpose of Data, Data models, Components of Database
Introduction to Database, Purpose of Data, Data models, Components of Databasekasthurimukila
 

Similar to Dbms slides (20)

DATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMDATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEM
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
 
DBMS introduction and functionality of of dbms
DBMS introduction and functionality of  of dbmsDBMS introduction and functionality of  of dbms
DBMS introduction and functionality of of dbms
 
SQL- Introduction to SQL database
SQL- Introduction to SQL database SQL- Introduction to SQL database
SQL- Introduction to SQL database
 
Fundamentals of database system - Database System Concepts and Architecture
Fundamentals of database system - Database System Concepts and ArchitectureFundamentals of database system - Database System Concepts and Architecture
Fundamentals of database system - Database System Concepts and Architecture
 
8028.ppt
8028.ppt8028.ppt
8028.ppt
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptx
 
dbms intro
  dbms intro  dbms intro
dbms intro
 
21UCAC 41 Database Management System.ppt
21UCAC 41 Database Management System.ppt21UCAC 41 Database Management System.ppt
21UCAC 41 Database Management System.ppt
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
 
Dbms Notes Lecture 3 : Types of database users
Dbms Notes Lecture 3 : Types of database usersDbms Notes Lecture 3 : Types of database users
Dbms Notes Lecture 3 : Types of database users
 
Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Beginning Of DBMS (data base)
Beginning Of DBMS (data base)
 
DBMS_UNIT_1.pdf
DBMS_UNIT_1.pdfDBMS_UNIT_1.pdf
DBMS_UNIT_1.pdf
 
Ch1
Ch1Ch1
Ch1
 
Ch1
Ch1Ch1
Ch1
 
Ch1 2
Ch1 2Ch1 2
Ch1 2
 
Db_05.ppt
Db_05.pptDb_05.ppt
Db_05.ppt
 
Introduction to Database, Purpose of Data, Data models, Components of Database
Introduction to Database, Purpose of Data, Data models, Components of DatabaseIntroduction to Database, Purpose of Data, Data models, Components of Database
Introduction to Database, Purpose of Data, Data models, Components of Database
 
James hall ch 9
James hall ch 9James hall ch 9
James hall ch 9
 
Chapter02
Chapter02Chapter02
Chapter02
 

Recently uploaded

Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 

Recently uploaded (20)

Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 

Dbms slides

  • 1.  APPLICATIONS  FILE SYSTEM  VIEW OF DATA  QUERY PROCESSOR  DATABASE USERS AND ADMINISTRATORS  DATA LANGUAGES  TRANSACTION MANAGEMENT  STORAGE MANAGER  DATA MODELS
  • 2. APPLICATION a) BANKING: For customer ,informaion,account,and loans, and transaction. b) Airline: For reservation and schedule information. Airline were among the first to use database in a geographically distributed manner terminals situated around the world accessed the central database system through phone lines and other data network. c) Universities: For students information, course registration, and grades. d) Credits card transaction: For purchases on credits cards and generation of monthly statements. e) Sales: For customer, product, and purchase information. f) Human resources: For information about employees, salaries, payroll taxes and benefits, and for generation of paychecks.
  • 4. VIEW OF DATA 1. DATA ABSTRACTION • Physical Level: The lowest level of abstraction describes how the data are actually stored. • Logical Level: The next –higher level of abstraction describes what data are actually stored in the database, and what relationship exist among those data. • View Level: The highest level of abstraction describes only part of the entire database.
  • 5. View level View 1 View 2 View n Logical level Physical level (The three levels of data abstraction)
  • 6. INSTANCES AND SCHEMAS: The collection of information stored in the database at a particular moment is called an instance of the database. The overall design of the database is called the database schema.
  • 7. QUERY PROCESSOR The query processor components includes: • DDL interpreter: Which interprets DDL statements and records the definitions in the data dictionary. • DML: Compiler which translates DML statements in a query language into an evaluation plan consisting of low- Level instructions that the evaluation engine understands. • Query evaluation engine: Which executes low-level instruction generates by the DML compiler.
  • 8. Database Users and Administrators • Database users and user interfaces  Naive Users  Application Programmers  Sophisticated Users  Online analytical processing(ONLP)  Specialized Users
  • 9. • Database Administrator  Schema definition  Storage structure and access-method definition  Schema and physical-organization modification  Granting of authorization for data access  Routine maintenance
  • 10. DATA LANGUAGES The database provides a data definition Language to specify the database schema and a data Manipulation language to express database queries and updates. • DATA-DEFINITION LANGUAGE • DATA-MANIPULATION
  • 11. DATA-DEFINITION LANGUAGE(DDL): We specify a database schema by a set of definition expressed by a special language called a Data-Definition Language. For instance, the following statement in the SQL language defines the account table: e.g. create table account(account-number char (10),balance integer) Execution of the above DDL statement create the account table. In addition, it updates a special set of tables called the DATA DICTIONARY or DATA DIRECTORY
  • 12. DATA-MANIPULATION LANGUAGE: Data manipulation is: • The retrieval of information stored in the database. • The insertion of new information into the database. • The deletion of information from the database. • The modification of information stored in the database.
  • 13. A data-manipulation language(DML) is a language that enables users to access or manipulate data as organized by the appropriate data model. There are basically two types : • Procedural DMLs • Declarative DMLs The query in the SQL language finds the name of the customer whose customer-id is 1999: e.g. Select customer.customer-name from customer where customer.customer-id=1999
  • 14. TRANSACTION MANAGEMENT A transaction is a collection of operations that performs a single logical function in a database application. Each transaction is a unit of both atomicity and consistency . Thus, we require that transaction do not violate any database-consistency constraints. That is, if the database was consistent when a transaction started, the database must be consistent when the transaction successfully terminates.
  • 15. STORAGE MANAGER A storage is a program module that provides the interface between the low-level data stored in the database and the application program and queries submitted to the system. The storage manager . The storage manager is responsible for the interaction with the file manager . The row data are stored on the disk using the file system, which is usually provided by a conventional operating system. The storage manager translates the various DML statements into low-level file-system commands. Thus, the storage manager is responsible for storing, retrieving and updating in the database.