SlideShare a Scribd company logo
Chapter 1
Database Systems
•Logically related data stored in a single logical
data repository
• Physically distributed among multiple storage facilities
• DBMS eliminates most of file system’s problems
•Current generation DBMS software:
• Stores data structures, relationships between structures, and
access paths
• Defines, stores, and manages all access paths and
components
2
DATABASE SYSTEMS
3
CONTRASTING DATABASE AND FILE SYSTEMS
4
THE DATABASE SYSTEM ENVIRONMENT
5
DBMS FUNCTIONS
Data dictionary management
• Data dictionary: Stores definitions of the data elements and their relationships
Data storage management
• Performance tuning: Ensures efficient performance of the database in terms of
storage and access speed
Data transformation and presentation
• Transforms entered data to conform to required data structures
Security management
• Enforces user security and data privacy
6
DBMS FUNCTIONS
Multiuser access control
• Sophisticated algorithms ensure that multiple users can access the
database concurrently without compromising its integrity
Backup and recovery management
• Enables recovery of the database after a failure
Data integrity management
• Minimizes redundancy and maximizes consistency
7
DBMS FUNCTIONS
Database access languages and application programming
interfaces
• Query language: Lets the user specify what must be done without having to
specify how
• Structured Query Language (SQL): De facto query language and data
access standard supported by the majority of DBMS vendors
Database communication interfaces
• Accept end-user requests via multiple, different network
environments
•SDLC
• System Development Life Cycle
• Detailed, well-planned development process
• Time-consuming, but comprehensive
• Long development cycle
•Prototyping
• Rapid application development (RAD)
• Cursory attempt at conceptual data modeling
• Define database during development of initial prototype
• Repeat implementation and maintenance activities with new
prototype versions
TWO APPROACHES TO DATABASE AND IS DEVELOPMENT
SYSTEMS DEVELOPMENT LIFE CYCLE
Planning
Analysis
Physical Design
Implementation
Maintenance
Logical Design
SYSTEMS DEVELOPMENT LIFE CYCLE (CONT.)
Planning
Analysis
Physical Design
Implementation
Maintenance
Logical Design
Planning Purpose–preliminary understanding
Deliverable–request for study
Database activity–
enterprise modeling and
early conceptual data
modeling
SYSTEMS DEVELOPMENT LIFE CYCLE (CONT.)
Planning
Analysis
Physical Design
Implementation
Maintenance
Logical Design
Analysis
Purpose–thorough requirements analysis and
structuring
Deliverable–functional system specifications
Database activity–thorough
and integrated conceptual
data modeling
SYSTEMS DEVELOPMENT LIFE CYCLE (CONT.)
Planning
Analysis
Physical Design
Implementation
Maintenance
Logical Design
Logical Design
Purpose–information requirements elicitation
and structure
Deliverable–detailed design specifications
Database activity–
logical database design
(transactions, forms,
displays, views, data
integrity and security)
SYSTEMS DEVELOPMENT LIFE CYCLE (CONT.)
Planning
Analysis
Physical Design
Implementation
Maintenance
Logical Design
Physical Design
Purpose–develop technology and
organizational specifications
Deliverable–program/data
structures, technology purchases,
organization redesigns
Database activity–
physical database design (define
database to DBMS, physical
data organization, database
processing programs)
SYSTEMS DEVELOPMENT LIFE CYCLE (CONT.)
Planning
Analysis
Physical Design
Implementation
Maintenance
Logical Design
Implementation
Purpose–programming, testing,
training, installation, documenting
Deliverable–operational programs,
documentation, training materials
Database activity–
database implementation,
including coded programs,
documentation,
installation and conversion
SYSTEMS DEVELOPMENT LIFE CYCLE (CONT.)
Planning
Analysis
Physical Design
Implementation
Maintenance
Logical Design
Maintenance
Purpose–monitor, repair, enhance
Deliverable–periodic audits
Database activity–
database maintenance,
performance analysis
and tuning, error
corrections
PROTOTYPING DATABASE METHODOLOGY
PROTOTYPING DATABASE METHODOLOGY
PROTOTYPING DATABASE METHODOLOGY
PROTOTYPING DATABASE METHODOLOGY
PROTOTYPING DATABASE METHODOLOGY
THE THREE SCHEMA ARCHITECTURE
•End users’ view of the data environment
•ER diagrams represent external views
•External schema: specific representation of an
external view
• Entities
• Relationships
• Processes
• Constraints
THE EXTERNAL MODEL
•External Schema/external view
• User Views
• Subsets of Conceptual Schema
• Can be determined from business-function/data entity
matrices
• DBA determines schema for different users.
• Describe the specific part, that the specific user group
is interested in and hides rest of the database, for the
user group.
• Has different external views for different users.
DATABASE SCHEMA
•Conceptual Schema
• Describe the structure of the whole database for a
community of users.
• Hide the details of physical storage structures and
concentrates on describing entities, data types,
relationships, user operations, and constraints
• E-R models
DATABASE SCHEMA
•Internal Schema
• Describes the physical storage of structure of the
database.
• Uses a physical data model to describe the complete
details of data storage and access paths for the
database.
• Physical structures
• Logical structures
DATABASE SCHEMA
DATA ABSTRACTION LEVELS
•Easy to identify specific data required to support
each business unit’s operations
•Facilitates designer’s job by providing feedback
about the model’s adequacy
•Ensures security constraints in database design
•Simplifies application program development
THE EXTERNAL MODEL (CONT’D.)
•Represents global view of the entire database
•All external views integrated into single global
view: conceptual schema
•ER model most widely used
•ERD graphically represents the conceptual schema
THE CONCEPTUAL MODEL
CONCEPTUAL MODEL SCHOOL
•Provides a relatively easily understood macro level
view of data environment
•Independent of both software and hardware
• Does not depend on the DBMS software used to
implement the model
• Does not depend on the hardware used in the
implementation of the model
• Changes in hardware or software do not affect
database design at the conceptual level
THE CONCEPTUAL MODEL (CONT’D.)
•Representation of the database as “seen” by the
DBMS
• Maps the conceptual model to the DBMS
•Internal schema depicts a specific representation of an
internal model
•Depends on specific database software
• Change in DBMS software requires internal model be
changed
•Logical independence: change internal model without
affecting conceptual model
THE INTERNAL MODEL
INTERNAL MODEL FOR SCHOOL
•Operates at lowest level of abstraction
• Describes the way data are saved on storage media
such as disks or tapes
•Requires the definition of physical storage and
data access methods
•Relational model aimed at logical level
• Does not require physical-level details
•Physical independence: changes in physical model
do not affect internal model
THE PHYSICAL MODEL
DATABASE CAREER OPPORTUNITIES
35
•Coronel, Morris, Database Systems Design,
Implementation and Management. 11th Edition
•Hoffer, J., Ramesh, V., Topi, H. (2013). Modern
Database Management 11th Edition, Prentice Hall.
REFERENCE
“
”
IF YOU CANNOT DO GREAT
THINGS, DO SMALL THINGS IN
A GREAT WAY.
Napoleon Hill
THANKS!
Any questions?
You can find me at
delfirome@yahoo.com
0929 804 2327
38

