SlideShare a Scribd company logo
Institute of SouthernPunjab,
Multan
Mr. Saif ur Rehman Khan
BS (Computer Science)
MS (Data Science, and Computer Science)
Honors:
Certified Android Developer, Research Assistant
E-Mail: saifurrehman.khan@outlook.com
2
Database Systems
Lecture#2
Databases Environment
Lecture 02 - Objectives
 System Development Life Cycle (SDLC)
 Database Development Process (DDP)
 The Three-Level ANSI-SPARC Architecture
3
System Development Life Cycle (SDLC)
4
Information System
 Definition:
Information systems are combinations of hardware,
software, and telecommunications networks that people
build and use to collect, create, and distribute useful data,
typically in organizational settings.
5
System Development Life Cycle
 Definition:
A traditional process for conducting an information
systems development project is called System Development
Life Cycle (SDLC). The SDLC is a complete set of steps
that a team of information systems professionals, including
database designers and programmers, follow in an
organizations to specify, develop, maintain, and replace
information system. Organization use many variations on
the life cycle, and many identify anywhere from three to
twenty different phases. This process is depicted in
upcoming slides. Ref (Hoffer et al., 2005).
6
Continue…
 System Development Life Cycle (SDLC):
The traditional methodology used to develop, maintain
and replace information system.
7
Continue…
8
System Development Life Cycle
9
Database Development Process (DDP)
10
Database Development Process (DDP)
Database Application development Process includes the
Following steps:
1. Preliminary / initial Study
2. Requirement Analysis
3. Database Design
4. Physical Design
5. Implementation
6. Maintenance
11
Problems with Data Dependency
 If data is being changed then the program must be changed and vice
versa For example if a library system has some attributes about book
like.
 Book_id
 Book_name
 Book_title
 Book_author
And after some time we add an other attribute like
book_edition. So you need to change data but on other
hand you have to change the program as well because
program is dependent on data and vice versa It means that
if you change the data in library system you will have to
change Examination and Registration systems.
12
Preliminary Study
 First Phase of the database development process is the
Preliminary Study, which is based on the proper study of the
system.
 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.
13
Continue…
 We should find the relation or interaction of different section of
the organization with each other and should understand the way
information flows between different sections of the
organization.
 Moreover it should also be made clear that what processing is
performed at each stage of the system.
14
Requirement Analysis
15
 In second phase, The detailed functionality decisions made at
this of the organization. study of the system and its stage
decide the overall activity of an organization.
 Requirements of one section of the organization are fulfilled in
such a way that all the sections in the organization are
supporting each other.
Example
16
Database Design
17
 Third phase in the database development process is the
database design.
 This is a technical phase of the process and need handsome
skill as a Database Administrator. This is the phase where the
conceptual design of the database is created. It also known as
Conceptual Data Modeling.
 Entities are identified and given attributes, relationships are
built and different types of relationship are performed by
assigning cardinalities.
Continue…
18
 Cardinality (data modeling) In database design, the
cardinality or fundamental principle of one data aspect with
respect to another is a critical feature. The relationship of one
to the other must be precise and exact between each other in
order to explain how each aspect links together.
Physical Design
19
 In fourth phase, The choice of the DBMS is made on the basis
of requirements and the environment in which the system will
operate.
 Implementing a database on a specific DBMS is very important
because it involves the major financial investment of the
organization, and can not be reverted in case a selected DBMS
in not capable of providing the desired efficiency.
 Also, Assigning meaningful Data Types,
Constraints/Limitations and De-Normalization of Data
where required by the real time scenario/system are to be
finalized and processed in this phase.
Implementation
20
 This phase is specific to writing the application programs
needed to carry out different activities according to user
requirements.
 We must write application programs in this phase.
 We can done coding with out implemented all previous phases
correctly.
Maintenance
21
 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.
 Or an already working application may need to be updated or
