You are on page 1of 11

ARCHITECTURE OF DBMS

Basic Components of Database


Hardware Software Users Data

Functional Structure of Database (Components)


Database
User Data Meta Data Indexes Application Metadata

DBMS Engine
Design Tool Run Time

Functional Structure of Database (Components) (Cont)


Users
developer end-user

SCHEMA
Defines databases, structure, tables, relationship, domains, and business rules. It is a design, a foundation upon which the database and the applications are built.

Architecture of DBMS
External View (user) Conceptual View (community) Internal View (storage) Stored Record Interface Logical vs Physical

Data Base System Architecture


A) Host + DSL B) Host + DSL C) Host + DSL

External External View A View A


Mapping

External View B
Mapping

Logical

Conceptual View
Mapping

Physical

Internal View

Data Base System Architecture


Views Mapping (External-Conceptual) Mapping (Conceptual-Internal) DML & DDL User Applications Stored Record Interface Physical vs Logical

Approaches to Modeling a Data Base


Relational Approach Hierarchical Approach Network Approach Software Applications to Approaches

File Organization & Structures


Sequential File Organization Indexed File Organization Random File Organization Purpose Advantages vs Disadvantages Anomalies w/respect to Insert, Delete, Update

Indexed File Organization


Indexed Sequential VSAM (index set & sequence set) Data Structures
B-Trees Linked Lists Inverted Lists Binary Relationships Trees