Data Modeling [Comparison of data modeling techniques ]

Slides:



Advertisements
Similar presentations
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
Advertisements

Database Design: ER Modelling (Continued)
Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques
Data Modeling and the Entity-Relationship Model
Data Modeling and the Entity-Relationship Model
Database Systems: Design, Implementation, and Management Tenth Edition
Chapter 3 Data Modeling Copyright © 2014 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent.
IT420: Database Management and Organization
Entity-Relationship Model
Data Modeling and the Entity-Relationship Model
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 3 The Entity- Relationship Model.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 COS 346 Day 6.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 8 The Enhanced Entity- Relationship (EER) Model.
Entity Relationship Modeling BUS112 Professor Kwan.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke Database Processing Tenth Edition Chapter 5 Data.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Understanding Entity Relationship Diagrams.
Chapter Five Data Modeling with the Entity-Relationship Model.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 COS 346 Day 6.
Data Modeling Entity - Relationship Models. Models Used to represent unstructured problems A model is a representation of reality Logical models  show.
Fundamentals, Design, and Implementation, 9/e COS 346 Day 2.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke’s Chapter Five: Data Modeling with the Entity-Relationship.
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.
Entity-Relationship Model
Chapter 41 Enhanced Entity-Relationship and Object Modeling.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke’s Chapter Five: Data Modeling with the Entity-Relationship.
CSE314 Database Systems Data Modeling Using the Entity- Relationship (ER) Model Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
Chapter 13 (Online): Object-Oriented Databases
ICOM 5016 – Introduction to Database Systems Lecture 4 Dr. Manuel Rodriguez Department of Electrical and Computer Engineering University of Puerto Rico,
UML Unified Modeling Language. What is UML? Unified Modeling Language (UML) is a standardized, general-purpose modeling language in the field of software.
CASE*Method: Entity Relationship Modeling
Database Systems: Design, Implementation, and Management Ninth Edition
Chapter 5 Entity–Relationship Modeling
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 2/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Component 4: Introduction to Information and Computer Science Unit 6: Databases and SQL Lecture 2 This material was developed by Oregon Health & Science.
UNIT 2.
Entity-Relationship Modeling Based on Chapter 12.
CS3773 Software Engineering Lecture 04 UML Class Diagram.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, modified by Dr. Lyn Mathis 5-1 David M. Kroenke’s, 10 th ed. Chapter.
Data Modeling IST210 Class Lecture.
Component 4/Unit 6b Topic II Relational Databases Keys and relationships Data modeling Database acquisition Database Management System (DBMS) Database.
1 Introduction to modeling ER modelling Slides for this part are based on Chapters 8 from Halpin, T. & Morgan, T. 2008, Information Modeling and Relational.
Computing & Information Sciences Kansas State University Friday, 26 Sep 2008CIS 560: Database System Concepts Lecture 13 of 42 Friday, 26 September 2008.
Chapter 4 Extended Entity-Relationship (EER)Model Incorporates Set-subset Relationships Incorporates Generalization Hierarchies Constraints: Coverage Constraints:
Chapter 5 System Modeling. What is System modeling? System modeling is the process of developing abstract models of a system, with each model presenting.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Introduction to modeling
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Chapter Five: Data Modeling with the Entity-Relationship.
Enhanced Entity-Relationship and UML Modeling. 2.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 4- 1.
Database Design, Application Development, and Administration, 6 th Edition Copyright © 2015 by Michael V. Mannino. All rights reserved. Chapter 5 Understanding.
IT 5433 LM2 ER & EER Model. Learning Objectives: Explain importance of data modeling Define and use the entity-relationship model Define E/R terms Describe.
BBY 464 Semantic Information Management (Spring 2016) Data and Metadata Management Yaşar Tonta & Orçun Madran [yasartonta, Hacettepe.
ER Diagrams ● Many different notations are available ● From wikipedia:wikipedia: Entity-relationship modelwikipedia: Entity-relationship model ● How do.
Data Modeling Using the Entity- Relationship (ER) Model
TMC2034 Database Concept and Design
Requirements Become the E-R Data Model
Entity-Relationship Model
Outline of the ER Model By S.Saha
IDEF1X Standard IDEF1X (Integrated Definition 1, Extended) was announced as a national standard in 1993 It defines entities, relationships, and attributes.
Conceptual data modeling
Entity-Relationship Model
Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
Chapter 20 Object-Oriented Analysis and Design
Data Model.
Database Processing: David M. Kroenke’s Chapter Five:
Presentation transcript:

Data Modeling [Comparison of data modeling techniques ] By Renjini Sindhuri

Contents Introduction E-R modeling Peter Chen Information Engineering Barkers Notation IDEFIX UML modeling XML modeling X- Entity modeling XUML Conclusion

Introduction Data modeling is the act of exploring data oriented structures. Examines and compares different data modeling techniques In the data modeling techniques we have traditional modeling and object oriented modeling of data

E-R modeling It is a conceptual data model that views the real world as consisting of entities and relationships It is used to transform relational tables that are easy to understand that enables easy communication with the end user Peter –Chen developed E-R model

Peter –Chen notation Entities are represented in the squared cornered and circles as attributes Many –Many relationships can be represented without associative entity Relationship itself has attributes and are considered as objects It failed to represent unique identifier

Peter Chen’s Model

Information Engineering model Developed by Clive Finkelstein Entities are represented in the squared cornered and attributes are not shown at all they are shown in a separate list called entity list Relationships like mandatory 1 and many can be represented Unique identifiers are not represented

Information Engineering model diagram

Barkers Notation Adopted by Oracle corporation for its CASE method Entities can be represented by round cornered rectangle Same entity can be represented for role an interaction or another kind of association Relationship names are prepositions and not verbs Unique identifiers can be represented by hash marks next to the attribute

Barkers Notation diagram

IDEFIX Notation It is a modeling technique that is used by many branches of the United States Federal government A relationship name is a verb IDEFIX shows subtypes as separate entity boxes IDEFIX permits multiple inheritance and multiple type hierarchies

IDEFIX diagram

UML UML is an object modeling technique It models object classes instead of entities In the object oriented world the relationships are called as associations Cardinality and optionality in UML is conveyed by characters or numbers Express in the form of more complex upper and lower limits UML introduces a small flag that includes text describing any business rules

UML diagram

XML Notation Describing data and interchanging structured and unstructured data on the Internet It is a universal language of data on web XML tags are used to create data structures XML documents have been widely used for interchanging data between heterogeneous systems.

XML notation An example of XML notation http://www.essentialstrategies.com/publications/modeling/xml.htm

X-Entity model Conceptual model of XML uses X entity model in order to represent additional features The entity can be denoted by ‘E’ ({A1,….An},{R1,…Rm},{D1,….Dk}) Each attribute A is associated with a domain Dom(Ai) Which specifies its value set Cardinality is denoted by Card(Ai)=(min,max)

X entity model diagram

XUML XUML comprises the characteristics of XML and UML2. It is used to express the containment semantics more explicitly Supporting the concept of Business Components Specifying the data dependencies in multiple context

XUML diagram UML and XUML model of a book store

Comparison of data modeling techniques S.No Modeling Technique Peter Chen Information Engineering IDEFIX Richard Barker’s notation UML 1. Entities squared cornered and circles as attributes Squared cornered, attributes are not shown at all. Round or square cornered rectangle Round cornered rectangle Models object classes 2. Relationship Nouns. So the relationships can be represent as objects and has attributes Verbs Verb or verb phrase Preposition not verb Associations 3. Constraints between relationships Failed to represent the constraints directly exclusive or) Can represent Constraints exclusive or ,inclusive Cannot represent Constraints exclusive or) Constraints exclusive or )