modified to remove any errors or to add some functionality in
the system.
The Three-Level ANSI-SPARC Architecture
22
The Three-Level ANSI-SPARC Architecture
• An early proposal for a standard terminology and general
architecture for database systems was produced in 1971 by the
Data Base Task Group (DBTG) appointed by the Conference
on Data Systems and Languages (CODASYL, 1971).
•
• 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.
23
Continue…
24
 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.
 Although, The ANSI-SPARC model did not become a standard,
It still provides a basis for understanding some of the
functionality of a DBMS.
Continue…
25
 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.
Continue…
26
 External Level:
The user’s view of the database. This level describes
that part of the database that is relevant to each user.
 Conceptual Level:
The community view of the database. This level
describes what data is stored in the database and the
relationship among the data.
 Internal/ Physical Level:
The physical representation of the database on the
computer. This level describes how the data is stored
in the database.
Example:
27
Continue…
• The overall Description/Skeleton structure of the database is called the
database schema.
• At the highest level, we have multiple external schemas (also called
subschemas) that correspond to different views of the data.
• At the conceptual level, we have the conceptual schema, which describes all
the entities, attributes, and relationships together with integrity constraints.
• At the lowest level, we have the internal schema, which is a complete
description of the internal model, containing the definitions of stored
records, the methods of representation, the data fields, and the indexes and
storage structures used. There is only one conceptual schema and one
internal schema per database.
28
Continue…
29
Continue…
• 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:-
• Each user should be able to access the same data, but have a
different customized view of the data.
• Users should not have to deal directly with physical database
storage details.
30
Continue..
31
• The internal structure of the database should be unaffected by
changes to the physical aspects of storage, such as the
changeover to a new storage device.
• The Database Administrator (DBA) should be able to change
the conceptual and database storage structures without
affecting the users’ views.
Continue…
32
 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.
 . There are two kinds of data independence: -
1. Logical Data Independence.
2. Physical Data Independence
Continue…
33
Continue…
34
 Logical Data Independence:
Changes to the conceptual schema, such as the addition or
removal of new entities, attributes, or relationships, should be
possible without having to change existing external schemas or
having to rewrite application programs. Clearly, the users for
whom the changes have been made need to be aware of them, but
what is important is that other users should not be.
Continue…
35
 Physical Data Independence:
Changes to the internal schema, such as using different file
storage structures, using different storage devices should be
possible without having to change the conceptual or external
schemas.
Summary of Lecture
 System Development Life Cycle (SDLC)
 Database Development Process (DDP)
 The Three-Level ANSI-SPARC Architecture
36
END OF LECTURE 2
37

More Related Content

PPT
Lecture 05 dblc
PPT
Database design
PPT
Chapter01 1
PPT
James hall ch 9
PDF
Fulltext01
PPTX
Chapter 9
PPT
Ch03 (1)
PDF
Database design, implementation, and management -chapter04
Lecture 05 dblc
Database design
Chapter01 1
James hall ch 9
Fulltext01
Chapter 9
Ch03 (1)
Database design, implementation, and management -chapter04

What's hot (19)

PDF
Logical design vs physical design
PDF
DESIGN OF A COMPUTER SYSTEM FOR AN INFORMATION SYSTEM
DOC
Project report
PPT
Chapter16 designing distributed and internet systems
PDF
Dbms interview questions s.pdf
PPTX
Assignment of database
PDF
ans3ed-oddonly.pdf
PDF
Database Development Strategies
PDF
PRESS MANAGEMENT Documentation
PPTX
Structure of dbms
RTF
Document
PPT
Chapter08 structuring system requirements
PPT
INTRODUCTION TO RDBMS
DOCX
Mi0034 database management systems
PPTX
Database management system (dbms)
DOCX
Mi0034 –database management systems
DOCX
Library management sytem
PPTX
library management system in SQL
Logical design vs physical design
DESIGN OF A COMPUTER SYSTEM FOR AN INFORMATION SYSTEM
Project report
Chapter16 designing distributed and internet systems
Dbms interview questions s.pdf
Assignment of database
ans3ed-oddonly.pdf
Database Development Strategies
PRESS MANAGEMENT Documentation
Structure of dbms
Document
Chapter08 structuring system requirements
INTRODUCTION TO RDBMS
Mi0034 database management systems
Database management system (dbms)
Mi0034 –database management systems
Library management sytem
library management system in SQL
Ad

