Section 09 (a)ER Modelling In Practice1 HSQ - DATABASES & SQL And Franchise Colleges 09 (a) ER Modelling In Practice DIGITAL VOICE SYSTEM.

Slides:



Advertisements
Similar presentations
ER Model For a college DB
Advertisements

Aspire Vertical Markets Manufacturing and Warehouse Solutions.
The Complete Administration System for the Domiciliary Care Provider.
Exercise 1 Consider the ER diagram below. Assume that an employee may work in up to two departments or may not be assigned to any department. Assume that.
Chapter 5 Normalization of Database Tables
Relationships Relational Database. Identifying Entities… In the previous tutorial you learnt about identifying entities in a flat file database. Also.
Entity-Relationship Modeling (ER-M)
1 SA0951a Entity-Relationship Modelling. 2 What is it about? ER model is used to show the Conceptual schema of an organisation. Independent of specific.
ER Modeling Case Studies
Section 09ER Decomposition Of Many To Many1 HSQ - DATABASES & SQL And Franchise Colleges 09 ER Decomposition of Many-to-Many.
JAVA Coursework (the same for 2A and 2B). Fundamental Information The coursework is 30 marks in your O’Level = 15% of the exam Must be word processed.
ENTITY RELATIONSHIP MODELLING
Section 07 (a)DFD to ERD Link1 HSQ - DATABASES & SQL By MANSHA NAWAZ 07 (a) - DFD to ERD Link And Franchise Colleges.
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
ER Modelling III Example Digital Voice Systems Data Modelling Deriving Tables Types Mapping to SQL DDL.
From Class Diagrams to Databases. So far we have considered “objects” Objects have attributes Objects have operations Attributes are the things you record.
Agenda for Week 1/31 & 2/2 Learn about database design
Database Design Concepts Info1408
CMSC 414 Computer and Network Security Lecture 9 Jonathan Katz.
Lecture 10 Conversion to tables Database Design Concepts INFO1408.
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
Database Design Concepts INFO1408 Term 2 week 1 Data validation and Referential integrity.
Databases and Database Management Systems
Database Design Concepts Info1408
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
Prevalent Database Models (Advantages of a database over flat files)
Entity/Relationship Modelling
WJEC Applied ICT Databases – Attributes & Entities Entities A database contains one or more related tables. Each table holds all of the information.
This is the way an organisation distributes the data across its network. It uses different types of networks to communicate the information across it.
Entity Relationship Model Chapter 6. Basic Elements of E-R Model Entity Object of the real world that stores data. Eg. Customer, State, Project, Supplier,
CS2008/CS5035 Exam Preparation. Dept. of Computing Science, University of Aberdeen2 Organization of Lecture Notes Group 1 - SQL –L1 – Introduction –L2.
Structured Analysis Techniques
Sayed Ahmed Logical Design of a Data Warehouse.  Free Training and Educational Services  Training and Education in Bangla: Training and Education in.
Database Systems Marcus Kaiser School of Computing Science Newcastle University.
Limitations of the relational model. Just as the relational model supplanted the network and hierarchical model so too will the object – orientated model.
Local Area Networks (LAN) are small networks, with a short distance for the cables to run, typically a room, a floor, or a building. - LANs are limited.
Conversion from ER diagram to relational model
Data Modelling – ERD Entity Relationship Diagram’s Entity Relationship Diagrams and how to create them. 1.
Digit Sums of the factors of a number An Investigation.
Aspire Vertical Markets Healthcare Solutions (Doctor’s office and Clinics)
IT Technical Support 1. Introduction Technical support personnel offer support for individual and organizations in a variety of ways. This module focuses.
RDBMSSection Relational DBMS DATABASE DEVELOPMENT And Franchise Colleges By MANSHA NAWAZ.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
Information Systems & Databases 2.2) Organisation methods.
Organizing Data and Information. What is Data?? Numbers, characters, images, or other method of recording, in a form which can be assessed by a human.
CS370 Spring 2007 CS 370 Database Systems Lecture 4 Introduction to Database Design.
Entity-Relationship (ER) Modelling ER modelling - Identify entities - Identify relationships - Construct ER diagram - Collect attributes for entities &
Section 08 (a)ER Modelling In Practice1 HSQ - DATABASES & SQL And Franchise Colleges 08 (a) ER Modelling In Practice QUICKHIRE Car Company.
DATABASE What exactly is a database How do databases work? What's the difference between a spreadsheet database and a "real" database?
Higher English Close Reading Types of Questions Understanding Questions Tuesday 8 OctoberCMCM1.
Microsoft ® Office Excel 2003 Training Using XML in Excel SynAppSys Educational Services presents:
Close Reading Intermediate 2. Time The Close Reading exam paper lasts for one hour. (Date and time for 2011: Friday 13 May, 1.00pm to 2.00pm.) NAB: Friday.
Section 11ER Tables1 HSQ - DATABASES & SQL And Franchise Colleges 11 ER Tables By MANSHA NAWAZ.
1 Chapter Overview Managing Object and Container Permissions Locating and Moving Active Directory Objects Delegating Control Troubleshooting Active Directory.
Week 2 Introduction to Data Modelling
Lecture 10 Page 1 CS 111 Summer 2013 File Systems Control Structures A file is a named collection of information Primary roles of file system: – To store.
Instructor: Pavlos Pavlikas1 How Data is Stored Chapter 8.
Sample Table Standard Notation Entity name in uppercase
Btec National - IT SYSTEMS ANALYSIS AND DESIGN 1 IT Systems Analysis and Design Entity Relationship Diagrams.
1 A Very Brief Introduction to Relational Databases.
Conversion from ER diagram to relational model 1 ER is a visual model The relational model is a matemathical model.
1 CS 430 Database Theory Winter 2005 Lecture 3: A Fifty Minute Introduction to Data Modeling.
Rationale Databases are an integral part of an organization. Aspiring Database Developers should be able to efficiently design and implement databases.
Chapter 27 Network Management Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Let try to identify the conectivity of these entity relationship
Creating a database table
INTRODUCING DATABASES
Database Management system
Database Management system
eSeries Entities By Julie Ladner
Presentation transcript:

