SlideShare a Scribd company logo
1 of 37
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

What's hot

Logical design vs physical design
Logical design vs physical designLogical design vs physical design
Logical design vs physical designMd. Mahedi Mahfuj
 
Chapter16 designing distributed and internet systems
Chapter16 designing distributed and internet systemsChapter16 designing distributed and internet systems
Chapter16 designing distributed and internet systemsDhani Ahmad
 
Dbms interview questions s.pdf
Dbms interview questions s.pdfDbms interview questions s.pdf
Dbms interview questions s.pdfShivani139202
 
Assignment of database
Assignment of databaseAssignment of database
Assignment of databasera na
 
Database Development Strategies
Database Development StrategiesDatabase Development Strategies
Database Development StrategiesProf. Erwin Globio
 
PRESS MANAGEMENT Documentation
PRESS MANAGEMENT DocumentationPRESS MANAGEMENT Documentation
PRESS MANAGEMENT Documentationanuj_rakheja
 
Structure of dbms
Structure of dbmsStructure of dbms
Structure of dbmsMegha yadav
 
Chapter08 structuring system requirements
Chapter08 structuring system requirementsChapter08 structuring system requirements
Chapter08 structuring system requirementsDhani Ahmad
 
INTRODUCTION TO RDBMS
INTRODUCTION TO RDBMSINTRODUCTION TO RDBMS
INTRODUCTION TO RDBMSVidhya Balan
 
Mi0034 database management systems
Mi0034  database management systemsMi0034  database management systems
Mi0034 database management systemssmumbahelp
 
Database management system (dbms)
Database management system (dbms)Database management system (dbms)
Database management system (dbms)Md. Sumon Fakir
 
Mi0034 –database management systems
Mi0034 –database management systemsMi0034 –database management systems
Mi0034 –database management systemssmumbahelp
 
Library management sytem
Library management sytemLibrary management sytem
Library management sytemashu6
 
library management system in SQL
library management system in SQLlibrary management system in SQL
library management system in SQLfarouq umar
 

What's hot (19)

Logical design vs physical design
Logical design vs physical designLogical design vs physical design
Logical design vs physical design
 
DESIGN OF A COMPUTER SYSTEM FOR AN INFORMATION SYSTEM
DESIGN OF A COMPUTER SYSTEM FOR AN INFORMATION SYSTEMDESIGN OF A COMPUTER SYSTEM FOR AN INFORMATION SYSTEM
DESIGN OF A COMPUTER SYSTEM FOR AN INFORMATION SYSTEM
 
Project report
Project reportProject report
Project report
 
Chapter16 designing distributed and internet systems
Chapter16 designing distributed and internet systemsChapter16 designing distributed and internet systems
Chapter16 designing distributed and internet systems
 
Dbms interview questions s.pdf
Dbms interview questions s.pdfDbms interview questions s.pdf
Dbms interview questions s.pdf
 
Assignment of database
Assignment of databaseAssignment of database
Assignment of database
 
Dbms
DbmsDbms
Dbms
 
ans3ed-oddonly.pdf
ans3ed-oddonly.pdfans3ed-oddonly.pdf
ans3ed-oddonly.pdf
 
Database Development Strategies
Database Development StrategiesDatabase Development Strategies
Database Development Strategies
 
PRESS MANAGEMENT Documentation
PRESS MANAGEMENT DocumentationPRESS MANAGEMENT Documentation
PRESS MANAGEMENT Documentation
 
Structure of dbms
Structure of dbmsStructure of dbms
Structure of dbms
 
Document
DocumentDocument
Document
 
Chapter08 structuring system requirements
Chapter08 structuring system requirementsChapter08 structuring system requirements
Chapter08 structuring system requirements
 
INTRODUCTION TO RDBMS
INTRODUCTION TO RDBMSINTRODUCTION TO RDBMS
INTRODUCTION TO RDBMS
 
Mi0034 database management systems
Mi0034  database management systemsMi0034  database management systems
Mi0034 database management systems
 
Database management system (dbms)
Database management system (dbms)Database management system (dbms)
Database management system (dbms)
 
Mi0034 –database management systems
Mi0034 –database management systemsMi0034 –database management systems
Mi0034 –database management systems
 
Library management sytem
Library management sytemLibrary management sytem
Library management sytem
 
library management system in SQL
library management system in SQLlibrary management system in SQL
library management system in SQL
 

Similar to Db lecture 2

Week 7 Database Development Process
Week 7 Database Development ProcessWeek 7 Database Development Process
Week 7 Database Development Processoudesign
 
CP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementCP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementflyinimohamed
 