Similar to Db lecture 2 (20)

PPTX
Week 7 Database Development Process
PDF
Comprehensive Guide to Effective Database Application Development Principles
PDF
Database Systems Design Implementation and Management 12th Edition Coronel So...
PPTX
CP 121_2.pptx about time to be implement
PDF
Database Systems Design Implementation and Management 12th Edition Coronel So...
PDF
Database Systems Design Implementation and Management 12th Edition Coronel So...
PDF
Database Systems Design Implementation and Management 12th Edition Coronel So...
PDF
Database Systems Design Implementation and Management 12th Edition Coronel So...
PDF
Database Systems Design Implementation And Management 13th Edition Coronel So...
PDF
313302 DBMS UNIT 1 PPT for diploma Computer Eng Unit 2
PDF
Database Systems Design Implementation And Management 13th Edition Coronel So...
PDF
Database Systems Design Implementation and Management 12th Edition Coronel So...
PDF
Database Systems Design Implementation And Management 13th Edition Coronel So...
PDF
PDF
Database Systems Design Implementation And Management 13th Edition Coronel So...
PDF
Database Systems Design Implementation And Management 13th Edition Coronel So...
PDF
Chapter2databaseenvironment 120307033742-phpapp01
PDF
Analyzing Systems Using Data Flow Diagrams
PPTX
Dbms architecture
PPTX
Introduction to DBMS.pptx
Week 7 Database Development Process
Comprehensive Guide to Effective Database Application Development Principles
Database Systems Design Implementation and Management 12th Edition Coronel So...
CP 121_2.pptx about time to be implement
Database Systems Design Implementation and Management 12th Edition Coronel So...
Database Systems Design Implementation and Management 12th Edition Coronel So...
Database Systems Design Implementation and Management 12th Edition Coronel So...
Database Systems Design Implementation and Management 12th Edition Coronel So...
Database Systems Design Implementation And Management 13th Edition Coronel So...
313302 DBMS UNIT 1 PPT for diploma Computer Eng Unit 2
Database Systems Design Implementation And Management 13th Edition Coronel So...
Database Systems Design Implementation and Management 12th Edition Coronel So...
Database Systems Design Implementation And Management 13th Edition Coronel So...
Database Systems Design Implementation And Management 13th Edition Coronel So...
Database Systems Design Implementation And Management 13th Edition Coronel So...
Chapter2databaseenvironment 120307033742-phpapp01
Analyzing Systems Using Data Flow Diagrams
Dbms architecture
Introduction to DBMS.pptx
Ad

Recently uploaded (20)

