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

What's hot (20)

Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
Dbms presentaion
Dbms presentaionDbms presentaion
Dbms presentaion
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
 
Data Models
Data ModelsData Models
Data Models
 
Data Base Management System
Data Base Management SystemData Base Management System
Data Base Management System
 
Database management functions
Database management functionsDatabase management functions
Database management functions
 
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
DBMS - Database Management System
DBMS - Database Management System DBMS - Database Management System
DBMS - Database Management System
 
Database language
Database languageDatabase language
Database language
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
Components and Advantages of DBMS
Components and Advantages of DBMSComponents and Advantages of DBMS
Components and Advantages of DBMS
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Relational model
Relational modelRelational model
Relational model
 
Database management system
Database management system Database management system
Database management system
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
 

Viewers also liked

Types of databases
Types of databasesTypes of databases
Types of databasesPAQUIAAIZEL
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentationsameerraaj
 
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
 
Data base management system
Data base management systemData base management system
Data base management systemNavneet Jingar
 
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
 
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
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
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)
 
Data base management system
Data base management systemData base management system
Data base management system
 
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
 
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
 
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
 
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)
 
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
 
James hall ch 9
James hall ch 9James hall ch 9
James hall ch 9
 

Recently uploaded

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
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
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 

Recently uploaded (20)

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
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
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 

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.