SlideShare a Scribd company logo
1 of 21
DataBase Management
System
Professor: Ratnadip Sir
File System:
• File based systems were an early attempt to computerize the manual system.
• It is also called a traditional based approach in which a decentralized approach was taken
where each department stored and controlled its own data
What is DataBase?
⮚ A database is an organized collection of structured information, or data,
typically. Stored electronically in a computer system.
⮚ You can organize data into tables, rows, columns, and index it to make it
easier to find relevant information.
⮚ The main purpose of the database is to operate a large amount of information
by storing, retrieving, and managing data.
⮚ There are many databases available like MySQL, Sybase, Oracle, MongoDB,
Informix, PostgreSQL, SQL Server, etc.
DataBase Management System:
⮚ The database is a collection of inter-related data which is used to retrieve, insert and
delete the data efficiently. It is also used to organize the data in the form of a table,
schema, views, and reports, etc.
⮚ Database management system is a software which is used to manage the database.
For example: MySQL, Oracle, etc are a very popular commercial database which is used in
different applications.
⮚ DBMS provides an interface to perform various operations like database creation, storing data
in it, updating data, creating a table in the database and a lot more.
⮚ It provides protection and security to the database. In the case of multiple users, it also
maintains data consistency.
Difference Between Conventional
File System & DBMS:
Convention File System DBMS
File system doesn’t have a crash recovery
mechanism. i.e., if the system crashes while entering
some data, then the content of the file will lost.
DBMS provide crash recovery mechanism, i.e., DBMS
protect the user from the system failure.
File system not control data redundancy DBMS control data redundancy.
Data is distributed in many files, and it may be of
different formats, so it isn't easy to share data.
Due to the centralized approach, data sharing is easy.
The file system provides the detail of the data
representation and storage of data.
DBMS gives an abstract view of data that hides the
details.
The file system is a collection of data. In this system,
the user has to write the procedures for managing
the database.
DBMS is a collection of data. In DBMS, the user is not
required to write the procedures.
The file system approach is cheaper to design. The database system is expensive to design.
The flexibility of the system is less as compared to the
DBMS approach.
Changes are often a necessity to the content of the
data stored in any system, and these changes are
more easily with a database approach.
Advantages & Disadvantages Of DBMS:
Advantages: (cont.)
• Improves the effectiveness of data exchange:
With DBMS, data can be exchanged between users more effectively, and access to the data can be restricted so
that only authorized users are permitted to view it, as opposed to earlier systems when everyone with access to the
system could access the data. We can more easily manage the data in a DBMS.
• Recovery and Back-up
Data is the most precious resource for the entity, as was described before; therefore, data preservation is just as
critical as data protection. By performing regular backups using a DBMS, a user can store the most recent data on
the drive or the cloud. The user can utilize the restore to retrieve the information from the drive or even the cloud if
it is deleted from the system.
• Controls database redundancy:
All the data is stored in one place, and that recorded in the database and hence controls the redundancy in the
database.
• Reduce time:
It reduces the maintenance need and development time.
• It hides the data which is not useful for the user:
DBMS helps the user to provide those data which is useful only for the user and the rest of the useless data it hides
from users.
• It provides data security and privacy:
There is so much data available in a single database so the DBMS helps to provide us the security that no one can
get access to our data easily and hiding the details of our data from other to provide privacy.
Advantages:
• Specifications for Hardware and Software
A system with a high configuration is needed to operate the DBMS effectively. We will unavoidably need hardware
that performs well to get this height. As all of this technology and the license for this program are relatively pricey,
it raises the cost of development. On your local system, they also take up comparatively more room. Also necessary
is the upkeep of these systems.
• Huge Dimensions:
For database management software to work correctly, a lot of disc space is needed. It needs extra software, and
that software needs storage space. Gigabytes of space may be needed for the whole DBMS configuration.
• It provides data security and privacy:
There is so much data available in a single database so the DBMS helps to provide us the security that no one can
get access to our data easily and hiding the details of our data from other to provide privacy.
Disadvantages: (cont.)
• Failure has an enormous effect:
DBMS stores together all data in one place. Therefore, if there is a problem with that file, it could affect all of the
other processes as well, which would halt everything and bring the process to a total halt.
• Management scope and complexity
Due to the large range of functions, it offers, the database project's scalability is increased. To create a user
interface, it supports many GUIs. It may also be used in conjunction with other potent software. But the
complexities of the system as a whole are increased by this entire situation. The process is highly complicated as a
result of all these implementations. We need to know other SQL languages to maintain the data and operate the
database.
• Cost of Staff Training:
Educated staff (database administrator, application programmers, data entry operations) who maintains the
database management system also requires a good amount. We need the database system designers to be hired
along with application programmers. Alternatively, the services of some software houses need to be taken. So there
is a lot of money which needs to be spent on developing software.
Disadvantages:
Three Level Architecture Of DBMS:(Cont.)
Three Level Architecture Of DBMS:(Cont.)
• The three schema architecture is also called ANSI/SPARC architecture or three-level architecture.
• This framework is used to describe the structure of a specific database system.
• The three schema architecture is also used to separate the user applications and physical database.
• The three schema architecture contains three-levels. It breaks the database down into three different
categories.
1. External Schema
2. Conceptual Schema
3. Internal Schema
Three Level Architecture Of DBMS:(Cont.)
• The internal level has an internal schema which describes the physical storage structure of the database.
• The internal schema is also known as a physical schema.
• It uses the physical data model. It is used to define that how the data will be stored in a block.
• The physical level is used to describe complex low-level data structures in detail.
1. Internal Level:
• The internal level is generally is concerned with the following activities:
1. Storage space allocations.
2. Access paths.
3. Data compression and encryption techniques.
4. Optimization of internal structures.
5. Representation of stored fields.
Three Level Architecture Of DBMS:(Cont.)
1. Internal Level:
Internal View
Three Level Architecture Of DBMS:(Cont.)
• The conceptual schema describes the design of a database at the conceptual level. Conceptual level is also
known as logical level.
• The conceptual schema describes the structure of the whole database.
• The conceptual level describes what data are to be stored in the database and also describes what
relationship exists among those data.
• In the conceptual level, internal details such as an implementation of the data structure are hidden.
2. Conceptual Level:
• Programmers and database administrators work at this level.
Three Level Architecture Of DBMS:(Cont.)
2. Conceptual Level:
Global View
Three Level Architecture Of DBMS:(Cont.)
• At the external level, a database contains several schemas that sometimes called as subschema. The
subschema is used to describe the different view of the database.
• An external schema is also known as view schema.
• Each view schema describes the database part that a particular user group is interested and hides the
remaining database from that user group.
• In the conceptual level, internal details such as an implementation of the data structure are hidden.
3. External Level:
• The view schema describes the end user interaction with database systems.
Three Level Architecture Of DBMS:(Cont.)
3. External Level:
External View
Components of DBMS:(Cont.)
• There are many components available in the DBMS. Each component has a significant task in the DBMS.
• A database environment is a collection of components that regulates the use of data, management, and a
group of data.
• Each view schema describes the database part that a particular user group is interested and hides the
remaining database from that user group.
• These components consist of people, the technique of Handel the database, data, hardware, software, etc.
there are several components available for the DBMS.
Components of DBMS:(Cont.)
• Here the hardware means the physical part of the DBMS. Here the hardware includes output devices like a
printer, monitor, etc., and storage devices like a hard disk.
• In DBMS, information hardware is the most important visible part. The equipment which is used for the
visibility of the data is the printer, computer, scanner, etc. This equipment is used to capture the data and
present the output to the user.
• With the help of hardware, the DBMS can access and update the database. The server can store a large
amount of data, which can be shared with the help of the user's own system.
• When we try to run any database software like MySQL, we can type any commands with the help of our
keyboards, and RAM, ROM, and processor are part of our computer system.
1. Hardware:
• The database can be run in any system that ranges from microcomputers to mainframe computers. And
this database also provides an interface between the real worlds to the database.

