SlideShare uma empresa Scribd logo
1 de 19
Subject Name Code Credit Hours
Database System COMP 219 3
Chapter VI
Subject Name Code Credit Hours
Database System COMP 219 3
E-R Diagram
• Symbol Description
Entity Type
Attribute
Key Attribute
Subject Name Code Credit Hours
Database System COMP 219 3
E-R Diagram
Symbol Description
Composite Attribute
Multivalued attribute
Attribute
Subject Name Code Credit Hours
Database System COMP 219 3
E-R Diagram
Symbol Description
Derived Attribute
Relationship
Subject Name Code Credit Hours
Database System COMP 219 3
E-R Diagram
• Symbol Description
Identifying Relationship
Weak Entity Type
Subject Name Code Credit Hours
Database System COMP 219 3
E-R Diagram
• Symbol Description
E1 E2R
Total participation of E2 in R &
Partial Participation of E1 in R
E1 E2R
1 1
Cardinality Ratio
E2R
Min,max
Structural constraints
(min,max) on participation of
Environmental in R
Subject Name Code Credit Hours
Database System COMP 219 3
Recursive Relationship
• If the same entity type partcipates in a
relationship more than once in different roles.
• E.g.. Employee
Supervising
Supervisor
Supervise
Subject Name Code Credit Hours
Database System COMP 219 3
Design of an E-R Database Schema
The steps involved in designing an E-R database schema are,
• Identify entity types and their entity sets.
• List out the attributes of each entity type.
• Relate several entities by specifyiing some relationship that
exists among them.
• Specify some attributes of relation if any.
• Specify Generalization and specialization any exists.
• Specify Aggregation (global) if any used.
Subject Name Code Credit Hours
Database System COMP 219 3
Design Process:
• The main phases involved in designing a ER db schema is shown below,
Mini world
Requirements collection & Analysis
Data Requirements
Conceptual Design
Conceptual schema
Logical Design
Physical design
Logical schema
Internal Schema
Transaction
implementation
Functional Requirements
Functional Analysis
High level Transaction
specification
Application program
Design
App.pgms
DBMS
Independen
t
DBMS
Specific
Subject Name Code Credit Hours
Database System COMP 219 3
Requirements collection & Analysis
• The db designers interview db users to understand & document their
requirements.
• They find out data requirements (what data are stored in the db).
Conceptual Design:
• Once the requirements are documented , the next step is to create
conceptual schema which carried out in conceptual design Phase.
• It describes the structure of a db in the form of entity type, relationship
among them & constraints.
Subject Name Code Credit Hours
Database System COMP 219 3
Logical Design
• The actual implementation of the db is carried out using DBMS.
Physical Design
 The last phase is the internal storage structures, indexes,
access paths, and file organizations for the db files are
specified.
 In parallel with these activities, Application programs are
designed and implemented as db transactions.
Subject Name Code Credit Hours
Database System COMP 219 3
EER Model- Enhanced or Extended E-R model
• Using E-R model only the basic features of a db.
• Some enhanced features such as Specialization, Generalization, Union &
aggregation can be shown using EER model.
A. SPECIALIZATION:
The process of designating sub grouping within an
entity set..
Subject Name Code Credit Hours
Database System COMP 219 3
E.g…..
Employee
IS A
Secretary Technician Manager
eid ename eaddr Job
Typing speed
Mgrid
Subject Name Code Credit Hours
Database System COMP 219 3It is also represented as
Employee
eid ename eaddr Job
d
Secretary Technician Manager
d
Job Type
Salary Type
Hourly Regular
Defining attribute
Sub classes
Subject Name Code Credit Hours
Database System COMP 219 3
Generalization
•The process of defining a
generalized entity type
from the given entity types.
Subject Name Code Credit Hours
Database System COMP 219 3E.g…
CAR TRUCK
PriceMax speed
Vehicle ID No. of seats Vehicle ID
Price
No. Of Axles
Tonnage
Subject Name Code Credit Hours
Database System COMP 219 3
Vehicle
Vehicle ID
Price
d
CAR
TRUCK
Max speed
No. of seats Tonnage
No. Of Axles
Subject Name Code Credit Hours
Database System COMP 219 3
History of Database Systems
• 1950s and early 1960s:
– Data processing using magnetic tapes for storage
• Tapes provide only sequential access
– Punched cards for input
• Late 1960s and 1970s:
– Hard disks allow direct access to data
– Network and hierarchical data models in widespread use
– Ted Codd defines the relational data model
• Would win the ACM Turing Award for this work
• IBM Research begins System R prototype
• UC Berkeley begins Ingres prototype
– High-performance (for the era) transaction processing
Subject Name Code Credit Hours
Database System COMP 219 3
History (cont.)
• 1980s:
– Research relational prototypes evolve into commercial systems
• SQL becomes industrial standard
– Parallel and distributed database systems
– Object-oriented database systems
• 1990s:
– Large decision support and data-mining applications
– Large multi-terabyte data warehouses
– Emergence of Web commerce
• 2000s:
– XML and XQuery standards
– Automated database administration