Chapter2databaseenvironment 120307033742-phpapp01
Chapter2databaseenvironment 120307033742-phpapp01Chapter2databaseenvironment 120307033742-phpapp01
Chapter2databaseenvironment 120307033742-phpapp01Ankit Dubey
 
Analyzing Systems Using Data Flow Diagrams
Analyzing Systems Using Data Flow DiagramsAnalyzing Systems Using Data Flow Diagrams
Analyzing Systems Using Data Flow DiagramsChristina Valadez
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptxSreenivas R
 
Structure system analysis and design method -SSADM
Structure system analysis and design method -SSADMStructure system analysis and design method -SSADM
Structure system analysis and design method -SSADMFLYMAN TECHNOLOGY LIMITED
 
Journal of Physics Conference SeriesPAPER • OPEN ACCESS.docx
Journal of Physics Conference SeriesPAPER • OPEN ACCESS.docxJournal of Physics Conference SeriesPAPER • OPEN ACCESS.docx
Journal of Physics Conference SeriesPAPER • OPEN ACCESS.docxLaticiaGrissomzz
 
A N S I S P A R C Architecture
A N S I  S P A R C  ArchitectureA N S I  S P A R C  Architecture
A N S I S P A R C ArchitectureSabeeh Ahmed
 
Database development life cycle
Database development life cycleDatabase development life cycle
Database development life cycleAfrasiyab Haider
 
Advance database system (part 2)
Advance database system (part 2)Advance database system (part 2)
Advance database system (part 2)Abdullah Khosa
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptxdhanajimirajkar1
 
1 introduction
1 introduction1 introduction
1 introductionUtkarsh De
 
Fundamentals of database system - Database System Concepts and Architecture
Fundamentals of database system - Database System Concepts and ArchitectureFundamentals of database system - Database System Concepts and Architecture
Fundamentals of database system - Database System Concepts and ArchitectureMustafa Kamel Mohammadi
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteRaj vardhan
 
Structure of this ChapterIn Section 11.1Section 11.docx
Structure of this ChapterIn Section 11.1Section 11.docxStructure of this ChapterIn Section 11.1Section 11.docx
Structure of this ChapterIn Section 11.1Section 11.docxflorriezhamphrey3065
 
Database design process
Database design processDatabase design process
Database design processTayyab Hameed
 

Similar to Db lecture 2 (20)

Week 7 Database Development Process
Week 7 Database Development ProcessWeek 7 Database Development Process
Week 7 Database Development Process
 
CP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementCP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implement
 
unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
 
Chapter2databaseenvironment 120307033742-phpapp01
Chapter2databaseenvironment 120307033742-phpapp01Chapter2databaseenvironment 120307033742-phpapp01
Chapter2databaseenvironment 120307033742-phpapp01
 
Analyzing Systems Using Data Flow Diagrams
Analyzing Systems Using Data Flow DiagramsAnalyzing Systems Using Data Flow Diagrams
Analyzing Systems Using Data Flow Diagrams
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
 
Structure system analysis and design method -SSADM
Structure system analysis and design method -SSADMStructure system analysis and design method -SSADM
Structure system analysis and design method -SSADM
 
Journal of Physics Conference SeriesPAPER • OPEN ACCESS.docx
Journal of Physics Conference SeriesPAPER • OPEN ACCESS.docxJournal of Physics Conference SeriesPAPER • OPEN ACCESS.docx
Journal of Physics Conference SeriesPAPER • OPEN ACCESS.docx
 
Ems
EmsEms
Ems
 
A N S I S P A R C Architecture
A N S I  S P A R C  ArchitectureA N S I  S P A R C  Architecture
A N S I S P A R C Architecture
 
Database development life cycle
Database development life cycleDatabase development life cycle
Database development life cycle
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Advance database system (part 2)
Advance database system (part 2)Advance database system (part 2)
Advance database system (part 2)
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptx
 
1 introduction
1 introduction1 introduction
1 introduction
 
Fundamentals of database system - Database System Concepts and Architecture
Fundamentals of database system - Database System Concepts and ArchitectureFundamentals of database system - Database System Concepts and Architecture
Fundamentals of database system - Database System Concepts and Architecture
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
 
Structure of this ChapterIn Section 11.1Section 11.docx
Structure of this ChapterIn Section 11.1Section 11.docxStructure of this ChapterIn Section 11.1Section 11.docx
Structure of this ChapterIn Section 11.1Section 11.docx
 
Database design process
Database design processDatabase design process
Database design process
 

Recently uploaded

Dubai Call Girls Naija O525547819 Call Girls In Dubai Home Made
Dubai Call Girls Naija O525547819 Call Girls In Dubai Home MadeDubai Call Girls Naija O525547819 Call Girls In Dubai Home Made
Dubai Call Girls Naija O525547819 Call Girls In Dubai Home Madekojalkojal131
 
VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...
VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...
VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...Suhani Kapoor
 
加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位
加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位
加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位obuhobo
 
PM Job Search Council Info Session - PMI Silver Spring Chapter
PM Job Search Council Info Session - PMI Silver Spring ChapterPM Job Search Council Info Session - PMI Silver Spring Chapter
PM Job Search Council Info Session - PMI Silver Spring ChapterHector Del Castillo, CPM, CPMM
 
VIP Russian Call Girls in Bhilai Deepika 8250192130 Independent Escort Servic...
VIP Russian Call Girls in Bhilai Deepika 8250192130 Independent Escort Servic...VIP Russian Call Girls in Bhilai Deepika 8250192130 Independent Escort Servic...
VIP Russian Call Girls in Bhilai Deepika 8250192130 Independent Escort Servic...Suhani Kapoor
 
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一A SSS
 
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service CuttackVIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service CuttackSuhani Kapoor
 
Gray Gold Clean CV Resume2024tod (1).pdf
Gray Gold Clean CV Resume2024tod (1).pdfGray Gold Clean CV Resume2024tod (1).pdf
Gray Gold Clean CV Resume2024tod (1).pdfpadillaangelina0023
 
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一A SSS
 
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一2s3dgmej
 
Black and White Minimalist Co Letter.pdf
Black and White Minimalist Co Letter.pdfBlack and White Minimalist Co Letter.pdf
Black and White Minimalist Co Letter.pdfpadillaangelina0023
 
VIP Call Girl Bhilai Aashi 8250192130 Independent Escort Service Bhilai
VIP Call Girl Bhilai Aashi 8250192130 Independent Escort Service BhilaiVIP Call Girl Bhilai Aashi 8250192130 Independent Escort Service Bhilai
VIP Call Girl Bhilai Aashi 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...
(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...
(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...gurkirankumar98700
 
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样umasea
 
定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一
定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一
定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一lvtagr7
 
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)obuhobo
 
VIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service Cuttack
VIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service CuttackVIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service Cuttack
VIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service CuttackSuhani Kapoor
 
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...Suhani Kapoor
 
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一F La
 

Recently uploaded (20)

Dubai Call Girls Naija O525547819 Call Girls In Dubai Home Made
Dubai Call Girls Naija O525547819 Call Girls In Dubai Home MadeDubai Call Girls Naija O525547819 Call Girls In Dubai Home Made
Dubai Call Girls Naija O525547819 Call Girls In Dubai Home Made
 
VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...
VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...
VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...
 
加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位
加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位
加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位
 
PM Job Search Council Info Session - PMI Silver Spring Chapter
PM Job Search Council Info Session - PMI Silver Spring ChapterPM Job Search Council Info Session - PMI Silver Spring Chapter
PM Job Search Council Info Session - PMI Silver Spring Chapter
 
Call Girls In Prashant Vihar꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCe
Call Girls In Prashant Vihar꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCeCall Girls In Prashant Vihar꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCe
Call Girls In Prashant Vihar꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCe
 
VIP Russian Call Girls in Bhilai Deepika 8250192130 Independent Escort Servic...
VIP Russian Call Girls in Bhilai Deepika 8250192130 Independent Escort Servic...VIP Russian Call Girls in Bhilai Deepika 8250192130 Independent Escort Servic...
VIP Russian Call Girls in Bhilai Deepika 8250192130 Independent Escort Servic...
 
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
 
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service CuttackVIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
 
Gray Gold Clean CV Resume2024tod (1).pdf
Gray Gold Clean CV Resume2024tod (1).pdfGray Gold Clean CV Resume2024tod (1).pdf
Gray Gold Clean CV Resume2024tod (1).pdf
 
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
 
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
 
Black and White Minimalist Co Letter.pdf
Black and White Minimalist Co Letter.pdfBlack and White Minimalist Co Letter.pdf
Black and White Minimalist Co Letter.pdf
 
VIP Call Girl Bhilai Aashi 8250192130 Independent Escort Service Bhilai
VIP Call Girl Bhilai Aashi 8250192130 Independent Escort Service BhilaiVIP Call Girl Bhilai Aashi 8250192130 Independent Escort Service Bhilai
VIP Call Girl Bhilai Aashi 8250192130 Independent Escort Service Bhilai
 
(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...
(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...
(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...
 
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
 
定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一
定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一
定制(UQ毕业证书)澳洲昆士兰大学毕业证成绩单原版一比一
 
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
 
VIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service Cuttack
VIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service CuttackVIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service Cuttack
VIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service Cuttack
 
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
 
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
 

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

  1. 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.