SlideShare a Scribd company logo
1 of 19
07/10/2023
Database Design, UML and
(Extended) Entity
Relationship Modeling
sli
de
1
07/10/2023
In this Section…
 Topics Covered
 Database Design
Considerations
 UML and Database
Design
 ER Design and UML
 Related Topics
 ER Design
 Lectures 4 and 5
slide
2
07/10/2023
Design Considerations
slide
3
07/10/2023
Conceptual Design includes Operational Use
slide
4
Mini World
Requirements collection & analysis
Conceptual design
Data model design
Physical design
Database requirements
Conceptual
schema (in a high level data model)
Conceptual schema
(in the data model of a specific DBMS
Internal schema
(for the same DBMS)
DBMS
Independent
DBMS
specific
Data Definition Language Statements
Processing Requirements
Transaction Design
DBMS independent
Transaction Implementation
07/10/2023
Database Application Life Cycle
slide
5
System Definition
Design
Implementation
Loading/Data Conversion
Application Conversion
Testing & Validation
Operation
Monitoring & Maintenance
07/10/2023
Data model requirements
 Expressive
 Simple
 Minimal
 small number of basic concepts
that are distinct and non-
overlapping in meaning
 Diagrammatic
 Formal
 accurate & unambiguous
 CONFLICTING
REQUIREMENTS
Conceptual design
 Complete understanding
of database structure,
semantics, constraints,
relationships etc
 DBMS independent
 Stable description
 Database users and
application users views;
aids their understanding
 Communication with users
slide
6
Conceptual design & Data model requirements
07/10/2023
Transaction Design
 Known transactions (applications) that will run on the
database
 Database schema must include all information required
by transactions
 Relative importance of transactions and expected rates
of invocation important for performance tuning
Identify input/output & functional behaviour: 3 categories
 1. Retrieval display/reports
2. Update insert new data/modify old
3. Mixed
 Transactions can be used to encapsulate integrity
constraints
slide
7
07/10/2023
Transaction Design
 High level process specification technique
data flow diagrams, process modelling etc
 Detailed design using programming
techniques for loops, if statements etc
 Detailed design using set database
operations
 Eight basic operations for updates on EER
schema
 insert entity, modify, delete entity
 add, modify, remove relationship
 add and remove from class
 add and remove class
slide
8
07/10/2023
Transaction environment
 Pre-defined canned transactions
 A free-for-all using SQL directly
 Chiefly On-Line Transaction Processing (OLTP)
 Chiefly Management Information System (MIS)
 Multi-user or single-user
 number of concurrent users—peaks, worst case, and average
 potential conflicts—locking, timestamps
 distributed transactions
 Integrity Checks
 as updates made in transactions
 batch run transaction
slide
9
07/10/2023
On-Line Transactions
slide
10
ON-LINE
DECISION SUPPORT TRANSACTION PROCESSING
• Inquiry & Analysis • Real time Transactions
• Retrieval Intensive • Update Intensive
• Ad Hoc Queries • Pre-Defined Transactions
• Unpredictable Query
Complexity
• Transaction Throughput
• Data Integrity
• High Availability
07/10/2023
Who is Using the Database?
 Users & Ease of Use
 Who is the target end-user
for queries and/or update
transactions
 User Interfaces
 graphical
 forms-based
 SQL
 reports generated
 menu-based
 Task analysis
 Work flows
 Views
Interfaces
 people
 software
 other databases
 hardware
 organisational
processes
slide
11
07/10/2023
Housekeeping
 Backup & Archiving
 on-line or off-line backups
 size of backups
 incremental vs dump
 archiving strategy
 Security
 passwords
 permissions
 views
slide
12
07/10/2023
Operational Considerations
Scope
 complete flexibility with ‘bells and whistles’
 kernel activities
Model choice
 hierarchical / network / relational / object-oriented
/object-relational
Software/Hardware
 Which database management system ?
 Configuration: e.g Unix server and PC front-ends?
slide
13
07/10/2023
Choice of DBMS
Costs
1.Software acquisition
cost
2.Maintenance cost
3.Hardware acquisition
cost
4.Database creation &
conversion cost
5.Personnel cost
6.Training cost
7.Operating costs
 Data model depends
on:
 The structure and use
of the data
 Familiarity of the
system
 Available vendor
services
 communication software
 data entry software
 design and monitoring tools etc
slide
14
07/10/2023
UML - (E)ER
slide
15
07/10/2023
EER vs. UML Terminology
 UML Class Diagram
 Class
 Object
 Attribute
 Domain
 Structured Domain
 Operation
 Association
 Link
 Multiplicities
 EER Diagram
 Entity Type
 Entity
 Attribute
 Domain
 Composite Attribute
 ~ [Derived Attribute]
 Relationship Type
 Relationship Instance
 Cardinality &
Participation
slide
16
07/10/2023
EER Diagram Overview
slide
17
07/10/2023
EER to UML #1
slide
18
07/10/2023
EER to UML #2
slide
19

More Related Content

Similar to Database Design, UML, and ER Modeling

A relational model of data for large shared data banks
A relational model of data for large shared data banksA relational model of data for large shared data banks
A relational model of data for large shared data banksSammy Alvarez
 
t2_4-architecting-data-for-integration-and-longevity
t2_4-architecting-data-for-integration-and-longevityt2_4-architecting-data-for-integration-and-longevity
t2_4-architecting-data-for-integration-and-longevityJonathan Hamilton Solórzano
 
Introduction To Sql Services
Introduction To Sql ServicesIntroduction To Sql Services
Introduction To Sql Servicesllangit
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfparveen204931475
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
BPM und SOA machen mobil - Ein Architekturüberblick
BPM und SOA machen mobil - Ein ArchitekturüberblickBPM und SOA machen mobil - Ein Architekturüberblick
BPM und SOA machen mobil - Ein ArchitekturüberblickOPITZ CONSULTING Deutschland
 
BPM and SOA are going mobile - An architectural perspective
BPM and SOA are going mobile - An architectural perspectiveBPM and SOA are going mobile - An architectural perspective
BPM and SOA are going mobile - An architectural perspectiveOPITZ CONSULTING Deutschland
 
Configuration and Deployment Guide For Memcached on Intel® Architecture
Configuration and Deployment Guide For Memcached on Intel® ArchitectureConfiguration and Deployment Guide For Memcached on Intel® Architecture
Configuration and Deployment Guide For Memcached on Intel® ArchitectureOdinot Stanislas
 
ICS UserGroup - 2015 - Infrastructure Assessment - Analyze, Visualize and Opt...
ICS UserGroup - 2015 - Infrastructure Assessment - Analyze, Visualize and Opt...ICS UserGroup - 2015 - Infrastructure Assessment - Analyze, Visualize and Opt...
ICS UserGroup - 2015 - Infrastructure Assessment - Analyze, Visualize and Opt...Christoph Adler
 
Advanced Database Management System_Introduction Slide.ppt
Advanced Database Management System_Introduction Slide.pptAdvanced Database Management System_Introduction Slide.ppt
Advanced Database Management System_Introduction Slide.pptBikalAdhikari4
 
Data Lakehouse, Data Mesh, and Data Fabric (r2)
Data Lakehouse, Data Mesh, and Data Fabric (r2)Data Lakehouse, Data Mesh, and Data Fabric (r2)
Data Lakehouse, Data Mesh, and Data Fabric (r2)James Serra
 
Database Management system
Database Management systemDatabase Management system
Database Management systemVijay Thorat
 
Database Management Systems 2
Database Management Systems 2Database Management Systems 2
Database Management Systems 2Nickkisha Farrell
 
Unit - I DBMS.pptx
Unit - I DBMS.pptxUnit - I DBMS.pptx
Unit - I DBMS.pptxVarshini62
 
engage 2015 - - 2015 - Infrastructure Assessment - Analyze, Visualize and Op...
engage 2015 -  - 2015 - Infrastructure Assessment - Analyze, Visualize and Op...engage 2015 -  - 2015 - Infrastructure Assessment - Analyze, Visualize and Op...
engage 2015 - - 2015 - Infrastructure Assessment - Analyze, Visualize and Op...Christoph Adler
 
Database systems - Chapter 2 (Remaining)
Database systems - Chapter 2 (Remaining)Database systems - Chapter 2 (Remaining)
Database systems - Chapter 2 (Remaining)shahab3
 

Similar to Database Design, UML, and ER Modeling (20)

A relational model of data for large shared data banks
A relational model of data for large shared data banksA relational model of data for large shared data banks
A relational model of data for large shared data banks
 
t2_4-architecting-data-for-integration-and-longevity
t2_4-architecting-data-for-integration-and-longevityt2_4-architecting-data-for-integration-and-longevity
t2_4-architecting-data-for-integration-and-longevity
 
Introduction To Sql Services
Introduction To Sql ServicesIntroduction To Sql Services
Introduction To Sql Services
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
BPM und SOA machen mobil - Ein Architekturüberblick
BPM und SOA machen mobil - Ein ArchitekturüberblickBPM und SOA machen mobil - Ein Architekturüberblick
BPM und SOA machen mobil - Ein Architekturüberblick
 
BPM and SOA are going mobile - An architectural perspective
BPM and SOA are going mobile - An architectural perspectiveBPM and SOA are going mobile - An architectural perspective
BPM and SOA are going mobile - An architectural perspective
 
Configuration and Deployment Guide For Memcached on Intel® Architecture
Configuration and Deployment Guide For Memcached on Intel® ArchitectureConfiguration and Deployment Guide For Memcached on Intel® Architecture
Configuration and Deployment Guide For Memcached on Intel® Architecture
 
Database Concepts.ppt
Database Concepts.pptDatabase Concepts.ppt
Database Concepts.ppt
 
ICS UserGroup - 2015 - Infrastructure Assessment - Analyze, Visualize and Opt...
ICS UserGroup - 2015 - Infrastructure Assessment - Analyze, Visualize and Opt...ICS UserGroup - 2015 - Infrastructure Assessment - Analyze, Visualize and Opt...
ICS UserGroup - 2015 - Infrastructure Assessment - Analyze, Visualize and Opt...
 
Advanced Database Management System_Introduction Slide.ppt
Advanced Database Management System_Introduction Slide.pptAdvanced Database Management System_Introduction Slide.ppt
Advanced Database Management System_Introduction Slide.ppt
 
Erciyes university
Erciyes universityErciyes university
Erciyes university
 
Data Lakehouse, Data Mesh, and Data Fabric (r2)
Data Lakehouse, Data Mesh, and Data Fabric (r2)Data Lakehouse, Data Mesh, and Data Fabric (r2)
Data Lakehouse, Data Mesh, and Data Fabric (r2)
 
Database Management system
Database Management systemDatabase Management system
Database Management system
 
Database Management Systems 2
Database Management Systems 2Database Management Systems 2
Database Management Systems 2
 
Db lec 05_new
Db lec 05_newDb lec 05_new
Db lec 05_new
 
Unit - I DBMS.pptx
Unit - I DBMS.pptxUnit - I DBMS.pptx
Unit - I DBMS.pptx
 
Ikenstudiolive
IkenstudioliveIkenstudiolive
Ikenstudiolive
 
engage 2015 - - 2015 - Infrastructure Assessment - Analyze, Visualize and Op...
engage 2015 -  - 2015 - Infrastructure Assessment - Analyze, Visualize and Op...engage 2015 -  - 2015 - Infrastructure Assessment - Analyze, Visualize and Op...
engage 2015 - - 2015 - Infrastructure Assessment - Analyze, Visualize and Op...
 
Database systems - Chapter 2 (Remaining)
Database systems - Chapter 2 (Remaining)Database systems - Chapter 2 (Remaining)
Database systems - Chapter 2 (Remaining)
 

More from XanGwaps

MSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
MSITSytemDesignAndDesignasdsdsdsdsdsds.pptxMSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
MSITSytemDesignAndDesignasdsdsdsdsdsds.pptxXanGwaps
 
AdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptxAdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptxXanGwaps
 
C++ Inheritance.pptx
C++ Inheritance.pptxC++ Inheritance.pptx
C++ Inheritance.pptxXanGwaps
 
Chapter-OBDD.pptx
Chapter-OBDD.pptxChapter-OBDD.pptx
Chapter-OBDD.pptxXanGwaps
 
virtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptxvirtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptxXanGwaps
 
Java ConstructorsPPT.pptx
Java ConstructorsPPT.pptxJava ConstructorsPPT.pptx
Java ConstructorsPPT.pptxXanGwaps
 
AdvanceSQL.ppt
AdvanceSQL.pptAdvanceSQL.ppt
AdvanceSQL.pptXanGwaps
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxXanGwaps
 
mod5_cabling-LANsWANs-2.ppt
mod5_cabling-LANsWANs-2.pptmod5_cabling-LANsWANs-2.ppt
mod5_cabling-LANsWANs-2.pptXanGwaps
 
globodox-presentation-v14.ppsx
globodox-presentation-v14.ppsxglobodox-presentation-v14.ppsx
globodox-presentation-v14.ppsxXanGwaps
 
chapter-2.ppt
chapter-2.pptchapter-2.ppt
chapter-2.pptXanGwaps
 
Requirements Analysis.pptx
Requirements Analysis.pptxRequirements Analysis.pptx
Requirements Analysis.pptxXanGwaps
 
Java Constructors.pptx
Java Constructors.pptxJava Constructors.pptx
Java Constructors.pptxXanGwaps
 
Java Constructors.pptx
Java Constructors.pptxJava Constructors.pptx
Java Constructors.pptxXanGwaps
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxXanGwaps
 
Functions of Operating System.pptx
Functions of Operating System.pptxFunctions of Operating System.pptx
Functions of Operating System.pptxXanGwaps
 
HCI 1 Module 2.pptx
HCI 1 Module 2.pptxHCI 1 Module 2.pptx
HCI 1 Module 2.pptxXanGwaps
 
The virtual box.pptx
The virtual box.pptxThe virtual box.pptx
The virtual box.pptxXanGwaps
 
Presentation (10).pptx
Presentation (10).pptxPresentation (10).pptx
Presentation (10).pptxXanGwaps
 
Presentation (4).pptx
Presentation (4).pptxPresentation (4).pptx
Presentation (4).pptxXanGwaps
 

More from XanGwaps (20)

MSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
MSITSytemDesignAndDesignasdsdsdsdsdsds.pptxMSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
MSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
 
AdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptxAdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptx
 
C++ Inheritance.pptx
C++ Inheritance.pptxC++ Inheritance.pptx
C++ Inheritance.pptx
 
Chapter-OBDD.pptx
Chapter-OBDD.pptxChapter-OBDD.pptx
Chapter-OBDD.pptx
 
virtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptxvirtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptx
 
Java ConstructorsPPT.pptx
Java ConstructorsPPT.pptxJava ConstructorsPPT.pptx
Java ConstructorsPPT.pptx
 
AdvanceSQL.ppt
AdvanceSQL.pptAdvanceSQL.ppt
AdvanceSQL.ppt
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptx
 
mod5_cabling-LANsWANs-2.ppt
mod5_cabling-LANsWANs-2.pptmod5_cabling-LANsWANs-2.ppt
mod5_cabling-LANsWANs-2.ppt
 
globodox-presentation-v14.ppsx
globodox-presentation-v14.ppsxglobodox-presentation-v14.ppsx
globodox-presentation-v14.ppsx
 
chapter-2.ppt
chapter-2.pptchapter-2.ppt
chapter-2.ppt
 
Requirements Analysis.pptx
Requirements Analysis.pptxRequirements Analysis.pptx
Requirements Analysis.pptx
 
Java Constructors.pptx
Java Constructors.pptxJava Constructors.pptx
Java Constructors.pptx
 
Java Constructors.pptx
Java Constructors.pptxJava Constructors.pptx
Java Constructors.pptx
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptx
 
Functions of Operating System.pptx
Functions of Operating System.pptxFunctions of Operating System.pptx
Functions of Operating System.pptx
 
HCI 1 Module 2.pptx
HCI 1 Module 2.pptxHCI 1 Module 2.pptx
HCI 1 Module 2.pptx
 
The virtual box.pptx
The virtual box.pptxThe virtual box.pptx
The virtual box.pptx
 
Presentation (10).pptx
Presentation (10).pptxPresentation (10).pptx
Presentation (10).pptx
 
Presentation (4).pptx
Presentation (4).pptxPresentation (4).pptx
Presentation (4).pptx
 

Recently uploaded

RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 

Recently uploaded (20)

RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 

Database Design, UML, and ER Modeling

  • 1. 07/10/2023 Database Design, UML and (Extended) Entity Relationship Modeling sli de 1
  • 2. 07/10/2023 In this Section…  Topics Covered  Database Design Considerations  UML and Database Design  ER Design and UML  Related Topics  ER Design  Lectures 4 and 5 slide 2
  • 4. 07/10/2023 Conceptual Design includes Operational Use slide 4 Mini World Requirements collection & analysis Conceptual design Data model design Physical design Database requirements Conceptual schema (in a high level data model) Conceptual schema (in the data model of a specific DBMS Internal schema (for the same DBMS) DBMS Independent DBMS specific Data Definition Language Statements Processing Requirements Transaction Design DBMS independent Transaction Implementation
  • 5. 07/10/2023 Database Application Life Cycle slide 5 System Definition Design Implementation Loading/Data Conversion Application Conversion Testing & Validation Operation Monitoring & Maintenance
  • 6. 07/10/2023 Data model requirements  Expressive  Simple  Minimal  small number of basic concepts that are distinct and non- overlapping in meaning  Diagrammatic  Formal  accurate & unambiguous  CONFLICTING REQUIREMENTS Conceptual design  Complete understanding of database structure, semantics, constraints, relationships etc  DBMS independent  Stable description  Database users and application users views; aids their understanding  Communication with users slide 6 Conceptual design & Data model requirements
  • 7. 07/10/2023 Transaction Design  Known transactions (applications) that will run on the database  Database schema must include all information required by transactions  Relative importance of transactions and expected rates of invocation important for performance tuning Identify input/output & functional behaviour: 3 categories  1. Retrieval display/reports 2. Update insert new data/modify old 3. Mixed  Transactions can be used to encapsulate integrity constraints slide 7
  • 8. 07/10/2023 Transaction Design  High level process specification technique data flow diagrams, process modelling etc  Detailed design using programming techniques for loops, if statements etc  Detailed design using set database operations  Eight basic operations for updates on EER schema  insert entity, modify, delete entity  add, modify, remove relationship  add and remove from class  add and remove class slide 8
  • 9. 07/10/2023 Transaction environment  Pre-defined canned transactions  A free-for-all using SQL directly  Chiefly On-Line Transaction Processing (OLTP)  Chiefly Management Information System (MIS)  Multi-user or single-user  number of concurrent users—peaks, worst case, and average  potential conflicts—locking, timestamps  distributed transactions  Integrity Checks  as updates made in transactions  batch run transaction slide 9
  • 10. 07/10/2023 On-Line Transactions slide 10 ON-LINE DECISION SUPPORT TRANSACTION PROCESSING • Inquiry & Analysis • Real time Transactions • Retrieval Intensive • Update Intensive • Ad Hoc Queries • Pre-Defined Transactions • Unpredictable Query Complexity • Transaction Throughput • Data Integrity • High Availability
  • 11. 07/10/2023 Who is Using the Database?  Users & Ease of Use  Who is the target end-user for queries and/or update transactions  User Interfaces  graphical  forms-based  SQL  reports generated  menu-based  Task analysis  Work flows  Views Interfaces  people  software  other databases  hardware  organisational processes slide 11
  • 12. 07/10/2023 Housekeeping  Backup & Archiving  on-line or off-line backups  size of backups  incremental vs dump  archiving strategy  Security  passwords  permissions  views slide 12
  • 13. 07/10/2023 Operational Considerations Scope  complete flexibility with ‘bells and whistles’  kernel activities Model choice  hierarchical / network / relational / object-oriented /object-relational Software/Hardware  Which database management system ?  Configuration: e.g Unix server and PC front-ends? slide 13
  • 14. 07/10/2023 Choice of DBMS Costs 1.Software acquisition cost 2.Maintenance cost 3.Hardware acquisition cost 4.Database creation & conversion cost 5.Personnel cost 6.Training cost 7.Operating costs  Data model depends on:  The structure and use of the data  Familiarity of the system  Available vendor services  communication software  data entry software  design and monitoring tools etc slide 14
  • 16. 07/10/2023 EER vs. UML Terminology  UML Class Diagram  Class  Object  Attribute  Domain  Structured Domain  Operation  Association  Link  Multiplicities  EER Diagram  Entity Type  Entity  Attribute  Domain  Composite Attribute  ~ [Derived Attribute]  Relationship Type  Relationship Instance  Cardinality & Participation slide 16
  • 18. 07/10/2023 EER to UML #1 slide 18
  • 19. 07/10/2023 EER to UML #2 slide 19