Mais conteúdo relacionado

Semelhante a Dmbs chapter vi

Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
AshmitKashyap1
 

Semelhante a Dmbs chapter vi (20)

Dbms chapter iv
Dbms chapter ivDbms chapter iv
Dbms chapter iv
 
Dbms chapter vii
Dbms chapter viiDbms chapter vii
Dbms chapter vii
 
databasesystemsconollyslide1-151102101031-lva1-app6892.pptx
databasesystemsconollyslide1-151102101031-lva1-app6892.pptxdatabasesystemsconollyslide1-151102101031-lva1-app6892.pptx
databasesystemsconollyslide1-151102101031-lva1-app6892.pptx
 
Database systems - Chapter 1
Database systems - Chapter 1Database systems - Chapter 1
Database systems - Chapter 1
 
An Introduction To Software Development - Architecture & Detailed Design
An Introduction To Software Development - Architecture & Detailed DesignAn Introduction To Software Development - Architecture & Detailed Design
An Introduction To Software Development - Architecture & Detailed Design
 
Performance Optimization of Recommendation Training Pipeline at Netflix DB Ts...
Performance Optimization of Recommendation Training Pipeline at Netflix DB Ts...Performance Optimization of Recommendation Training Pipeline at Netflix DB Ts...
Performance Optimization of Recommendation Training Pipeline at Netflix DB Ts...
 
Admission in india 2015
Admission in india 2015Admission in india 2015
Admission in india 2015
 
dbms intro
  dbms intro  dbms intro
dbms intro
 
Dbms
DbmsDbms
Dbms
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
 
DBMS
DBMS DBMS
DBMS
 
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
 
INTRODUCTION OF DATA BASE
INTRODUCTION OF DATA BASEINTRODUCTION OF DATA BASE
INTRODUCTION OF DATA BASE
 
DBMS
DBMSDBMS
DBMS
 
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
 
IT6701 Information Management - Unit I
IT6701 Information Management - Unit I  IT6701 Information Management - Unit I
IT6701 Information Management - Unit I
 
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
DATABASE    MANAGEMENT SYSTEM	 ARCHITECTUREDATABASE    MANAGEMENT SYSTEM	 ARCHITECTURE
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
 
Procedural vs. object oriented programming
Procedural vs. object oriented programmingProcedural vs. object oriented programming
Procedural vs. object oriented programming
 
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
 

Mais de Bala Ganesh (20)

DDL,DML,1stNF
DDL,DML,1stNFDDL,DML,1stNF
DDL,DML,1stNF
 
sfdfds
sfdfdssfdfds
sfdfds
 
Dbms chapter viii
Dbms chapter viiiDbms chapter viii
Dbms chapter viii
 
Dbms chapter v
Dbms chapter vDbms chapter v
Dbms chapter v
 
Dbms chapter iii
Dbms chapter iiiDbms chapter iii
Dbms chapter iii
 
Flip flop& RAM ROM
Flip flop& RAM ROMFlip flop& RAM ROM
Flip flop& RAM ROM
 
karnaugh maps
karnaugh mapskarnaugh maps
karnaugh maps
 
Chap iii-Logic Gates
Chap iii-Logic GatesChap iii-Logic Gates
Chap iii-Logic Gates
 
Chap ii.BCD code,Gray code
Chap ii.BCD code,Gray codeChap ii.BCD code,Gray code
Chap ii.BCD code,Gray code
 
DEL-244Chep i
DEL-244Chep iDEL-244Chep i
DEL-244Chep i
 
Software engineering Questions and Answers
Software engineering Questions and AnswersSoftware engineering Questions and Answers
Software engineering Questions and Answers
 
Software testing
Software testingSoftware testing
Software testing
 
Design
DesignDesign
Design
 
Comp 107 cep 8
Comp 107 cep 8Comp 107 cep 8
Comp 107 cep 8
 
Comp 107 cep 7
Comp 107 cep 7Comp 107 cep 7
Comp 107 cep 7
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
Software Requirements
Software RequirementsSoftware Requirements
Software Requirements
 
Comp107 chep6
Comp107 chep6Comp107 chep6
Comp107 chep6
 
Comp 111chp iv vi
Comp 111chp iv viComp 111chp iv vi
Comp 111chp iv vi
 
Comp 111 cep ii
Comp 111 cep iiComp 111 cep ii
Comp 111 cep ii
 