PPTX
Overview Planner of Soft Skills in a single ppt
DOCX
How to Become a Criminal Profiler or Behavioural Analyst.docx
PPTX
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
PPTX
Surgical thesis protocol formation ppt.pptx
PPTX
internship presentation of bsnl in colllege
PPTX
microtomy kkk. presenting to cryst in gl
PPT
BCH3201 (Enzymes and biocatalysis)-JEB (1).ppt
PPTX
Nervous_System_Drugs_PPT.pptxXXXXXXXXXXXXXXXXX
PPTX
FINAL PPT.pptx cfyufuyfuyuy8ioyoiuvy ituyc utdfm v
PPTX
PE3-WEEK-3sdsadsadasdadadwadwdsdddddd.pptx
PPTX
OnePlus 13R – ⚡ All-Rounder King Performance: Snapdragon 8 Gen 3 – same as iQ...
PDF
シュアーイノベーション採用ピッチ資料|Company Introduction & Recruiting Deck
PPTX
The Stock at arrangement the stock and product.pptx
DOCX
mcsp232projectguidelinesjan2023 (1).docx
PPTX
PMP (Project Management Professional) course prepares individuals
PDF
MCQ Practice CBT OL Official Language 1.pptx.pdf
PPTX
Job-opportunities lecture about it skills
PDF
L-0018048598visual cloud book for PCa-pdf.pdf
PDF
Daisia Frank: Strategy-Driven Real Estate with Heart.pdf
PPTX
AREAS OF SPECIALIZATION AND CAREER OPPORTUNITIES FOR COMMUNICATORS AND JOURNA...
Overview Planner of Soft Skills in a single ppt
How to Become a Criminal Profiler or Behavioural Analyst.docx
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
Surgical thesis protocol formation ppt.pptx
internship presentation of bsnl in colllege
microtomy kkk. presenting to cryst in gl
BCH3201 (Enzymes and biocatalysis)-JEB (1).ppt
Nervous_System_Drugs_PPT.pptxXXXXXXXXXXXXXXXXX
FINAL PPT.pptx cfyufuyfuyuy8ioyoiuvy ituyc utdfm v
PE3-WEEK-3sdsadsadasdadadwadwdsdddddd.pptx
OnePlus 13R – ⚡ All-Rounder King Performance: Snapdragon 8 Gen 3 – same as iQ...
シュアーイノベーション採用ピッチ資料|Company Introduction & Recruiting Deck
The Stock at arrangement the stock and product.pptx
mcsp232projectguidelinesjan2023 (1).docx
PMP (Project Management Professional) course prepares individuals
MCQ Practice CBT OL Official Language 1.pptx.pdf
Job-opportunities lecture about it skills
L-0018048598visual cloud book for PCa-pdf.pdf
Daisia Frank: Strategy-Driven Real Estate with Heart.pdf
AREAS OF SPECIALIZATION AND CAREER OPPORTUNITIES FOR COMMUNICATORS AND JOURNA...

