SlideShare a Scribd company logo
1 of 10
Structure
of DBMS
By :
Megha Yadav
Architecture of DBMS
 A database system is divided into modules
 Each module provides set of responsibility for system
 Components of database system are
 Storage manager
 Query processor
Query Processor
 It is one of the functional components of DBMS.
 The query processor receives as input queries in the form of SQL text and
optimizes them, and completes their execution by employing specific data access
methods and database operator implementations.
 Query Processor As query is very much necessary to find out only the data user
need from tons of data of the database, query processor is very important to
process these query requests.
Query Processor components
 DML Compiler –
It processes the DML statements into low level instruction (machine language), so that they can be
executed.
 DDL Interpreter –
It processes the DDL statements into a set of table containing meta data (data about data).
 DML queries –
Data manipulation language (DML) statements add, change, and delete Database table data
 Query Optimizer –
It executes the instruction generated by DML Compiler.
 Query evaluation engine-
which executes low-level instructions generated by the DML compiler.
Storage Manager
 A storage manager is a program module which is responsible for storing, retrieving
and updating data in the database.
 Storage Manager is a program that provides an interface between the data stored
in the database and the queries received.
 It is also known as Database Control System. It maintains the consistency and
integrity of the database by applying the constraints and executes the statements.
Storage Manager Components
Storage Manager Components
Authorization Manager –
It ensures role-based access control, checks whether the particular person is privileged to perform the requested operation
or not.
Integrity Manager –
It checks the integrity constraints when the database is modified.
Transaction Manager –
It controls concurrent access by performing the operations in a scheduled way that it receives the transaction. Thus, it
ensures that the database remains in the consistent state before and after the execution of a transaction.
File Manager –
It manages the file space and the data structure used to represent information in the database.
Buffer Manager –
It is responsible for cache memory and the transfer of data between the secondary storage and main memory.
Data structure used by dbms
 Data Files : It stores the database.
 Data Dictionary : is a collection of names, definitions, and attributes
about data elements that are being used in a database. A Data Dictionary also
provides metadata about data elements.
 Indices : Provide fast access to data items that hold particular values.
 Statistical Data : It stores statistical information about the data in the database.
Structure of dbms

More Related Content

What's hot

File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbmsRituBhargava7
 
Importance & Principles of Modeling from UML Designing
Importance & Principles of Modeling from UML DesigningImportance & Principles of Modeling from UML Designing
Importance & Principles of Modeling from UML DesigningABHISHEK KUMAR
 
Types Of Keys in DBMS
Types Of Keys in DBMSTypes Of Keys in DBMS
Types Of Keys in DBMSPadamNepal1
 
Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Ravinder Kamboj
 
Er model ppt
Er model pptEr model ppt
Er model pptPihu Goel
 
Codd's rules
Codd's rulesCodd's rules
Codd's rulesMohd Arif
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management systemPrerana Bhattarai
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model IntroductionNishant Munjal
 
Query processing and optimization (updated)
Query processing and optimization (updated)Query processing and optimization (updated)
Query processing and optimization (updated)Ravinder Kamboj
 
Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Naman Joshi
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
Characteristic of dabase approach
Characteristic of dabase approachCharacteristic of dabase approach
Characteristic of dabase approachLuina Pani
 
OLAP operations
OLAP operationsOLAP operations
OLAP operationskunj desai
 

What's hot (20)

DBMS: Types of keys
DBMS:  Types of keysDBMS:  Types of keys
DBMS: Types of keys
 
Data Models
Data ModelsData Models
Data Models
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
 
Importance & Principles of Modeling from UML Designing
Importance & Principles of Modeling from UML DesigningImportance & Principles of Modeling from UML Designing
Importance & Principles of Modeling from UML Designing
 
Types Of Keys in DBMS
Types Of Keys in DBMSTypes Of Keys in DBMS
Types Of Keys in DBMS
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 
Object oriented databases
Object oriented databasesObject oriented databases
Object oriented databases
 
Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)
 
Er model ppt
Er model pptEr model ppt
Er model ppt
 
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
 
Codd's rules
Codd's rulesCodd's rules
Codd's rules
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Query processing and optimization (updated)
Query processing and optimization (updated)Query processing and optimization (updated)
Query processing and optimization (updated)
 
Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Normalization in DBMS
Normalization in DBMSNormalization in DBMS
Normalization in DBMS
 
