SlideShare una empresa de Scribd logo
1 de 12
Architecture of DBMS

                Mrs. Maninder Kaur
            professormaninder@gmail.com



1      Mrs. Maninder Kaur      www.eazynotes.com
Introduction to DBMS
                    Architecture
    DBMS is a collection of programs that enable the users to
      create and maintain the database .
    Purpose of DBMS is to provide the user with the abstract
      view of database i.e. system does not provide all the details
      of the data, rather it hides the details how data is stored &
      maintained.
    In order to use the system, data must be retrieved efficiently.
    This leads to the design of complex data structures in the
      database.



2           Mrs. Maninder Kaur             www.eazynotes.com
DBMS Architecture




3   Mrs. Maninder Kaur   www.eazynotes.com
Three levels of the architecture
 External – individual user view
 Conceptual – community user view
 Internal – physical or storage view


         The three level database architecture allows a clear separation of
  the information meaning (conceptual view) from the external data
  representation and from the physical data structure layout. A database
  system that is able to separate the three different views of data is likely
  to be flexible and adaptable. This flexibility and adaptability is data
  independence



          Mrs. Maninder Kaur                 www.eazynotes.com
External View / Level / Schema /
         User View / Global View
     Highest or Top level of data abstraction ( No knowledge of
      DBMS S/W and H/W or physical storage).
     This level is concerned with the user.
     Each external schema describes the part of the database that a
      particular user is interested in and hides the rest of the database
      from user.
     There can be n number of external views for database where n is
      the number of users.
     For example, a accounts department may only be interested in
      the student fee details. It would not be expected to have any
      interest in the personal information about students.



5            Mrs. Maninder Kaur             www.eazynotes.com
Conceptual View
    This level is in between the user level and physical storage
      view.
    There is only one conceptual view for single database.
    It hides the details of physical storage structures and
      concentrates on describing entities, data types, relationships,
      user operations, and constraints.




6             Mrs. Maninder Kaur         www.eazynotes.com
Internal View / Physical View
     It is the lowest level of data abstraction. (it has the knowledge about s/w and
       h/w)

     At this level, it keeps the information about the actual representation of the
      entire database i.e. the actual storage of the data on the disk in the form of
      records or blocks.
     It is close to the physical storage method.

     The internal view is the view that tells us what data is stored in the database and
       how. At least the following aspects are considered at this level: Storage
       allocation, Access paths etc.

     The internal view does not deal with the physical devices directly. Instead it
       views a physical device as a collection of physical pages and allocates space in
       terms of logical pages.


7              Mrs. Maninder Kaur                    www.eazynotes.com
TYPES OF DATA INDEPENDENCE

    LOGICAL DATA INDEPENDENCE


    PHYSICAL DATA INDEPENDENCE




8       Mrs. Maninder Kaur   www.eazynotes.com
LOGICAL DATA INDEPENDENCE
    Whenever, there is a change or modification at the
      conceptual level without affecting the user level or
      external level, it is known as logical data independence.

    E.g. The name field in conceptual view is stored as first
      name, middle name and last name whereas in external
      view, it remains to be as a single name field.




9           Mrs. Maninder Kaur        www.eazynotes.com
PHYSICAL DATA INDEPENDENCE
     Whenever, the changes are made at the internal level
       without affecting the above layers, it is known as physical
       data independence.

     E.g. The location of the database, if changed from C
       drive to D drive will not affect the conceptual view or
       external view as the commands are independent of the
       location of the database.



10           Mrs. Maninder Kaur         www.eazynotes.com
Difference between Logical Data Independence &
       Physical Data Independence
          Logical Data Independence                           Physical Data Independence
 It is concerned with the structure of the data or    It is concerned with storage of the data.
 changing the data definition.

 It is very difficult as the retrieving of data are   It is easy to retrieve.
 heavily dependent on logical structure of data.

 Application program need not be changed if new
 fields are added or deleted from the database. Physical database is concerned with the change
                                                of the storage device.
 It is concerned with the conceptual schema.

                                                      It is concerned with the internal schema.



11                   Mrs. Maninder Kaur                        www.eazynotes.com
12   Mrs. Maninder Kaur   www.eazynotes.com

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Data abstraction in DBMS
Data abstraction in DBMSData abstraction in DBMS
Data abstraction in DBMS
 
1.4 data independence
1.4 data independence1.4 data independence
1.4 data independence
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
Dbms
DbmsDbms
Dbms
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Database language
Database languageDatabase language
Database language
 
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
FUNCTION DEPENDENCY  AND TYPES & EXAMPLEFUNCTION DEPENDENCY  AND TYPES & EXAMPLE
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
 
Structure of dbms
Structure of dbmsStructure of dbms
Structure of dbms
 