More Related Content

Similar to 02 - DatabaseConcepts.pdf

DATABASE MANAGEMENT SYSTEM ARCHITECTURE
DATABASE    MANAGEMENT SYSTEM	 ARCHITECTUREDATABASE    MANAGEMENT SYSTEM	 ARCHITECTURE
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
DeepakM509554
 
DBMS introduction and functionality of of dbms
DBMS introduction and functionality of  of dbmsDBMS introduction and functionality of  of dbms
DBMS introduction and functionality of of dbms
ranjana dalwani
 
Chapter 1
Chapter 1Chapter 1
CC105-REVIEWER-WEEK2-4.docx
CC105-REVIEWER-WEEK2-4.docxCC105-REVIEWER-WEEK2-4.docx
CC105-REVIEWER-WEEK2-4.docx
ozaixyzo
 
Database administration
Database administrationDatabase administration
Database administration
Anish Gupta
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
ITNet
 
Dbms unit 1
Dbms unit 1Dbms unit 1
Dbms unit 1
SaiGupta18
 
Week 2 - Database System Development Lifecycle-old.pptx
Week 2 - Database System Development Lifecycle-old.pptxWeek 2 - Database System Development Lifecycle-old.pptx
Week 2 - Database System Development Lifecycle-old.pptx
NurulIzrin
 
