Professional Documents
Culture Documents
National University of Modern Languages - NUML: (Department of Computer Science)
National University of Modern Languages - NUML: (Department of Computer Science)
Languages - NUML
(Department of Computer Science)
Mr. Muhammad Nouman Farooq
BSC-H (Computer Science)
MS (Telecomm. and Networks)
Honors:
Magna Cumm Laude Honors Degree
Gold Medalist!
Database Environment
Lecture# 2
2
Lecture 2: Database Environment
3
System Development Life Cycle (SDLC)
4
5
6
Database Development Process (DDP)
7
Database Development Process (DDP)
1. Preliminary Study
2. Requirement Analysis
3. Database Design
4. Physical Design
5. Implementation
6. Maintenance
8
Continued…
9
Preliminary Study
It means that all the parts of the systems, or the section of the
subject organization for which we intend to develop the system
must be studied.
10
Continued…
11
Requirement Analysis
Once we have investigated the organization for its different sections
and the way data flows between those sections; Detailed study of the
system is started to find out the requirements of each section.
For example we can say that the results produced by the processing
taking place at one section are used as input for another section.
13
Database Design
In fourth phase, The choice of the DBMS is made on the basis of
requirements and the environment in which the system will operate.
16
Maintenance
Maintenance means to fine tune the system and check that the
designed applications systems are fulfilling the purpose for which
they are meant.
Also, this phase may involve designing any new application for the
enhancement of the system.
17
Continued…
All these stages are necessary and must be given the necessary
attention at each level to get properly working and good system design
and a better working environment.
18
The Three-Level ANSI-SPARC
Architecture
19
The Three-Level ANSI-SPARC Architecture
The Data Base Task Group (DBTG) recognized the need for a two-
level approach with a system view called the schema and user views
called subschemas.
20
Continued…
The American National Standards Institute (ANSI) Standards Planning
and Requirements Committee (SPARC), ANSI/X3/SPARC, produced a
similar terminology and architecture in 1975 (ANSI, 1975). ANSI-SPARC
recognized the need for a three-level approach.
21
Continued…
The levels form a three-level architecture comprising an External,
Conceptual, and an Internal level.
The way users observe the data is called the External Level (Front
End). The way the DBMS and the Operating System perceive/stores
the data (Back End) is the Internal Level.
The Conceptual Level provides both the mapping and the desired
independence between the external and internal levels.
22
Continued…
23
Continued…
24
Continued…
The overall Description/Skeleton structure of the database is called the
database schema.
26
Continued…
The objective of the three-level architecture is to separate each
user’s view of the database from the way the database is physically
represented. There are several reasons why this separation is
desirable:-
1. Each user should be able to access the same data, but have a
different customized view of the data.
2. Users should not have to deal directly with physical database storage
details.
27
Continued…
28
Continued…
A major objective for the three-level architecture is to provide data
independence, which means that upper levels are unaffected by
changes to lower levels.
29
Continued…
30
Continued…
31
Continued…
32
Recommended Readings
Chapter 2 from: -
Fundamentals of Database Systems – 6th Edition by Elmasri and Navathe (Page No.
58-83)
33
Summary of Lecture
➦ Lecture 2
34
END OF LECTURE 2
35