Database development life cycle
Database development life cycleDatabase development life cycle
Database development life cycle
 
Database architecture
Database architectureDatabase architecture
Database architecture
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
Data independence
Data independenceData independence
Data independence
 
1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMS
 
ER-Model-ER Diagram
ER-Model-ER DiagramER-Model-ER Diagram
ER-Model-ER Diagram
 
File based approach
File based approachFile based approach
File based approach
 
Normalization in DBMS
Normalization in DBMSNormalization in DBMS
Normalization in DBMS
 
ER Model in DBMS
ER Model in DBMSER Model in DBMS
ER Model in DBMS
 
Dbms presentaion
Dbms presentaionDbms presentaion
Dbms presentaion
 
Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
 
15. Transactions in DBMS
15. Transactions in DBMS15. Transactions in DBMS
15. Transactions in DBMS
 

Destacado

Relational algebra in dbms
Relational algebra in dbmsRelational algebra in dbms
Relational algebra in dbmsshekhar1991
 
Relational Algebra-Database Systems
Relational Algebra-Database SystemsRelational Algebra-Database Systems
Relational Algebra-Database Systemsjakodongo
 
Indexing and hashing
Indexing and hashingIndexing and hashing
Indexing and hashingJeet Poria
 
Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)Jargalsaikhan Alyeksandr
 
12. Indexing and Hashing in DBMS
12. Indexing and Hashing in DBMS12. Indexing and Hashing in DBMS
12. Indexing and Hashing in DBMSkoolkampus
 
ERP Implementation Life Cycle
ERP Implementation Life CycleERP Implementation Life Cycle
ERP Implementation Life CycleApurv Gourav
 
Business process reengineering
Business process reengineeringBusiness process reengineering
Business process reengineeringNeelkamal Sharma
 

Destacado (11)

Relational algebra in dbms
Relational algebra in dbmsRelational algebra in dbms
Relational algebra in dbms
 
Relational Algebra-Database Systems
Relational Algebra-Database SystemsRelational Algebra-Database Systems
Relational Algebra-Database Systems
 
Database management system basic, database, database management, learn databa...
Database management system basic, database, database management, learn databa...Database management system basic, database, database management, learn databa...
Database management system basic, database, database management, learn databa...
 
Indexing and hashing
Indexing and hashingIndexing and hashing
Indexing and hashing
 
PLM Introduction
PLM IntroductionPLM Introduction
PLM Introduction
 
Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)
 
Trigger
TriggerTrigger
Trigger
 
12. Indexing and Hashing in DBMS
12. Indexing and Hashing in DBMS12. Indexing and Hashing in DBMS
12. Indexing and Hashing in DBMS
 
ERP Implementation Life Cycle
ERP Implementation Life CycleERP Implementation Life Cycle
ERP Implementation Life Cycle
 
DBMS - Normalization
DBMS - NormalizationDBMS - Normalization
DBMS - Normalization
 
Business process reengineering
Business process reengineeringBusiness process reengineering
Business process reengineering
 

Similar a Architecture of DBMS: Three Levels and Data Independence

Computer lecture (1) m.nasir
Computer lecture (1) m.nasirComputer lecture (1) m.nasir
Computer lecture (1) m.nasirMuhammad Nasir
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxnehasahuji
 
ARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).pptARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).pptShivareddyGangam
 
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
 
Bca examination 2016 dbms
Bca examination 2016 dbmsBca examination 2016 dbms
Bca examination 2016 dbmsAnjaan Gajendra
 
Database management system by Gursharan singh
Database management system by Gursharan singhDatabase management system by Gursharan singh
Database management system by Gursharan singhGursharan Singh
 
Introduction to Databases and Transactions
Introduction to Databases and TransactionsIntroduction to Databases and Transactions
Introduction to Databases and Transactionsنبيله نواز
 
Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Ravinder Kamboj
 
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbmsAnkit Dubey
 
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
 
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbmsSomesh Gulati
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptxAaravSharma743156
 
DBMS-1.pptx
DBMS-1.pptxDBMS-1.pptx
DBMS-1.pptxkingVox
 
Chapter 2 database architecture
Chapter 2 database architectureChapter 2 database architecture
Chapter 2 database architectureUra Euro
 
database management system - overview of entire dbms
database management system - overview of entire dbmsdatabase management system - overview of entire dbms
database management system - overview of entire dbmsvikramkagitapu
 

Similar a Architecture of DBMS: Three Levels and Data Independence (20)

Computer lecture (1) m.nasir
Computer lecture (1) m.nasirComputer lecture (1) m.nasir
Computer lecture (1) m.nasir
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptx
 
ARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).pptARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).ppt
 
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
 