SQL Views
SQL ViewsSQL Views
SQL Views
 
Characteristic of dabase approach
Characteristic of dabase approachCharacteristic of dabase approach
Characteristic of dabase approach
 
OLAP operations
OLAP operationsOLAP operations
OLAP operations
 

Similar to Structure of dbms

UNIT 1-INtroduction_to_Database_Systems.pptx
UNIT 1-INtroduction_to_Database_Systems.pptxUNIT 1-INtroduction_to_Database_Systems.pptx
UNIT 1-INtroduction_to_Database_Systems.pptxpncitechnologies
 
Database management system
Database management systemDatabase management system
Database management systemashishkthakur94
 
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
DATABASE    MANAGEMENT SYSTEM	 ARCHITECTUREDATABASE    MANAGEMENT SYSTEM	 ARCHITECTURE
DATABASE MANAGEMENT SYSTEM ARCHITECTUREDeepakM509554
 
Database Computer presentation file .pptx
Database Computer presentation file .pptxDatabase Computer presentation file .pptx
Database Computer presentation file .pptxMisqalezara
 
componenets of dbms
componenets of dbmscomponenets of dbms
componenets of dbmsTotalStupid
 
Database management systems components
Database management systems componentsDatabase management systems components
Database management systems componentsmuhammad bilal
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01ITNet
 
Database System Architecture
Database System ArchitectureDatabase System Architecture
Database System ArchitectureVignesh Saravanan
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management SystemHitesh Mohapatra
 
Transaction Management
Transaction ManagementTransaction Management
Transaction ManagementA. S. M. Shafi
 
data base management report
data base management report data base management report
data base management report shivam tripathi
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptxAaravSharma743156
 

Similar to Structure of dbms (20)

UNIT 1-INtroduction_to_Database_Systems.pptx
UNIT 1-INtroduction_to_Database_Systems.pptxUNIT 1-INtroduction_to_Database_Systems.pptx
UNIT 1-INtroduction_to_Database_Systems.pptx
 
DataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPTDataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPT
 
Database management system
Database management systemDatabase management system
Database management system
 
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
DATABASE    MANAGEMENT SYSTEM	 ARCHITECTUREDATABASE    MANAGEMENT SYSTEM	 ARCHITECTURE
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
 
Database Computer presentation file .pptx
Database Computer presentation file .pptxDatabase Computer presentation file .pptx
Database Computer presentation file .pptx
 
componenets of dbms
componenets of dbmscomponenets of dbms
componenets of dbms
 
Database management systems components
Database management systems componentsDatabase management systems components
Database management systems components
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
 
Database System Architecture
Database System ArchitectureDatabase System Architecture
Database System Architecture
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
 
Dbms
DbmsDbms
Dbms
 
Intro to dbms
Intro to dbmsIntro to dbms
Intro to dbms
 
DBMS PPT.pptx
DBMS PPT.pptxDBMS PPT.pptx
DBMS PPT.pptx
 
DBMS Full.ppt
DBMS Full.pptDBMS Full.ppt
DBMS Full.ppt
 
Unit 1 DBMS
Unit 1 DBMSUnit 1 DBMS
Unit 1 DBMS
 
Dbms
DbmsDbms
Dbms
 
Transaction Management
Transaction ManagementTransaction Management
Transaction Management
 
data base management report
data base management report data base management report
data base management report
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptx
 
Dbms notes
Dbms notesDbms notes
Dbms notes
 

More from Megha yadav

What is Numerical And Categorical Data .pptx
What is Numerical And Categorical Data .pptxWhat is Numerical And Categorical Data .pptx
What is Numerical And Categorical Data .pptxMegha yadav
 
Overview of DBMS/Introduction to DBMSpptx
Overview of DBMS/Introduction to DBMSpptxOverview of DBMS/Introduction to DBMSpptx
Overview of DBMS/Introduction to DBMSpptxMegha yadav
 
Types of RPA BOT and Tools
Types of RPA BOT and ToolsTypes of RPA BOT and Tools
Types of RPA BOT and ToolsMegha yadav
 