DataBase Management systems (IM).pptx
DataBase Management systems (IM).pptxDataBase Management systems (IM).pptx
DataBase Management systems (IM).pptx
GooglePay16
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
Mukund Trivedi
 
Ch 2-introduction to dbms
Ch 2-introduction to dbmsCh 2-introduction to dbms
Ch 2-introduction to dbms
Rupali Rana
 
(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)
Dr. Mazin Mohamed alkathiri
 
Unit 3 3 architectural design
Unit 3 3 architectural designUnit 3 3 architectural design
Unit 3 3 architectural design
Hiren Selani
 
unit 1.pdf
unit 1.pdfunit 1.pdf
Relational
RelationalRelational
Relational
dieover
 
Dbms Useful PPT
Dbms Useful PPTDbms Useful PPT
Dbms Useful PPT
Krishna Bashyal
 
Architecture design in software engineering
Architecture design in software engineeringArchitecture design in software engineering
Architecture design in software engineering
Preeti Mishra
 
Dbms models
Dbms modelsDbms models
Dbms models
devgocool
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptx
dhanajimirajkar1
 
PPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptxPPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptx
UbaidURRahman78
 

Similar to 02 - DatabaseConcepts.pdf (20)

DATABASE MANAGEMENT SYSTEM ARCHITECTURE
DATABASE    MANAGEMENT SYSTEM	 ARCHITECTUREDATABASE    MANAGEMENT SYSTEM	 ARCHITECTURE
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
 
DBMS introduction and functionality of of dbms
DBMS introduction and functionality of  of dbmsDBMS introduction and functionality of  of dbms
DBMS introduction and functionality of of dbms
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
CC105-REVIEWER-WEEK2-4.docx
CC105-REVIEWER-WEEK2-4.docxCC105-REVIEWER-WEEK2-4.docx
CC105-REVIEWER-WEEK2-4.docx
 
Database administration
Database administrationDatabase administration
Database administration
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
 
Dbms unit 1
Dbms unit 1Dbms unit 1
Dbms unit 1
 
Week 2 - Database System Development Lifecycle-old.pptx
Week 2 - Database System Development Lifecycle-old.pptxWeek 2 - Database System Development Lifecycle-old.pptx
Week 2 - Database System Development Lifecycle-old.pptx
 
DataBase Management systems (IM).pptx
DataBase Management systems (IM).pptxDataBase Management systems (IM).pptx
DataBase Management systems (IM).pptx
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
 
Ch 2-introduction to dbms
Ch 2-introduction to dbmsCh 2-introduction to dbms
Ch 2-introduction to dbms
 
(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)
 
Unit 3 3 architectural design
Unit 3 3 architectural designUnit 3 3 architectural design
Unit 3 3 architectural design
 
unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
 
Relational
RelationalRelational
Relational
 
Dbms Useful PPT
Dbms Useful PPTDbms Useful PPT
Dbms Useful PPT
 
Architecture design in software engineering
Architecture design in software engineeringArchitecture design in software engineering
Architecture design in software engineering
 
Dbms models
Dbms modelsDbms models
Dbms models
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptx
 
PPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptxPPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptx
 

Recently uploaded

Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Kiwi Creative
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
Márton Kodok
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
apvysm8
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
Timothy Spann
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
v7oacc3l
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
Sachin Paul
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
xclpvhuk
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
nuttdpt
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
slg6lamcq
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Kaxil Naik
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
writing report business partner b1+ .pdf
writing report business partner b1+ .pdfwriting report business partner b1+ .pdf
writing report business partner b1+ .pdf
VyNguyen709676
 