Section 09 (a)ER Modelling In Practice1 HSQ - DATABASES & SQL And Franchise Colleges 09 (a) ER Modelling In Practice DIGITAL VOICE SYSTEM

Section 09 (a)ER Modelling In Practice2 Case Study : Digital Voice System This lecture introduces the Digital Voice Systems Scenario The lecture uses a brief version of the scenario to introduce you to the model. The full scenario and solution is on the website - you need to attempt the full scenario yourself.

Section 09 (a)ER Modelling In Practice3 Modern private digital voice systems exchanges are basically complex computer systems. Private digital telephone networks are often used by organisations with a number of multi- building sites. These sites would be distributed around the country, each site would have one or more digital exchanges. At each site there would be a number of employees directly involved in the running of the voice systems. In particular a system would have to keep track of a telephone exchange manager for each site as well as the telephone operators. These digital exchanges are capable of providing a continual log of their activity. Every call is logged providing information as below: Outgoing calls: source extension, destination number, charge band. Incoming calls: destination extension, duration of call, number of rings before answered etc. Clearly details of many employees would need to be recorded together with the details of their associated telephone extensions. In practice employees might have more than one extension. Some employees also might share extensions and the system would have to be capable of coping with this. Organisations would divide their employees into departments. Calls would be charged against these department. It will be necessary that each extension would be associated with a single department for call charging. Case Study : DIGITAL VOICE SYSTEM

Section 09 (a)ER Modelling In Practice4 Modern private digital voice systems exchanges are basically complex computer systems. Private digital telephone networks are often used by organisations with a number of multi- building sites. These sites would be distributed around the country, each site would have one or more digital exchanges. What entities can you see - a little imagination is required. Building Exchange in m 1 Site in 1 m Room 1 m on What about the relationships? Try to draw those in. Site - Building - Room; a simple hierarchy. You could also have a Floor entity - rooms are often named by building, floor, room number.