More Related Content

Similar to DBMS.pptx

Database management system lecture notes
Database management system lecture notesDatabase management system lecture notes
Database management system lecture notesUTSAHSINGH2
 
Database Management Systems
Database Management SystemsDatabase Management Systems
Database Management SystemsSURBHI SAROHA
 
CP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementCP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementflyinimohamed
 
DBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnDBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnRajasekhar364622
 
Database management system (part 1)
Database management system (part 1)Database management system (part 1)
Database management system (part 1)KavithaA19
 
DBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptxDBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptxDivyaKS12
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteRaj vardhan
 
Difference between File system and DBMS.pptx
Difference between File system and DBMS.pptxDifference between File system and DBMS.pptx
Difference between File system and DBMS.pptxMuhammadHamzaKhan58
 
Introduction to DBMS_VP.pptx
Introduction to DBMS_VP.pptxIntroduction to DBMS_VP.pptx
Introduction to DBMS_VP.pptxvishnupriyapm4
 
Unit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .pptUnit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .pptDeepakShakya39
 
Data resource management and DSS
Data resource management and DSSData resource management and DSS
Data resource management and DSSRajThakuri
 
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptxAshmitKashyap1
 

Similar to DBMS.pptx (20)

Ch1_Intro-95(1).ppt
Ch1_Intro-95(1).pptCh1_Intro-95(1).ppt
Ch1_Intro-95(1).ppt
 
