SlideShare a Scribd company logo
2
Most read
3
Most read
11
Most read
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

More Related Content

What's hot (20)

PPTX
Dbms architecture
Shubham Dwivedi
 
PPTX
Association rule mining.pptx
maha797959
 
PPTX
Structure of dbms
Megha yadav
 
PPT
Dbms models
devgocool
 
PPTX
Relational Database Design
Archit Saxena
 
PPT
1. Introduction to DBMS
koolkampus
 
PPTX
Concurrency control
Subhasish Pati
 
PPT
Basic DBMS ppt
dangwalrajendra888
 
PPTX
3 Level Architecture
Adeel Rasheed
 
PPTX
Distributed database management system
Pooja Dixit
 
PPT
Data Flow Diagram
nethisip13
 
PPT
Data independence
Aashima Wadhwa
 
PPTX
All data models in dbms
Naresh Kumar
 
PPTX
Dbms database models
sanjeev kumar suman
 
PPTX
Database abstraction
RituBhargava7
 
PPTX
Difference between File system And DBMS.pptx
ShayanMujahid2
 
PPSX
Functional dependency
Dashani Rajapaksha
 
PPTX
DBMS and its Models
AhmadShah Sultani
 
PPTX
Data base security & integrity
Pooja Dixit
 
PPT
Use case Diagram
Rahul Pola
 
Dbms architecture
Shubham Dwivedi
 
Association rule mining.pptx
maha797959
 
Structure of dbms
Megha yadav
 
Dbms models
devgocool
 
Relational Database Design
Archit Saxena
 
1. Introduction to DBMS
koolkampus
 
Concurrency control
Subhasish Pati
 
Basic DBMS ppt
dangwalrajendra888
 
3 Level Architecture
Adeel Rasheed
 
Distributed database management system
Pooja Dixit
 
Data Flow Diagram
nethisip13
 
Data independence
Aashima Wadhwa
 
All data models in dbms
Naresh Kumar
 
Dbms database models
sanjeev kumar suman
 
Database abstraction
RituBhargava7
 
Difference between File system And DBMS.pptx
ShayanMujahid2
 
Functional dependency
Dashani Rajapaksha
 
DBMS and its Models
AhmadShah Sultani
 
Data base security & integrity
Pooja Dixit
 
Use case Diagram
Rahul Pola
 

Viewers also liked (12)

PPT
Relational algebra in dbms
shekhar1991
 
PPT
Relational Algebra-Database Systems
jakodongo
 
PPTX
Database management system basic, database, database management, learn databa...
University of Science and Technology Chitttagong
 
PPT
Indexing and hashing
Jeet Poria
 
PPT
PLM Introduction
Jayakumar Vadivelu
 
PDF
Database design & Normalization (1NF, 2NF, 3NF)
Jargalsaikhan Alyeksandr
 
PPT
Trigger
Slideshare
 
PPT
12. Indexing and Hashing in DBMS
koolkampus
 
PPT
ERP Implementation Life Cycle
Apurv Gourav
 
PPT
DBMS - Normalization
Jitendra Tomar
 
PPTX
Business process reengineering
Neelkamal Sharma
 
Relational algebra in dbms
shekhar1991
 
Relational Algebra-Database Systems
jakodongo
 
Database management system basic, database, database management, learn databa...
University of Science and Technology Chitttagong
 
Indexing and hashing
Jeet Poria
 
PLM Introduction
Jayakumar Vadivelu
 
Database design & Normalization (1NF, 2NF, 3NF)
Jargalsaikhan Alyeksandr
 
Trigger
Slideshare
 
12. Indexing and Hashing in DBMS
koolkampus
 
ERP Implementation Life Cycle
Apurv Gourav
 
DBMS - Normalization
Jitendra Tomar
 
Business process reengineering
Neelkamal Sharma
 
Ad

Similar to Architecture of-dbms-and-data-independence (20)

PDF
Introduction to-dbms
Ashish Kumar Agrawal
 
PPT
ARCHITECTURE OF DBMS (1).ppt
ShivareddyGangam
 
PPTX
DBMS-gggfffdddddssswwassssssdddschema.pptx
arunsarker45
 
PPTX
1st Unit Rdjjkkijhghhjjiikjhttttyybms.pptx
ganesh81123
 
PPTX
Unit 1.2.pptx
ssuser0793931
 
PPT
Ch1_Intro-95(1).ppt
RAJULKUMARSUTHAR
 
PDF
Chapter 02.pdf databse schema architecture
AyeshaaShafaqat
 