Section 09 (a)ER Modelling In Practice5 At each site there would be a number of employees directly involved in the running of the voice systems. In particular a system would have to keep track of a telephone exchange manager for each site as well as the telephone operators. Just use an Employee entity and model this with relationships. Site in 1 m Building Exchange in m 1 Site in 1 m Room 1 m on Employee operates 1 m manages (voice) 1 m Requires a Table

Section 09 (a)ER Modelling In Practice6 These digital exchanges are capable of providing a continual log of their activity. Every call is logged providing information As below: Outgoing calls: source extension, destination number, charge band. Incoming calls: destination extension, duration of call, number of rings before answered etc. How do we model this bit? Extension from 1 m Incoming Call 1 m to Outgoing Call You will need the Extension entity. (Telephone extension) Try to add appropriate relationships.

Section 09 (a)ER Modelling In Practice7 At each site there would be a number of employees directly involved in the running of the voice systems. In particular a system would have to keep track of a telephone exchange manager for each site as well as the telephone operators. Just use an Employee entity and model this with relationships. Site in 1 m Building Exchange in m 1 Site in 1 m Room 1 m on Employee operates 1 m manages (voice) 1 m Requires a Table

Section 09 (a)ER Modelling In Practice8 These digital exchanges are capable of providing a continual log of their activity. Every call is logged providing information As below: Outgoing calls: source extension, destination number, charge band. Incoming calls: destination extension, duration of call, number of rings before answered etc. How do we model this bit? Extension from 1 m Incoming Call 1 m to Outgoing Call You will need the Extension entity. (Telephone extension) Try to add appropriate relationships.

Section 09 (a)ER Modelling In Practice9 Reviewing what we have so far... Try to link these sections. –What is an extension connected to?. Site in 1 m Building Exchange in m 1 Site in 1 m Room 1 m on Employee operates 1 m manages (voice) 1 m Requires a Table Extension from 1 m Incoming Call 1 m to Outgoing Call Plugged into 1 m

Section 09 (a)ER Modelling In Practice10 Clearly details of many employees would need to be recorded together with the details of their associated telephone extensions. In practice employees might have more than one extension. Some employees also might share extensions and the system would have to be capable of coping with this. Starting from the Extension entity, how would you model this? Employee for m m m Extension Employee 1 m Now decompose it. ?? 1 m Extension Now we need a name for the new entity, attributes and a primary key. Trying asymmetric viewing: For a particular extension - what is it a list of ? All the employees with that extension number. For an individual employee - what is this a list of? The employee’s extension number (or numbers)

Section 09 (a)ER Modelling In Practice11 Naming the complex entity Any ideas for a name for this entity? How about Directory-Entry –Quite difficult to name…. Directory Entry Extension Employee 1 m 1 m for on We need an attribute for Directory-Entry. The primary key could be [ extn#, emp# ] The entity records an employee being associated with an extension. Any ideas for attributes? Would a date be appropriate? (always a useful guess) –The date the employee was given the extension number

Section 09 (a)ER Modelling In Practice12 Testing the primary key The primary key could be [ extn#, emp# ] so we do the usual test. –Make up a few rows: Now try to break the chosen primary key’ –Adding a row with the same primary key value as another row. If we assume we only hold the latest date on which an extension is allocated to an employee - then the primary key seems to be appropriate.

Section 09 (a)ER Modelling In Practice13 Organisations would divide their employees into departments. Calls would be charged against these department. It will be necessary that each extension would be associated with a single department for call charging. Try to model this …. Extension from 1 m Incoming Call 1 m to Outgoing Call EmployeeDepartment Charged to 1 m 1 m in To you to attempt (later) : –The full scenario is on the website. Try to re-model the scenario using the full scenario. –Try to derive the tables for the Digital Voice Systems model.

Section 09 (a)ER Modelling In Practice14 Specialisation Re-draw this as a specialisation structure Extension from 1 m Incoming Call 1 m to Outgoing Call InternalOutgoingIncoming call-type …….. A better structure? Specialisation provides a more powerful model for this type of situation.

Section 09 (a)ER Modelling In Practice15 End of Lecture