Database management system lecture notes
Database management system lecture notesDatabase management system lecture notes
Database management system lecture notes
 
Database Management Systems
Database Management SystemsDatabase Management Systems
Database Management Systems
 
CP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementCP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implement
 
2.pptx
2.pptx2.pptx
2.pptx
 
DBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnDBMS-material for b.tech students to learn
DBMS-material for b.tech students to learn
 
Ch01
Ch01Ch01
Ch01
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
 
Database management system (part 1)
Database management system (part 1)Database management system (part 1)
Database management system (part 1)
 
DBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptxDBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptx
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Dbms Useful PPT
Dbms Useful PPTDbms Useful PPT
Dbms Useful PPT
 
Difference between File system and DBMS.pptx
Difference between File system and DBMS.pptxDifference between File system and DBMS.pptx
Difference between File system and DBMS.pptx
 
Introduction to DBMS_VP.pptx
Introduction to DBMS_VP.pptxIntroduction to DBMS_VP.pptx
Introduction to DBMS_VP.pptx
 
Unit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .pptUnit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .ppt
 
unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
 
Data resource management and DSS
Data resource management and DSSData resource management and DSS
Data resource management and DSS
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
 

Recently uploaded

Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 

Recently uploaded (20)

Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 

DBMS.pptx

  • 2.
  • 3. File System: • File based systems were an early attempt to computerize the manual system. • It is also called a traditional based approach in which a decentralized approach was taken where each department stored and controlled its own data
  • 4.
  • 5. What is DataBase? ⮚ A database is an organized collection of structured information, or data, typically. Stored electronically in a computer system. ⮚ You can organize data into tables, rows, columns, and index it to make it easier to find relevant information. ⮚ The main purpose of the database is to operate a large amount of information by storing, retrieving, and managing data. ⮚ There are many databases available like MySQL, Sybase, Oracle, MongoDB, Informix, PostgreSQL, SQL Server, etc.
  • 6. DataBase Management System: ⮚ The database is a collection of inter-related data which is used to retrieve, insert and delete the data efficiently. It is also used to organize the data in the form of a table, schema, views, and reports, etc. ⮚ Database management system is a software which is used to manage the database. For example: MySQL, Oracle, etc are a very popular commercial database which is used in different applications. ⮚ DBMS provides an interface to perform various operations like database creation, storing data in it, updating data, creating a table in the database and a lot more. ⮚ It provides protection and security to the database. In the case of multiple users, it also maintains data consistency.
  • 7. Difference Between Conventional File System & DBMS: Convention File System DBMS File system doesn’t have a crash recovery mechanism. i.e., if the system crashes while entering some data, then the content of the file will lost. DBMS provide crash recovery mechanism, i.e., DBMS protect the user from the system failure. File system not control data redundancy DBMS control data redundancy. Data is distributed in many files, and it may be of different formats, so it isn't easy to share data. Due to the centralized approach, data sharing is easy. The file system provides the detail of the data representation and storage of data. DBMS gives an abstract view of data that hides the details. The file system is a collection of data. In this system, the user has to write the procedures for managing the database. DBMS is a collection of data. In DBMS, the user is not required to write the procedures. The file system approach is cheaper to design. The database system is expensive to design. The flexibility of the system is less as compared to the DBMS approach. Changes are often a necessity to the content of the data stored in any system, and these changes are more easily with a database approach.
  • 8. Advantages & Disadvantages Of DBMS: Advantages: (cont.) • Improves the effectiveness of data exchange: With DBMS, data can be exchanged between users more effectively, and access to the data can be restricted so that only authorized users are permitted to view it, as opposed to earlier systems when everyone with access to the system could access the data. We can more easily manage the data in a DBMS. • Recovery and Back-up Data is the most precious resource for the entity, as was described before; therefore, data preservation is just as critical as data protection. By performing regular backups using a DBMS, a user can store the most recent data on the drive or the cloud. The user can utilize the restore to retrieve the information from the drive or even the cloud if it is deleted from the system.
  • 9. • Controls database redundancy: All the data is stored in one place, and that recorded in the database and hence controls the redundancy in the database. • Reduce time: It reduces the maintenance need and development time. • It hides the data which is not useful for the user: DBMS helps the user to provide those data which is useful only for the user and the rest of the useless data it hides from users. • It provides data security and privacy: There is so much data available in a single database so the DBMS helps to provide us the security that no one can get access to our data easily and hiding the details of our data from other to provide privacy. Advantages:
  • 10. • Specifications for Hardware and Software A system with a high configuration is needed to operate the DBMS effectively. We will unavoidably need hardware that performs well to get this height. As all of this technology and the license for this program are relatively pricey, it raises the cost of development. On your local system, they also take up comparatively more room. Also necessary is the upkeep of these systems. • Huge Dimensions: For database management software to work correctly, a lot of disc space is needed. It needs extra software, and that software needs storage space. Gigabytes of space may be needed for the whole DBMS configuration. • It provides data security and privacy: There is so much data available in a single database so the DBMS helps to provide us the security that no one can get access to our data easily and hiding the details of our data from other to provide privacy. Disadvantages: (cont.)
  • 11. • Failure has an enormous effect: DBMS stores together all data in one place. Therefore, if there is a problem with that file, it could affect all of the other processes as well, which would halt everything and bring the process to a total halt. • Management scope and complexity Due to the large range of functions, it offers, the database project's scalability is increased. To create a user interface, it supports many GUIs. It may also be used in conjunction with other potent software. But the complexities of the system as a whole are increased by this entire situation. The process is highly complicated as a result of all these implementations. We need to know other SQL languages to maintain the data and operate the database. • Cost of Staff Training: Educated staff (database administrator, application programmers, data entry operations) who maintains the database management system also requires a good amount. We need the database system designers to be hired along with application programmers. Alternatively, the services of some software houses need to be taken. So there is a lot of money which needs to be spent on developing software. Disadvantages:
  • 12. Three Level Architecture Of DBMS:(Cont.)
  • 13. Three Level Architecture Of DBMS:(Cont.) • The three schema architecture is also called ANSI/SPARC architecture or three-level architecture. • This framework is used to describe the structure of a specific database system. • The three schema architecture is also used to separate the user applications and physical database. • The three schema architecture contains three-levels. It breaks the database down into three different categories. 1. External Schema 2. Conceptual Schema 3. Internal Schema
  • 14. Three Level Architecture Of DBMS:(Cont.) • The internal level has an internal schema which describes the physical storage structure of the database. • The internal schema is also known as a physical schema. • It uses the physical data model. It is used to define that how the data will be stored in a block. • The physical level is used to describe complex low-level data structures in detail. 1. Internal Level: • The internal level is generally is concerned with the following activities: 1. Storage space allocations. 2. Access paths. 3. Data compression and encryption techniques. 4. Optimization of internal structures. 5. Representation of stored fields.
  • 15. Three Level Architecture Of DBMS:(Cont.) 1. Internal Level: Internal View
  • 16. Three Level Architecture Of DBMS:(Cont.) • The conceptual schema describes the design of a database at the conceptual level. Conceptual level is also known as logical level. • The conceptual schema describes the structure of the whole database. • The conceptual level describes what data are to be stored in the database and also describes what relationship exists among those data. • In the conceptual level, internal details such as an implementation of the data structure are hidden. 2. Conceptual Level: • Programmers and database administrators work at this level.
  • 17. Three Level Architecture Of DBMS:(Cont.) 2. Conceptual Level: Global View
  • 18. Three Level Architecture Of DBMS:(Cont.) • At the external level, a database contains several schemas that sometimes called as subschema. The subschema is used to describe the different view of the database. • An external schema is also known as view schema. • Each view schema describes the database part that a particular user group is interested and hides the remaining database from that user group. • In the conceptual level, internal details such as an implementation of the data structure are hidden. 3. External Level: • The view schema describes the end user interaction with database systems.
  • 19. Three Level Architecture Of DBMS:(Cont.) 3. External Level: External View
  • 20. Components of DBMS:(Cont.) • There are many components available in the DBMS. Each component has a significant task in the DBMS. • A database environment is a collection of components that regulates the use of data, management, and a group of data. • Each view schema describes the database part that a particular user group is interested and hides the remaining database from that user group. • These components consist of people, the technique of Handel the database, data, hardware, software, etc. there are several components available for the DBMS.
  • 21. Components of DBMS:(Cont.) • Here the hardware means the physical part of the DBMS. Here the hardware includes output devices like a printer, monitor, etc., and storage devices like a hard disk. • In DBMS, information hardware is the most important visible part. The equipment which is used for the visibility of the data is the printer, computer, scanner, etc. This equipment is used to capture the data and present the output to the user. • With the help of hardware, the DBMS can access and update the database. The server can store a large amount of data, which can be shared with the help of the user's own system. • When we try to run any database software like MySQL, we can type any commands with the help of our keyboards, and RAM, ROM, and processor are part of our computer system. 1. Hardware: • The database can be run in any system that ranges from microcomputers to mainframe computers. And this database also provides an interface between the real worlds to the database.