Introduction to RPA
Introduction to RPAIntroduction to RPA
Introduction to RPAMegha yadav
 
Digital Marketing Syllabus
Digital Marketing Syllabus Digital Marketing Syllabus
Digital Marketing Syllabus Megha yadav
 
Security and Authorization
Security and AuthorizationSecurity and Authorization
Security and AuthorizationMegha yadav
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity ConstraintsMegha yadav
 
Distributed Computing
Distributed Computing Distributed Computing
Distributed Computing Megha yadav
 
Cluster computing
Cluster computingCluster computing
Cluster computingMegha yadav
 
Introduction to SEO
Introduction to SEOIntroduction to SEO
Introduction to SEOMegha yadav
 
Website Architecture
Website ArchitectureWebsite Architecture
Website ArchitectureMegha yadav
 

More from Megha yadav (12)

What is Numerical And Categorical Data .pptx
What is Numerical And Categorical Data .pptxWhat is Numerical And Categorical Data .pptx
What is Numerical And Categorical Data .pptx
 
Overview of DBMS/Introduction to DBMSpptx
Overview of DBMS/Introduction to DBMSpptxOverview of DBMS/Introduction to DBMSpptx
Overview of DBMS/Introduction to DBMSpptx
 
Types of RPA BOT and Tools
Types of RPA BOT and ToolsTypes of RPA BOT and Tools
Types of RPA BOT and Tools
 
Introduction to RPA
Introduction to RPAIntroduction to RPA
Introduction to RPA
 
Digital Marketing Syllabus
Digital Marketing Syllabus Digital Marketing Syllabus
Digital Marketing Syllabus
 
Security and Authorization
Security and AuthorizationSecurity and Authorization
Security and Authorization
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity Constraints
 
Grid computing
Grid computingGrid computing
Grid computing
 
Distributed Computing
Distributed Computing Distributed Computing
Distributed Computing
 
Cluster computing
Cluster computingCluster computing
Cluster computing
 
Introduction to SEO
Introduction to SEOIntroduction to SEO
Introduction to SEO
 
Website Architecture
Website ArchitectureWebsite Architecture
Website Architecture
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
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
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 

Recently uploaded (20)

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
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
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
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
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 

Structure of dbms

  • 2.
  • 3. Architecture of DBMS  A database system is divided into modules  Each module provides set of responsibility for system  Components of database system are  Storage manager  Query processor
  • 4. Query Processor  It is one of the functional components of DBMS.  The query processor receives as input queries in the form of SQL text and optimizes them, and completes their execution by employing specific data access methods and database operator implementations.  Query Processor As query is very much necessary to find out only the data user need from tons of data of the database, query processor is very important to process these query requests.
  • 5. Query Processor components  DML Compiler – It processes the DML statements into low level instruction (machine language), so that they can be executed.  DDL Interpreter – It processes the DDL statements into a set of table containing meta data (data about data).  DML queries – Data manipulation language (DML) statements add, change, and delete Database table data  Query Optimizer – It executes the instruction generated by DML Compiler.  Query evaluation engine- which executes low-level instructions generated by the DML compiler.
  • 6. Storage Manager  A storage manager is a program module which is responsible for storing, retrieving and updating data in the database.  Storage Manager is a program that provides an interface between the data stored in the database and the queries received.  It is also known as Database Control System. It maintains the consistency and integrity of the database by applying the constraints and executes the statements.
  • 8. Storage Manager Components Authorization Manager – It ensures role-based access control, checks whether the particular person is privileged to perform the requested operation or not. Integrity Manager – It checks the integrity constraints when the database is modified. Transaction Manager – It controls concurrent access by performing the operations in a scheduled way that it receives the transaction. Thus, it ensures that the database remains in the consistent state before and after the execution of a transaction. File Manager – It manages the file space and the data structure used to represent information in the database. Buffer Manager – It is responsible for cache memory and the transfer of data between the secondary storage and main memory.
  • 9. Data structure used by dbms  Data Files : It stores the database.  Data Dictionary : is a collection of names, definitions, and attributes about data elements that are being used in a database. A Data Dictionary also provides metadata about data elements.  Indices : Provide fast access to data items that hold particular values.  Statistical Data : It stores statistical information about the data in the database.