Dbms Basic Concepts
Dbms Basic Concepts
Dbms Basic Concepts
Basic Concepts
DBMS
• DBMS stands for Database Management System
• Database requires understanding of data and
information
Components :
• DDL Interpreter
• DML Compiler
• Query Evalualion Engine
Storage Manager Responsiblites
• Interaction With the File Manager
• Intergrity Constraints enforcement
• Security Enforcement
• Back up and Recovery
• Concurrency Control
Types of Database System
• On the Basis of Number of users
• On the basis of site Location
On the basis of Number of users
• Single user DBMS
• Multi user DBMS
On the Basis of Site Location
• Centralized System
• Parallel System
• Distributed System
• Client –Server sysyem
Database Architecture
Two-tier and three-tier architecture
Three-tier architecture
• External or View level: It is the users’ view of the
database. This level describes that part of the
database that is relevant to each user.
– For example, one user may view dates in the form (day,
month, year), while another may view dates as (year,
month, day).
• Conceptual or logical level: It is the community view
of the database. This level describes what data is
stored in the database and the relationships among
the data.
• It represents:
– All entities, their attributes, and their relationships;
– The constraints on the data;
– Security and integrity information.
• Internal or storage level: It is the physical
representation of the database on the computer. This
level describes how the data is stored in the database.
Data Independence-Achievement
of Layered Architecture of DBMS
– ORACLE DB 10 or 11 (g)
Data Independence Types
• Logical Data Independence: The capacity to
change the conceptual schema without having
to change the external schemas and their
application programs.
• Physical Data Independence: The capacity to
change the internal schema without having to
change the conceptual schema.
Data Independence
• The processes of transforming requests and
results between the levels are called mappings.
• When a schema at a lower level is changed, only
the mappings between this schema and
higher-level schemas need to be changed in a
DBMS that fully supports data independence. The
higher-level schemas themselves are unchanged.
Hence, the application programs need not be
changed since they refer to the external schemas.
Data Models
Purpose of DBMS systems
and File system v/s DBMS
File System v/s DBMS
Components of DBMS
Applications of DBMS
• Banking: all transactions
• Airlines: reservations, schedules
• Universities: registration, grades
• Sales: customers, products, purchases
• Online retailers: order tracking, customized
recommendations
• Manufacturing: production, inventory, orders,
supply chain
• Human resources: employee records, salaries, tax
deductions
DBMS Architecture
Views
Data Independence, Schema,
Instance
Data Modeling
UNIT – I
Completed