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

Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management systemPrerana Bhattarai
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentationsameerraaj
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Jotham Gadot
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional ModelingSunita Sahu
 
database language ppt.pptx
database language ppt.pptxdatabase language ppt.pptx
database language ppt.pptxAnusha sivakumar
 
Database management system
Database management systemDatabase management system
Database management systemGovinda Neupane
 
Introduction to Data Warehouse
Introduction to Data WarehouseIntroduction to Data Warehouse
Introduction to Data WarehouseShanthi Mukkavilli
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architectureKumar
 
DBMS architecture &; system structure
DBMS architecture &; system  structureDBMS architecture &; system  structure
DBMS architecture &; system structureRUpaliLohar
 
ADBMS Object and Object Relational Databases
ADBMS  Object  and Object Relational Databases ADBMS  Object  and Object Relational Databases
ADBMS Object and Object Relational Databases Jayanthi Kannan MK
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database systemphilipsinter
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to databasePradnya Saval
 

What's hot (20)

Ch09
Ch09Ch09
Ch09
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional Modeling
 
database language ppt.pptx
database language ppt.pptxdatabase language ppt.pptx
database language ppt.pptx
 
Database management system
Database management systemDatabase management system
Database management system
 
Dbms
DbmsDbms
Dbms
 
Data models
Data modelsData models
Data models
 
Introduction to Data Warehouse
Introduction to Data WarehouseIntroduction to Data Warehouse
Introduction to Data Warehouse
 
Databases
DatabasesDatabases
Databases
 
Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architecture
 
DBMS architecture &; system structure
DBMS architecture &; system  structureDBMS architecture &; system  structure
DBMS architecture &; system structure
 
ADBMS Object and Object Relational Databases
ADBMS  Object  and Object Relational Databases ADBMS  Object  and Object Relational Databases
ADBMS Object and Object Relational Databases
 
database
databasedatabase
database
 
Data warehouse
Data warehouse Data warehouse
Data warehouse
 
Database
DatabaseDatabase
Database
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 

Viewers also liked

Types of databases
Types of databasesTypes of databases
Types of databasesPAQUIAAIZEL
 
Database Management Systems (DBMS)
Database Management Systems (DBMS)Database Management Systems (DBMS)
Database Management Systems (DBMS)Dimara Hakim
 
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
 
information system lecture notes
information system lecture notesinformation system lecture notes
information system lecture notesnaeem_mnm
 

Viewers also liked (17)

Types of databases
Types of databasesTypes of databases
Types of databases
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Database Management Systems (DBMS)
Database Management Systems (DBMS)Database Management Systems (DBMS)
Database Management Systems (DBMS)
 
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
 
Xfs file system for linux
Xfs file system for linuxXfs file system for linux
Xfs file system for linux
 
Dbms
DbmsDbms
Dbms
 
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
 
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
 
Lecture 1 to 3intro to normalization in database
Lecture 1 to 3intro to  normalization in databaseLecture 1 to 3intro to  normalization in database
Lecture 1 to 3intro to normalization in databasemaqsoodahmedbscsfkhp
 
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
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1ahfiki
 
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
 
Lecture 1 to 3intro to normalization in database
Lecture 1 to 3intro to  normalization in databaseLecture 1 to 3intro to  normalization in database
Lecture 1 to 3intro to normalization in database
 
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)
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
 
DBMS_UNIT_1.pdf
DBMS_UNIT_1.pdfDBMS_UNIT_1.pdf
DBMS_UNIT_1.pdf
 
Ch1
Ch1Ch1
Ch1
 
Ch1 2
Ch1 2Ch1 2
Ch1 2
 
Ch1
Ch1Ch1
Ch1
 
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
 

Recently uploaded

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Recently uploaded (20)

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

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.