PPTX
DBMS architecture &; system structure
RUpaliLohar
 
PDF
Database environment
Shefali Jain
 
PDF
unit 1.pdf
AbhishekSingh757567
 
PPTX
Introduction to database
Pradnya Saval
 
PDF
A Detail Database Architecture
Prof Ansari
 
PPT
11 Database Concepts
Praveen M Jigajinni
 
PDF
Database Systems - introduction
Jananath Banuka
 
PPTX
Chapter 4 Chapter Relational DB - Copy.pptx
OmarOmar731335
 
PPTX
dbms unit-1
Vivek Kumar
 
PDF
Database Development Strategies
Prof. Erwin Globio
 
PPTX
DBMS ppts unit1.pptx
VaibhavSaluja1
 
PPTX
Module 1 - Chapter 2.pptx
SoniaDevi15
 
PPT
9a797dbms chapter1 b.sc2
Mukund Trivedi
 
Introduction to-dbms
Ashish Kumar Agrawal
 
ARCHITECTURE OF DBMS (1).ppt
ShivareddyGangam
 
DBMS-gggfffdddddssswwassssssdddschema.pptx
arunsarker45
 
1st Unit Rdjjkkijhghhjjiikjhttttyybms.pptx
ganesh81123
 
Unit 1.2.pptx
ssuser0793931
 
Ch1_Intro-95(1).ppt
RAJULKUMARSUTHAR
 
Chapter 02.pdf databse schema architecture
AyeshaaShafaqat
 
DBMS architecture &; system structure
RUpaliLohar
 
Database environment
Shefali Jain
 
Introduction to database
Pradnya Saval
 
A Detail Database Architecture
Prof Ansari
 
11 Database Concepts
Praveen M Jigajinni
 
Database Systems - introduction
Jananath Banuka
 
Chapter 4 Chapter Relational DB - Copy.pptx
OmarOmar731335
 
dbms unit-1
Vivek Kumar
 
Database Development Strategies
Prof. Erwin Globio
 
DBMS ppts unit1.pptx
VaibhavSaluja1
 
Module 1 - Chapter 2.pptx
SoniaDevi15
 
9a797dbms chapter1 b.sc2
Mukund Trivedi
 
Ad

More from Anuj Modi (20)

PPTX
Android Technology
Anuj Modi
 
PPS
Virtual memory
Anuj Modi
 
PPS
Timing and-control-unit
Anuj Modi
 
PPS
Synchronous and-asynchronous-data-transfer
Anuj Modi
 
PPS
Registers and-common-bus
Anuj Modi
 
PPS
Ram and-rom-chips
Anuj Modi
 
PPS
Memory
Anuj Modi
 
PPS
Computer instructions
Anuj Modi
 
PPS
Cache memory
Anuj Modi
 
PDF
HTML Lesson 5-insert-and-align-graphics
Anuj Modi
 
PDF
HTML Lesson 2-format-pages-and-text
Anuj Modi
 
PDF
HTML Lesson 1-create-a-home-page
Anuj Modi
 
PPS
Introduction to-dbms
Anuj Modi
 
PPS
DBA
Anuj Modi
 
PPS
Data models
Anuj Modi
 
PPT
Central Processing Unit User View
Anuj Modi
 
PPT
Microprogram Control
Anuj Modi
 
PPT
Graphs In Data Structure
Anuj Modi
 
PPT
Graphs In Data Structure
Anuj Modi
 
PPT
B trees in Data Structure
Anuj Modi
 
Android Technology
Anuj Modi
 
Virtual memory
Anuj Modi
 
Timing and-control-unit
Anuj Modi
 
Synchronous and-asynchronous-data-transfer
Anuj Modi
 
Registers and-common-bus
Anuj Modi
 
Ram and-rom-chips
Anuj Modi
 
Memory
Anuj Modi
 
Computer instructions
Anuj Modi
 
Cache memory
Anuj Modi
 
HTML Lesson 5-insert-and-align-graphics
Anuj Modi
 
HTML Lesson 2-format-pages-and-text
Anuj Modi
 
HTML Lesson 1-create-a-home-page
Anuj Modi
 
Introduction to-dbms
Anuj Modi
 
Data models
Anuj Modi
 
Central Processing Unit User View
Anuj Modi
 
Microprogram Control
Anuj Modi
 
Graphs In Data Structure
Anuj Modi
 
Graphs In Data Structure
Anuj Modi
 
B trees in Data Structure
Anuj Modi
 

Architecture of-dbms-and-data-independence

  • 1. Architecture of DBMS Mrs. Maninder Kaur [email protected] 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