Último

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Último (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 

Dmbs chapter vi

  • 1. Subject Name Code Credit Hours Database System COMP 219 3 Chapter VI
  • 2. Subject Name Code Credit Hours Database System COMP 219 3 E-R Diagram • Symbol Description Entity Type Attribute Key Attribute
  • 3. Subject Name Code Credit Hours Database System COMP 219 3 E-R Diagram Symbol Description Composite Attribute Multivalued attribute Attribute
  • 4. Subject Name Code Credit Hours Database System COMP 219 3 E-R Diagram Symbol Description Derived Attribute Relationship
  • 5. Subject Name Code Credit Hours Database System COMP 219 3 E-R Diagram • Symbol Description Identifying Relationship Weak Entity Type
  • 6. Subject Name Code Credit Hours Database System COMP 219 3 E-R Diagram • Symbol Description E1 E2R Total participation of E2 in R & Partial Participation of E1 in R E1 E2R 1 1 Cardinality Ratio E2R Min,max Structural constraints (min,max) on participation of Environmental in R
  • 7. Subject Name Code Credit Hours Database System COMP 219 3 Recursive Relationship • If the same entity type partcipates in a relationship more than once in different roles. • E.g.. Employee Supervising Supervisor Supervise
  • 8. Subject Name Code Credit Hours Database System COMP 219 3 Design of an E-R Database Schema The steps involved in designing an E-R database schema are, • Identify entity types and their entity sets. • List out the attributes of each entity type. • Relate several entities by specifyiing some relationship that exists among them. • Specify some attributes of relation if any. • Specify Generalization and specialization any exists. • Specify Aggregation (global) if any used.
  • 9. Subject Name Code Credit Hours Database System COMP 219 3 Design Process: • The main phases involved in designing a ER db schema is shown below, Mini world Requirements collection & Analysis Data Requirements Conceptual Design Conceptual schema Logical Design Physical design Logical schema Internal Schema Transaction implementation Functional Requirements Functional Analysis High level Transaction specification Application program Design App.pgms DBMS Independen t DBMS Specific
  • 10. Subject Name Code Credit Hours Database System COMP 219 3 Requirements collection & Analysis • The db designers interview db users to understand & document their requirements. • They find out data requirements (what data are stored in the db). Conceptual Design: • Once the requirements are documented , the next step is to create conceptual schema which carried out in conceptual design Phase. • It describes the structure of a db in the form of entity type, relationship among them & constraints.
  • 11. Subject Name Code Credit Hours Database System COMP 219 3 Logical Design • The actual implementation of the db is carried out using DBMS. Physical Design  The last phase is the internal storage structures, indexes, access paths, and file organizations for the db files are specified.  In parallel with these activities, Application programs are designed and implemented as db transactions.
  • 12. Subject Name Code Credit Hours Database System COMP 219 3 EER Model- Enhanced or Extended E-R model • Using E-R model only the basic features of a db. • Some enhanced features such as Specialization, Generalization, Union & aggregation can be shown using EER model. A. SPECIALIZATION: The process of designating sub grouping within an entity set..
  • 13. Subject Name Code Credit Hours Database System COMP 219 3 E.g….. Employee IS A Secretary Technician Manager eid ename eaddr Job Typing speed Mgrid
  • 14. Subject Name Code Credit Hours Database System COMP 219 3It is also represented as Employee eid ename eaddr Job d Secretary Technician Manager d Job Type Salary Type Hourly Regular Defining attribute Sub classes
  • 15. Subject Name Code Credit Hours Database System COMP 219 3 Generalization •The process of defining a generalized entity type from the given entity types.
  • 16. Subject Name Code Credit Hours Database System COMP 219 3E.g… CAR TRUCK PriceMax speed Vehicle ID No. of seats Vehicle ID Price No. Of Axles Tonnage
  • 17. Subject Name Code Credit Hours Database System COMP 219 3 Vehicle Vehicle ID Price d CAR TRUCK Max speed No. of seats Tonnage No. Of Axles
  • 18. Subject Name Code Credit Hours Database System COMP 219 3 History of Database Systems • 1950s and early 1960s: – Data processing using magnetic tapes for storage • Tapes provide only sequential access – Punched cards for input • Late 1960s and 1970s: – Hard disks allow direct access to data – Network and hierarchical data models in widespread use – Ted Codd defines the relational data model • Would win the ACM Turing Award for this work • IBM Research begins System R prototype • UC Berkeley begins Ingres prototype – High-performance (for the era) transaction processing
  • 19. Subject Name Code Credit Hours Database System COMP 219 3 History (cont.) • 1980s: – Research relational prototypes evolve into commercial systems • SQL becomes industrial standard – Parallel and distributed database systems – Object-oriented database systems • 1990s: – Large decision support and data-mining applications – Large multi-terabyte data warehouses – Emergence of Web commerce • 2000s: – XML and XQuery standards – Automated database administration