Escolar Documentos
Profissional Documentos
Cultura Documentos
Unit 2
Unit 2
Structure
2.1 Introduction
Objectives
2.2 Data Model, Schemas and Instances
The Three-Schema Architectures
Data Independence
2.3 Database Languages and Interfaces
DBMS Languages
DDL
Data Manipulation Languages (DMLs)
DBMS Interfaces
2.4 DBMS Component Modules
Stored Data Manager
Query processor
DDL compiler
Run-time data base Processor
Pre-compiler
Database System Utilities
2.5 Classification and Criterion of Database Management Systems
2.6 Summary
2.7 Terminal Questions
2.8 Answers
2.1 Introduction
A database model is a theory or specification describing how a database is
structured and used. Several such models like Hierarchical model, Network
model, Relational model etc., have been suggested.
Objectives
To know about
Define Data Model, Schemas and Instances
Describe DBMS Architecture and Database Independence
Explain Database Languages and Interfaces
Sikkim Manipal University
Page No.: 13
Unit 2
Concepts used in
a Data Model
Schemas
Instances
Page No.: 14
Unit 2
2. Conceptual level
storage
structures
and
Page No.: 15
EXTERNAL
VIEW
Unit 2
External
View
External
View
Mappings
CONCEPTUAL
LEVEL
Conceptual Schema
Mappings
Internal Schema
INTERNAL
LEVEL
STORED DATABASE
Fig. 2.1: The Three-Schema Architecture
Page No.: 16
Unit 2
Page No.: 17
Unit 2
There has been a standard established for SQL by ANSI, but vendors
still "exceed" the standard and provide their own extensions.
High-level DMLs, such as SQL can specify and retrieve many records in
a single DML statement, and are called set at a time or set oriented
DMLs.
Low Level/Procedural
Low-level DMLs are also called record at a time DMLS because of this.
Page No.: 18
Unit 2
Forms-Based Interfaces:
User can fill out a form to insert new data or fill out only certain entries.
Interface has its own schema, and a dictionary of important words. Uses
the schema and dictionary to interpret a natural language request.
Page No.: 19
Unit 2
Page No.: 20
Unit 2
FUNCTION
Load
Backup
File reorganization
Performance monitoring
Page No.: 21
Unit 2
Page No.: 22
Unit 2
Page No.: 23
Unit 2
2.6 Summary
In this chapter we have studied about the basic concepts of DBMS like Data
Model, Schemas and Instances, The Three-Schema Architectures, Data
independence, DBMS Interfaces, DBMS Components, Data Manager,
Query processor, DDL compiler, Run-time data base processor, and
Pre-compiler. We have also studied about Database System Utilities. We
have also studied about various classifications of database like Hierarchical
Model, Network Model, Relational Model Object and Oriented model.
Page No.: 24
Unit 2
2.8 Answers
Self Assessment Questions
1. A database model is a theory or specification describing how a database
is structured and used. There are several such models like Hierarchical
model, Network model, Relational model etc. (Refer section 2.1)
2.
Entity
Attribute
Relationship
3.
Schemas
Instances
Page No.: 25
Unit 2
Page No.: 26