一比一原版(CU毕业证)卡尔顿大学毕业证如何办理
一比一原版(CU毕业证)卡尔顿大学毕业证如何办理一比一原版(CU毕业证)卡尔顿大学毕业证如何办理
一比一原版(CU毕业证)卡尔顿大学毕业证如何办理
bmucuha
 
Monthly Management report for the Month of May 2024
Monthly Management report for the Month of May 2024Monthly Management report for the Month of May 2024
Monthly Management report for the Month of May 2024
facilitymanager11
 
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
a9qfiubqu
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
nyfuhyz
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
hyfjgavov
 
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
y3i0qsdzb
 

Recently uploaded (20)

Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
writing report business partner b1+ .pdf
writing report business partner b1+ .pdfwriting report business partner b1+ .pdf
writing report business partner b1+ .pdf
 
一比一原版(CU毕业证)卡尔顿大学毕业证如何办理
一比一原版(CU毕业证)卡尔顿大学毕业证如何办理一比一原版(CU毕业证)卡尔顿大学毕业证如何办理
一比一原版(CU毕业证)卡尔顿大学毕业证如何办理
 
Monthly Management report for the Month of May 2024
Monthly Management report for the Month of May 2024Monthly Management report for the Month of May 2024
Monthly Management report for the Month of May 2024
 
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
 
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
 