Over View of DBMS
Over View of DBMS Over View of DBMS
Over View of DBMS
 
Bca examination 2016 dbms
Bca examination 2016 dbmsBca examination 2016 dbms
Bca examination 2016 dbms
 
Database management system by Gursharan singh
Database management system by Gursharan singhDatabase management system by Gursharan singh
Database management system by Gursharan singh
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
Introduction to Databases and Transactions
Introduction to Databases and TransactionsIntroduction to Databases and Transactions
Introduction to Databases and Transactions
 
Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)
 
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
 
Dbms quick guide
Dbms quick guideDbms quick guide
Dbms quick guide
 
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
 
Db4 th
Db4 thDb4 th
Db4 th
 
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptx
 
DBMS-1.pptx
DBMS-1.pptxDBMS-1.pptx
DBMS-1.pptx
 
Chapter 2 database architecture
Chapter 2 database architectureChapter 2 database architecture
Chapter 2 database architecture
 
database management system - overview of entire dbms
database management system - overview of entire dbmsdatabase management system - overview of entire dbms
database management system - overview of entire dbms
 
DataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPTDataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPT
 

Más de Anuj Modi

Android Technology
Android TechnologyAndroid Technology
Android TechnologyAnuj Modi
 
Virtual memory
Virtual memoryVirtual memory
Virtual memoryAnuj Modi
 
Timing and-control-unit
Timing and-control-unitTiming and-control-unit
Timing and-control-unitAnuj Modi
 
Synchronous and-asynchronous-data-transfer
Synchronous and-asynchronous-data-transferSynchronous and-asynchronous-data-transfer
Synchronous and-asynchronous-data-transferAnuj Modi
 
Registers and-common-bus
Registers and-common-busRegisters and-common-bus
Registers and-common-busAnuj Modi
 
Ram and-rom-chips
Ram and-rom-chipsRam and-rom-chips
Ram and-rom-chipsAnuj Modi
 
Computer instructions
Computer instructionsComputer instructions
Computer instructionsAnuj Modi
 
Cache memory
Cache memoryCache memory
Cache memoryAnuj Modi
 
HTML Lesson 5-insert-and-align-graphics
HTML Lesson 5-insert-and-align-graphicsHTML Lesson 5-insert-and-align-graphics
HTML Lesson 5-insert-and-align-graphicsAnuj Modi
 
HTML Lesson 2-format-pages-and-text
HTML Lesson 2-format-pages-and-textHTML Lesson 2-format-pages-and-text
HTML Lesson 2-format-pages-and-textAnuj Modi
 
HTML Lesson 1-create-a-home-page
HTML Lesson 1-create-a-home-pageHTML Lesson 1-create-a-home-page
HTML Lesson 1-create-a-home-pageAnuj Modi
 
Introduction to-dbms
Introduction to-dbmsIntroduction to-dbms
Introduction to-dbmsAnuj Modi
 
Central Processing Unit User View
Central Processing Unit User ViewCentral Processing Unit User View
Central Processing Unit User ViewAnuj Modi
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control Anuj Modi
 
Graphs In Data Structure
Graphs In Data StructureGraphs In Data Structure
Graphs In Data StructureAnuj Modi
 
Graphs In Data Structure
Graphs In Data StructureGraphs In Data Structure
Graphs In Data StructureAnuj Modi
 
B trees in Data Structure
B trees in Data StructureB trees in Data Structure
B trees in Data StructureAnuj Modi
 

Más de Anuj Modi (20)

Android Technology
Android TechnologyAndroid Technology
Android Technology
 
Virtual memory
Virtual memoryVirtual memory
Virtual memory
 
Timing and-control-unit
Timing and-control-unitTiming and-control-unit
Timing and-control-unit
 
Synchronous and-asynchronous-data-transfer
Synchronous and-asynchronous-data-transferSynchronous and-asynchronous-data-transfer
Synchronous and-asynchronous-data-transfer
 
Registers and-common-bus
Registers and-common-busRegisters and-common-bus
Registers and-common-bus
 
Ram and-rom-chips
Ram and-rom-chipsRam and-rom-chips
Ram and-rom-chips
 
Memory
MemoryMemory
Memory
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
 
Cache memory
Cache memoryCache memory
Cache memory
 
HTML Lesson 5-insert-and-align-graphics
HTML Lesson 5-insert-and-align-graphicsHTML Lesson 5-insert-and-align-graphics
HTML Lesson 5-insert-and-align-graphics
 
HTML Lesson 2-format-pages-and-text
HTML Lesson 2-format-pages-and-textHTML Lesson 2-format-pages-and-text
HTML Lesson 2-format-pages-and-text
 
