Department of Industrial Engineering Sharif University of Technology Session# 3.

Slides:



Advertisements
Similar presentations
Technology Guide 3 Data and Database T3-1. IT for Management Prof. Efraim Turban T3-2 File Management Hierarchy of data for a computer-based file Record.
Advertisements

Database Systems: Design, Implementation, and Management Tenth Edition
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 5.
MIS (Management Information System)
Department of Industrial Engineering Sharif University of Technology Session # 1.
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 8.
Department of Industrial Engineering Sharif University of Technology Session# 2.
Chapter Chapter 13-2 Chapter 13 Data Modeling Introduction An Overview of Databases Steps in Creating a Database Using Rea Creating Database Tables.
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Design Concepts Info1408
Chapter 3: Data Modeling
Chapter 4 Entity Relationship (ER) Modeling
System Analysis and Design
Entity-Relationship Model
Prevalent Database Models (Advantages of a database over flat files)
Khatam Institute of higher Education Session # 1.
Department of Industrial Engineering Sharif University of Technology Session# 6.
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session #20.
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session #18.
Department of Industrial Engineering Sharif University of Technology Session# 5.
Entity-Relationship Design
LECTURE 2 DATABASE SYSTEM CONCEPTS AND ARCHITECTURE.
Chapter 3 Data Models.
2 1 Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Chapter 7 Data Modeling with Entity Relationship Diagrams Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Systems analysis and design, 6th edition Dennis, wixom, and roth
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 4.
2 1 Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 1.
Database Systems: Design, Implementation, and Management Ninth Edition
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Department of Industrial Engineering Sharif University of Technology Session # 1.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Department of Industrial Engineering Sharif University of Technology Session #2.
Fanny Widadie, S.P, M.Agr 1 Database Management Systems.
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
Department of Industrial Engineering Sharif University of Technology Session #3.
Module 2: Database Environment
Department of Industrial Engineering Sharif University of Technology Session #5.
Department of Industrial Engineering Sharif University of Technology Session #9.
Department of Industrial Engineering Sharif University of Technology Session #10.
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session #10.
Department of Industrial Engineering Sharif University of Technology Session #7.
Lection №4 Development of the Relational Databases.
Department of Industrial Engineering Sharif University of Technology Session #8.
Department of Industrial Engineering Sharif University of Technology Session #12.
Department of Industrial Engineering Sharif University of Technology Session #13.
CIS 250 Advanced Computer Applications Database Management Systems.
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session #13.
Department of Industrial Engineering Sharif University of Technology Session #14.
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 21.
Introduction to Databases Angela Clark University of South Alabama.
Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005.
1 Chapter 2 Database Environment Pearson Education © 2009.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Chapter Five: Data Modeling with the Entity-Relationship.
Department of Mathematics Computer and Information Science1 CS 351: Database Management Systems Christopher I. G. Lanclos Chapter 4.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
1 © 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Rationale Databases are an integral part of an organization. Aspiring Database Developers should be able to efficiently design and implement databases.
Department of Industrial Engineering Sharif University of Technology Session #4.
Chapter 4 Entity Relationship (ER) Modeling
CIM (21-548) Sharif University of Technology Session # 17
Databases and Structured Files: What is a database?
Review of Week 1 Database DBMS File systems vs. database systems
Presentation transcript:

Department of Industrial Engineering Sharif University of Technology Session# 3

 Instructor  Omid Fatahi Valilai, Ph.D. Industrial Engineering Department, Sharif University of Technology  Tel:  Website:  Class time  Saturday15:30~18:00  Course evaluation  Mid-term(30%)  Final exam(40%)  Quiz(10%)  Exercise (20%) Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 2

 Mid-term session:  N/A  Final session:  N/A  Reference:  Franjo Cecelja, “Manufacturing Information and Data Systems: Analysis, Design and Practice”, 2002, Elsevier  Shen, Weiming; “Information Technology for Balanced Manufacturing Systems”, 2004, Springer  Steve Bell; “Lean Enterprise Systems: Using IT for Continuous Improvement”, 2005, Wiley Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 3

 Reference:  William S. Davis, David C. Yen, “The information system consultant’s handbook: system analysis and design”, 2010, Taylor and Francis  Terence Lucey; “Management Information Systems”, 2004, Cengage Learning EMEA  Gabriele Piccoli; “Information systems for managers: texts & cases ”, 2007, John Wiley & Sons Inc Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 4

 Course Calendar: Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 5

 A database is defined as a collection of stored operational data used by the application systems of some particular enterprise.  The simplest form of computer databases are file systems, where the data are stored in various files, and the access is made through third generation programming languages  The whole database is searched for a key when the data are needed.  Producing selective reports is extremely difficult;  Experts are needed to write access programs to the data;  The data structure is structurally dependent. Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 6

 The evolution of database systems  The first computer database systems for use in manufacturing were of a form that was similar in structure to the paper-based filing cabinet, methods they were designed to replace.  Cross-referencing  DBMS (Data base management system) Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 7

 The evolution of database systems  DBMS Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 8

 The evolution of database systems  DBMS  a DBMS must have the ability to store, retrieve and update data in the database. This is the fundamental function of a DBMS.  a DBMS must ensure that, when an update operation is performed, either the entire operation is carried out successfully or that none of it is done.  a DBMS must ensure that updates are handled correctly even though many users may be updating the database simultaneously.  a DBMS, if damaged by an accident, must have the means of preserving the data in an unblemished state.  a DBMS must allow its users to access communications software  a DBMS should provide a dictionary or catalogue that lists all the data items accessible to the users. This aspect, normally called the data dictionary  a DBMS must ensure that only authorized users can access the database. Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 9

 The evolution of database systems  DBMS  There are three established data models used in databases today:  The hierarchical model;  The network model;  The relational model.  Object oriented data base model Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 10

 The evolution of database systems  DBMS  The hierarchical model;  The hierarchical database model uses records and links to represent data and relationships and the records are organized as a collection of tree structures. Four attributes characterize the hierarchical data model:  The model always starts with a root node. It is the only node in the tree that does not have a parent;  Every node consists of a number of attributes describing the entity that is exemplified at that node;  Each node, excluding the root node, can have only one parent, but each parent node can have many children;  Each node is reached or retrieved by passing through all the preceding nodes Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 11

 The evolution of database systems  DBMS  The hierarchical model; Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 12

 The evolution of database systems  DBMS  The network data base model;  In essence, the network database model appears to be a variation of the hierarchical data model. In practice, data can be translated from hierarchical to network and vice versa to optimize processing speed and convenience.  In the network model, the entities are represented by records, and the relationships between the data entities are represented by links. The records are organized in the form of a graph with the links forming associations between records Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 13

 The evolution of database systems  DBMS  The network data base model; Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 14

 The evolution of database systems  DBMS  The relational data base model;  The relational database represents the data within a collection of tables that have a direct correspondence to the concept of a mathematical relation.  Because of the mathematical basis of the model it has been possible to develop efficient algorithms for query processing. Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 15

 The evolution of database systems  DBMS  The relational data base model; Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 16

 The evolution of database systems  DBMS  Data model;  The aim of data modelling is to describe a system model that can then be used to create a database containing the same information as the original system.  A data model is defined as a collection of mathematically well-defined concepts that help one to consider and express the static and dynamic properties of data-intensive applications Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 17

 The evolution of database systems  DBMS  Data model;  Conceptual modelling is the process of modelling all properties of an application, and is required to allow the development of application-specific data models.  In addition to the static and dynamic aspects, it is also necessary to specify integrity constraints to define allowable states of the database and legal operations. This then allows us to move on to the logical and physical models, Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 18

 The evolution of database systems  DBMS  Data model; Department of Industrial Engineering, Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3 19

 System Analysis  Recording the information  Data flow Diagrams  Entity Models The entity model in SSADM is called logical data structure (LDS). LDSs are simpler than DFDs in that they have only two major components – entities and the relationships between them. An entity is usually represented as a rectangle containing its name, written as a singular noun. Relationships are shown as lines linking entities. Relationships can be traversed in both directions, and so each end of a relationship is named in order to describe it from the point of view of the entity at that end. 20 Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3

 System Analysis  Recording the information  Data flow Diagrams  Entity Models  Classification of relationships is known as the degree of the relationship  Most relationships are between one master entity and many detail entities. >  Relationships may also be > or >.  One-to-one relationships are uncommon, as it is usually found that two entities that are linked in this way can be combined to give a single entity.  Many-to-many relationships are more common, but it is usual to resolve them by introducing a new ‘link’ entity that is a detail of the two original entities 21 Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3

 System Analysis  Recording the information  Data flow Diagrams  Entity Models 22 Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3

 System Analysis  Recording the information  Data flow Diagrams  Entity Models  Relationships are also classified in terms of their optionality.  Relationships can be described as exclusive. One type of exclusivity occurs if a detail entity has two (or more) masters and an occurrence of the detail may be linked to only one of the masters but not both. The other is the converse situation where a master may be linked to only one of two or more sets of details. Exclusive relationships are shown by drawing an exclusion arc to connect them 23 Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3

 System Analysis  Recording the information  Data flow Diagrams  Entity Models 24 Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3

 System Analysis  Recording the information  Data flow Diagrams  Entity Models 25 Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3

 System Analysis  Recording the information  Data flow Diagrams  Entity Models  >: In other words, individual occurrences of entities can be related to other occurrences of that entity. There are two ways in which this can happen. The first is where there is a one-to-many or hierarchical relationship between entity occurrences. or by a single entity called manager, which has a recursive relationship with itself. 26 Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3

 System Analysis  Recording the information  Data flow Diagrams  Entity Models  >: The second way in which an entity can be related to itself is where there is a many-to-many relationship between occurrences, indicating a network structure. There are two ways in which this can happen. One way in which the structure can be shown is as a single entity linked to itself by a many-to-many relationship. breaking the many-to-many relationship into two one-to-many relationships and creating a new entity that acts as a link between different occurrences of the original entity. 27 Sharif University of Technology MMIS (Manufacturing Management Information System), Session# 3