02 - DatabaseConcepts.pdf

  • 2. •Logically related data stored in a single logical data repository • Physically distributed among multiple storage facilities • DBMS eliminates most of file system’s problems •Current generation DBMS software: • Stores data structures, relationships between structures, and access paths • Defines, stores, and manages all access paths and components 2 DATABASE SYSTEMS
  • 4. 4 THE DATABASE SYSTEM ENVIRONMENT
  • 5. 5 DBMS FUNCTIONS Data dictionary management • Data dictionary: Stores definitions of the data elements and their relationships Data storage management • Performance tuning: Ensures efficient performance of the database in terms of storage and access speed Data transformation and presentation • Transforms entered data to conform to required data structures Security management • Enforces user security and data privacy
  • 6. 6 DBMS FUNCTIONS Multiuser access control • Sophisticated algorithms ensure that multiple users can access the database concurrently without compromising its integrity Backup and recovery management • Enables recovery of the database after a failure Data integrity management • Minimizes redundancy and maximizes consistency
  • 7. 7 DBMS FUNCTIONS Database access languages and application programming interfaces • Query language: Lets the user specify what must be done without having to specify how • Structured Query Language (SQL): De facto query language and data access standard supported by the majority of DBMS vendors Database communication interfaces • Accept end-user requests via multiple, different network environments
  • 8. •SDLC • System Development Life Cycle • Detailed, well-planned development process • Time-consuming, but comprehensive • Long development cycle •Prototyping • Rapid application development (RAD) • Cursory attempt at conceptual data modeling • Define database during development of initial prototype • Repeat implementation and maintenance activities with new prototype versions TWO APPROACHES TO DATABASE AND IS DEVELOPMENT
  • 9. SYSTEMS DEVELOPMENT LIFE CYCLE Planning Analysis Physical Design Implementation Maintenance Logical Design
  • 10. SYSTEMS DEVELOPMENT LIFE CYCLE (CONT.) Planning Analysis Physical Design Implementation Maintenance Logical Design Planning Purpose–preliminary understanding Deliverable–request for study Database activity– enterprise modeling and early conceptual data modeling
  • 11. SYSTEMS DEVELOPMENT LIFE CYCLE (CONT.) Planning Analysis Physical Design Implementation Maintenance Logical Design Analysis Purpose–thorough requirements analysis and structuring Deliverable–functional system specifications Database activity–thorough and integrated conceptual data modeling
  • 12. SYSTEMS DEVELOPMENT LIFE CYCLE (CONT.) Planning Analysis Physical Design Implementation Maintenance Logical Design Logical Design Purpose–information requirements elicitation and structure Deliverable–detailed design specifications Database activity– logical database design (transactions, forms, displays, views, data integrity and security)
  • 13. SYSTEMS DEVELOPMENT LIFE CYCLE (CONT.) Planning Analysis Physical Design Implementation Maintenance Logical Design Physical Design Purpose–develop technology and organizational specifications Deliverable–program/data structures, technology purchases, organization redesigns Database activity– physical database design (define database to DBMS, physical data organization, database processing programs)
  • 14. SYSTEMS DEVELOPMENT LIFE CYCLE (CONT.) Planning Analysis Physical Design Implementation Maintenance Logical Design Implementation Purpose–programming, testing, training, installation, documenting Deliverable–operational programs, documentation, training materials Database activity– database implementation, including coded programs, documentation, installation and conversion
  • 15. SYSTEMS DEVELOPMENT LIFE CYCLE (CONT.) Planning Analysis Physical Design Implementation Maintenance Logical Design Maintenance Purpose–monitor, repair, enhance Deliverable–periodic audits Database activity– database maintenance, performance analysis and tuning, error corrections
  • 21. THE THREE SCHEMA ARCHITECTURE
  • 22. •End users’ view of the data environment •ER diagrams represent external views •External schema: specific representation of an external view • Entities • Relationships • Processes • Constraints THE EXTERNAL MODEL
  • 23. •External Schema/external view • User Views • Subsets of Conceptual Schema • Can be determined from business-function/data entity matrices • DBA determines schema for different users. • Describe the specific part, that the specific user group is interested in and hides rest of the database, for the user group. • Has different external views for different users. DATABASE SCHEMA
  • 24. •Conceptual Schema • Describe the structure of the whole database for a community of users. • Hide the details of physical storage structures and concentrates on describing entities, data types, relationships, user operations, and constraints • E-R models DATABASE SCHEMA
  • 25. •Internal Schema • Describes the physical storage of structure of the database. • Uses a physical data model to describe the complete details of data storage and access paths for the database. • Physical structures • Logical structures DATABASE SCHEMA
  • 26.
  • 28. •Easy to identify specific data required to support each business unit’s operations •Facilitates designer’s job by providing feedback about the model’s adequacy •Ensures security constraints in database design •Simplifies application program development THE EXTERNAL MODEL (CONT’D.)
  • 29. •Represents global view of the entire database •All external views integrated into single global view: conceptual schema •ER model most widely used •ERD graphically represents the conceptual schema THE CONCEPTUAL MODEL
  • 31. •Provides a relatively easily understood macro level view of data environment •Independent of both software and hardware • Does not depend on the DBMS software used to implement the model • Does not depend on the hardware used in the implementation of the model • Changes in hardware or software do not affect database design at the conceptual level THE CONCEPTUAL MODEL (CONT’D.)
  • 32. •Representation of the database as “seen” by the DBMS • Maps the conceptual model to the DBMS •Internal schema depicts a specific representation of an internal model •Depends on specific database software • Change in DBMS software requires internal model be changed •Logical independence: change internal model without affecting conceptual model THE INTERNAL MODEL
  • 34. •Operates at lowest level of abstraction • Describes the way data are saved on storage media such as disks or tapes •Requires the definition of physical storage and data access methods •Relational model aimed at logical level • Does not require physical-level details •Physical independence: changes in physical model do not affect internal model THE PHYSICAL MODEL
  • 36. •Coronel, Morris, Database Systems Design, Implementation and Management. 11th Edition •Hoffer, J., Ramesh, V., Topi, H. (2013). Modern Database Management 11th Edition, Prentice Hall. REFERENCE
  • 37. “ ” IF YOU CANNOT DO GREAT THINGS, DO SMALL THINGS IN A GREAT WAY. Napoleon Hill
  • 38. THANKS! Any questions? You can find me at delfirome@yahoo.com 0929 804 2327 38