Basic Concepts
UNIT 1 BASIC CONCEPTS Structure 1.0 1.1 1.2
Introduction Objectives Need for a Database Management System 1.2.1 1.2.2 1.2.3
1.3
1.5 1.6 1.7 1.8
10
Three level architecture of DBMS or logical DBMS architecture Mappings between levels and data independence The need for three level architecture
Physical DBMS Architecture 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7
5 5 6
The file based system Limitations of file based system The Database Approach
The Logical DBMS Architecture 1.3.1 1.3.2 1.3.3
1.4
Page Nos.
13
DML Precompiler DDL Compiler File Manager Database Manager Query Processor Database Administrator Data files indices and Data Dictionary
Commercial Database Architecture Data Models Summary Solutions/Answers
19 20 22 22
1.0 INTRODUCTION Databases and database systems have become an essential part of our everyday life. We encounter several activities that involve some interaction with a database almost daily. The examples include deposit and/or withdrawal from a bank, hotel, airline or railway reservation, accessing a computerised library, order a magazine subscription from a publisher, purchase items from supermarkets. In all the above cases a database is accessed. These may be called Traditional Database Applications. In these types of databases, the information stored and accessed is textual or numeric. However, with advances in technology in the past few years, different databases have been developed such as Multimedia Databases that store pictures, video clips and sound messages; Geographical Information Systems (GIS) that can store maps, weather data and satellite images, etc., and Real time databases that can control industrial and manufacturing processes. In this unit, we will be introducing the concepts involved in the Database Management System.
1.1 OBJECTIVES After going through this unit you should be able to: !
describe the File Based system and its limitations;
!
describe the structure of DBMS;
!
define the functions of DBA;
!
explain the three-tier architecture of DBMS, and
!
identify the need for three-tier architecture.
5