Db lecture 2

  • 1. Institute of SouthernPunjab, Multan Mr. Saif ur Rehman Khan BS (Computer Science) MS (Data Science, and Computer Science) Honors: Certified Android Developer, Research Assistant E-Mail: saifurrehman.khan@outlook.com
  • 3. Lecture 02 - Objectives  System Development Life Cycle (SDLC)  Database Development Process (DDP)  The Three-Level ANSI-SPARC Architecture 3
  • 4. System Development Life Cycle (SDLC) 4
  • 5. Information System  Definition: Information systems are combinations of hardware, software, and telecommunications networks that people build and use to collect, create, and distribute useful data, typically in organizational settings. 5
  • 6. System Development Life Cycle  Definition: A traditional process for conducting an information systems development project is called System Development Life Cycle (SDLC). The SDLC is a complete set of steps that a team of information systems professionals, including database designers and programmers, follow in an organizations to specify, develop, maintain, and replace information system. Organization use many variations on the life cycle, and many identify anywhere from three to twenty different phases. This process is depicted in upcoming slides. Ref (Hoffer et al., 2005). 6
  • 7. Continue…  System Development Life Cycle (SDLC): The traditional methodology used to develop, maintain and replace information system. 7
  • 11. Database Development Process (DDP) Database Application development Process includes the Following steps: 1. Preliminary / initial Study 2. Requirement Analysis 3. Database Design 4. Physical Design 5. Implementation 6. Maintenance 11
  • 12. Problems with Data Dependency  If data is being changed then the program must be changed and vice versa For example if a library system has some attributes about book like.  Book_id  Book_name  Book_title  Book_author And after some time we add an other attribute like book_edition. So you need to change data but on other hand you have to change the program as well because program is dependent on data and vice versa It means that if you change the data in library system you will have to change Examination and Registration systems. 12
  • 13. Preliminary Study  First Phase of the database development process is the Preliminary Study, which is based on the proper study of the system.  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. 13
  • 14. Continue…  We should find the relation or interaction of different section of the organization with each other and should understand the way information flows between different sections of the organization.  Moreover it should also be made clear that what processing is performed at each stage of the system. 14
  • 15. Requirement Analysis 15  In second phase, The detailed functionality decisions made at this of the organization. study of the system and its stage decide the overall activity of an organization.  Requirements of one section of the organization are fulfilled in such a way that all the sections in the organization are supporting each other.
  • 17. Database Design 17  Third phase in the database development process is the database design.  This is a technical phase of the process and need handsome skill as a Database Administrator. This is the phase where the conceptual design of the database is created. It also known as Conceptual Data Modeling.  Entities are identified and given attributes, relationships are built and different types of relationship are performed by assigning cardinalities.
  • 18. Continue… 18  Cardinality (data modeling) In database design, the cardinality or fundamental principle of one data aspect with respect to another is a critical feature. The relationship of one to the other must be precise and exact between each other in order to explain how each aspect links together.
  • 19. Physical Design 19  In fourth phase, The choice of the DBMS is made on the basis of requirements and the environment in which the system will operate.  Implementing a database on a specific DBMS is very important because it involves the major financial investment of the organization, and can not be reverted in case a selected DBMS in not capable of providing the desired efficiency.  Also, Assigning meaningful Data Types, Constraints/Limitations and De-Normalization of Data where required by the real time scenario/system are to be finalized and processed in this phase.
  • 20. Implementation 20  This phase is specific to writing the application programs needed to carry out different activities according to user requirements.  We must write application programs in this phase.  We can done coding with out implemented all previous phases correctly.
  • 21. Maintenance 21  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.  Or an already working application may need to be updated or modified to remove any errors or to add some functionality in the system.
  • 22. The Three-Level ANSI-SPARC Architecture 22
  • 23. The Three-Level ANSI-SPARC Architecture • An early proposal for a standard terminology and general architecture for database systems was produced in 1971 by the Data Base Task Group (DBTG) appointed by the Conference on Data Systems and Languages (CODASYL, 1971). • • 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. 23
  • 24. Continue… 24  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.  Although, The ANSI-SPARC model did not become a standard, It still provides a basis for understanding some of the functionality of a DBMS.
  • 25. Continue… 25  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.
  • 26. Continue… 26  External Level: The user’s view of the database. This level describes that part of the database that is relevant to each user.  Conceptual Level: The community view of the database. This level describes what data is stored in the database and the relationship among the data.  Internal/ Physical Level: The physical representation of the database on the computer. This level describes how the data is stored in the database.
  • 28. Continue… • The overall Description/Skeleton structure of the database is called the database schema. • At the highest level, we have multiple external schemas (also called subschemas) that correspond to different views of the data. • At the conceptual level, we have the conceptual schema, which describes all the entities, attributes, and relationships together with integrity constraints. • At the lowest level, we have the internal schema, which is a complete description of the internal model, containing the definitions of stored records, the methods of representation, the data fields, and the indexes and storage structures used. There is only one conceptual schema and one internal schema per database. 28
  • 30. Continue… • 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:- • Each user should be able to access the same data, but have a different customized view of the data. • Users should not have to deal directly with physical database storage details. 30
  • 31. Continue.. 31 • The internal structure of the database should be unaffected by changes to the physical aspects of storage, such as the changeover to a new storage device. • The Database Administrator (DBA) should be able to change the conceptual and database storage structures without affecting the users’ views.
  • 32. Continue… 32  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.  . There are two kinds of data independence: - 1. Logical Data Independence. 2. Physical Data Independence
  • 34. Continue… 34  Logical Data Independence: Changes to the conceptual schema, such as the addition or removal of new entities, attributes, or relationships, should be possible without having to change existing external schemas or having to rewrite application programs. Clearly, the users for whom the changes have been made need to be aware of them, but what is important is that other users should not be.
  • 35. Continue… 35  Physical Data Independence: Changes to the internal schema, such as using different file storage structures, using different storage devices should be possible without having to change the conceptual or external schemas.
  • 36. Summary of Lecture  System Development Life Cycle (SDLC)  Database Development Process (DDP)  The Three-Level ANSI-SPARC Architecture 36

Editor's Notes

  • #24: SPARC (Scalable Processor Architecture) is a 32- and 64-bit microprocessor architecture from Sun Microsystems that is based on reduced instruction set computing (RISC). SPARC has become a widely-used architecture for hardware used with UNIX-based operating systems, including Sun's own Solaris systems.