Comparison of Data modeling techniques S.No Modeling Technique Peter Chen Information Engineering IDEFIX Richard Barker’s notation UML 4. Cardinality Many to Many relationships can be represented between the entities without the associative entity Can represent Can represent in different ways Can represent zero or more ,atleast at least one up to many, up to one relationships express more complex upper limits, zero, 3, 6-7, or 9 5. Sub types/ Super Types Cannot represent the sub types and super type sub-types can be represented inside their super-type box Sub types can be represented as separate entity boxes separate from its super type. 6. Unique Identifier Cannot represent Represented in the form of primary key Represented in the form of hash next to the attribute

Comparison of Data Modeling techniques S.No Modeling Technique Peter Chen Information Engineering IDEFIX Richard Barker’s notation UML 7. Aggregation Cannot represent Can represent only binary aggregations 8. Business Rules / Components Cannot Represent Can Represent

Comparison of Data Modeling techniques S.No Modeling Technique Peter Chen Information Engineering IDEFIX Richard Barker’s notation UML 9. Aesthetic Simplicity Score High Medium Low 10. Completeness Score medium 11. Language Notation Score low

Advantages of XUML XUML can express the containment semantics more accurately. Support the concept of Business Component. Can specify the data dependencies in multiple context.

Contd.. XUML is more expressive, precise and understandable. More rigorous and accurate.

Conclusion By comparing the aesthetic simplicity, completeness, language notation (relationship) Mr. Barker's notation is favorable for requirement analysis model XML is used in recent trends it follows a standard format for representing structured and semi structured data on web X-Entity model has the advantages of both XML schemas and extends the ER model so that it can explicitly represent important features of XML schemas The distinctive features of XUML made this technique of data modeling the latest trend for conceptual modeling of data.

References 1. Conceptual Modeling of XML schemas, Bernadette Farias Losio,Ana Carolina Salgado , Year: 2003,Publisher: ACM 2. XML conceptual modeling with XUML, HongXing Liu HuaZhong University of Science and Technology, P. R. China, YanSheng Lu HuaZhong University of Science and Technology, P. R. China,Qing Yang Wuhan Uni Pages: 973 – 976, Year of Publication: 2006, Publisher: ACM Press 3. PETER PIN-SHAN CHEN, “The Entity Relationship Model-Toward a Unified View of Data” , Massachusetts Institute of Technology, ACM Transactions on Data base System Volume1, Issue 1,Publisher-ACM 4. Data modeling in the understanding database course: adding UML and XML modeling to the traditional content. Journal of Computing Sciences in Colleges, Volume 17, Issue 5 (April 2002)

References 5. Data Modeling101. http://www.agiledata.org/essays/dataModeling101.html 6.A comparison of Data Modeling ,David C Hay,Essential Strategies Inc,October 1999.