HTML Lesson 1-create-a-home-page
HTML Lesson 1-create-a-home-pageHTML Lesson 1-create-a-home-page
HTML Lesson 1-create-a-home-page
 
Introduction to-dbms
Introduction to-dbmsIntroduction to-dbms
Introduction to-dbms
 
DBA
DBADBA
DBA
 
Data models
Data modelsData models
Data models
 
Central Processing Unit User View
Central Processing Unit User ViewCentral Processing Unit User View
Central Processing Unit User View
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control
 
Graphs In Data Structure
Graphs In Data StructureGraphs In Data Structure
Graphs In Data Structure
 
Graphs In Data Structure
Graphs In Data StructureGraphs In Data Structure
Graphs In Data Structure
 
B trees in Data Structure
B trees in Data StructureB trees in Data Structure
B trees in Data Structure
 

Architecture of DBMS: Three Levels and Data Independence

  • 1. Architecture of DBMS Mrs. Maninder Kaur professormaninder@gmail.com 1 Mrs. Maninder Kaur www.eazynotes.com
  • 2. Introduction to DBMS Architecture DBMS is a collection of programs that enable the users to create and maintain the database . Purpose of DBMS is to provide the user with the abstract view of database i.e. system does not provide all the details of the data, rather it hides the details how data is stored & maintained. In order to use the system, data must be retrieved efficiently. This leads to the design of complex data structures in the database. 2 Mrs. Maninder Kaur www.eazynotes.com
  • 3. DBMS Architecture 3 Mrs. Maninder Kaur www.eazynotes.com
  • 4. Three levels of the architecture  External – individual user view  Conceptual – community user view  Internal – physical or storage view The three level database architecture allows a clear separation of the information meaning (conceptual view) from the external data representation and from the physical data structure layout. A database system that is able to separate the three different views of data is likely to be flexible and adaptable. This flexibility and adaptability is data independence Mrs. Maninder Kaur www.eazynotes.com
  • 5. External View / Level / Schema / User View / Global View  Highest or Top level of data abstraction ( No knowledge of DBMS S/W and H/W or physical storage).  This level is concerned with the user.  Each external schema describes the part of the database that a particular user is interested in and hides the rest of the database from user.  There can be n number of external views for database where n is the number of users.  For example, a accounts department may only be interested in the student fee details. It would not be expected to have any interest in the personal information about students. 5 Mrs. Maninder Kaur www.eazynotes.com
  • 6. Conceptual View This level is in between the user level and physical storage view. There is only one conceptual view for single database. It hides the details of physical storage structures and concentrates on describing entities, data types, relationships, user operations, and constraints. 6 Mrs. Maninder Kaur www.eazynotes.com
  • 7. Internal View / Physical View  It is the lowest level of data abstraction. (it has the knowledge about s/w and h/w)  At this level, it keeps the information about the actual representation of the entire database i.e. the actual storage of the data on the disk in the form of records or blocks.  It is close to the physical storage method.  The internal view is the view that tells us what data is stored in the database and how. At least the following aspects are considered at this level: Storage allocation, Access paths etc.  The internal view does not deal with the physical devices directly. Instead it views a physical device as a collection of physical pages and allocates space in terms of logical pages. 7 Mrs. Maninder Kaur www.eazynotes.com
  • 8. TYPES OF DATA INDEPENDENCE LOGICAL DATA INDEPENDENCE PHYSICAL DATA INDEPENDENCE 8 Mrs. Maninder Kaur www.eazynotes.com
  • 9. LOGICAL DATA INDEPENDENCE Whenever, there is a change or modification at the conceptual level without affecting the user level or external level, it is known as logical data independence. E.g. The name field in conceptual view is stored as first name, middle name and last name whereas in external view, it remains to be as a single name field. 9 Mrs. Maninder Kaur www.eazynotes.com
  • 10. PHYSICAL DATA INDEPENDENCE Whenever, the changes are made at the internal level without affecting the above layers, it is known as physical data independence. E.g. The location of the database, if changed from C drive to D drive will not affect the conceptual view or external view as the commands are independent of the location of the database. 10 Mrs. Maninder Kaur www.eazynotes.com
  • 11. Difference between Logical Data Independence & Physical Data Independence Logical Data Independence Physical Data Independence It is concerned with the structure of the data or It is concerned with storage of the data. changing the data definition. It is very difficult as the retrieving of data are It is easy to retrieve. heavily dependent on logical structure of data. Application program need not be changed if new fields are added or deleted from the database. Physical database is concerned with the change of the storage device. It is concerned with the conceptual schema. It is concerned with the internal schema. 11 Mrs. Maninder Kaur www.eazynotes.com
  • 12. 12 Mrs. Maninder Kaur www.eazynotes.com