DATA MODELLING TOOLS FOR ORGANISING DATABASES. For a database to be organised and logical, it must be well-designed and set out. In such cases, the databases.

Slides:



Advertisements
Similar presentations
Management Information Systems, Sixth Edition
Advertisements

1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 2 Relational Theory DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH.
Accounting System Design
L ECTURE 11 – D ATA M ODELLING Data Dictionaries Entity Relationship Diagram for Data Modelling Steps to Construct Entity Relationship Diagrams Validation.
GCSE Computing#BristolMet Session Objectives# 21 MUST describe methods of validating data as it is input. SHOULD explain the use of key fields to connect.
Normalisation Ensuring data integrity in database design 1.
Database Design (Data Modeling) DCO11310 Database Systems and Design By Rose Chang.
Entity-Relationship Model and Diagrams (continued)
WELL-DESIGNED DATABASES Process faster Easy to develop and maintain Easy to read and write code.
Chapter 5 Normalization Transparencies © Pearson Education Limited 1995, 2005.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Chapter 3: Data Modeling
System Analysis and Design
Databases and Database Management Systems
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Software Development Unit 2 Databases What is a database? A collection of data organised in a manner that allows access, retrieval and use of that data.
Page 1 ISMT E-120 Desktop Applications for Managers Introduction to Microsoft Access.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Database Design Concepts
Chapter 3 The Relational Model Transparencies Last Updated: Pebruari 2011 By M. Arief
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
CREATE THE DIFFERENCE Normalisation (special thanks to Janet Francis for this presentation)
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Chapter 5 Entity–Relationship Modeling
Data Modelling – ERD Entity Relationship Diagram’s Entity Relationship Diagrams and how to create them. 1.
Concepts and Terminology Introduction to Database.
Relational databases and third normal form As always click on speaker notes under view when executing to get more information!
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
MIS 301 Information Systems in Organizations Dave Salisbury ( )
MIS 301 Information Systems in Organizations Dave Salisbury ( )
CBAD2103 Data Analysis and Modeling. Chapter 7 Conceptual Design Methodology.
Normalization (Codd, 1972) Practical Information For Real World Database Design.
Normalization Transparencies
CORE 2: Information systems and Databases NORMALISING DATABASES.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Storing Organizational Information - Databases
Information Systems & Databases 2.2) Organisation methods.
Lecture 5 Normalization. Objectives The purpose of normalization. How normalization can be used when designing a relational database. The potential problems.
Description and exemplification of entity-relationship modelling.
+ Information Systems and Databases 2.2 Organisation.
Announcements Reading for Monday –4.6 Homework 3 – Due 9/29.
Lesson 2: Designing a Database and Creating Tables.
Chapter 56 Relational Database Design Compiled by Eddie Moorcroft.
Database Concepts A database is an organized collection of logically related data. Data are raw facts.(not processed) meaningless Information processed.
Flat Files Relational Databases
1 Database Systems Entity Relationship (E-R) Modeling.
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
Fundamentals, Design, and Implementation, 9/e Appendix B The Semantic Object Model.
Dr. Andy Seddon Staffordshire UNIVERSITY School of Computing Information Modelling and the logical data structure.
Sample Table Standard Notation Entity name in uppercase
NORMALIZATION: ‘1NF’ The general rule: ‘’Any field which can have many, must have its own table’’ By Sam Beaumont.
Normalization. Overview Earliest  formalized database design technique and at one time was the starting point for logical database design. Today  is.
Database Planning Database Design Normalization.
ENTITY RELATIONSHIP DIAGRAM. Objectives Define terms related to entity relationship modeling, including entity, entity instances, attribute, relationship.
By ILTAF MEHDI (MCS, MCSE, CCNA) 1 Remember: Examination is a chance not ability. 6/12/2016.
Normalisation Unit 6: Databases. Just to recap  What is an Entity  What is an Attribute?
Starter Draw a mind map for topic 6 Databases. Objectives Revise topic CG3.6 Databases using various activities and ensure that topics covered are understood.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Chapter 8 Relational Database Design Topic 1: Normalization Chuan Li 1 © Pearson Education Limited 1995, 2005.
Databases – Exam questions
Databases and Information Management
Relational Database Model
Databases and Information Management
The ultimate in data organization
Databases 1.
Database Design Chapter 7.
Presentation transcript:

DATA MODELLING TOOLS FOR ORGANISING DATABASES

For a database to be organised and logical, it must be well-designed and set out. In such cases, the databases are able to avoid problems like data redundancy as well as security. They too can verify the integrity and validity of data. Data modelling aims to create a description of data requirements and its participants. This can be done using data dictionaries, schematic diagrams and normalisation.

What are data dictionaries? Metadata is data that describes data. This is what data dictionaries hold. They are responsible for storing each field name / attribute and providing information about this field. They can help participants or users of the database to understand better, if the content of a field is ambiguous. They can also ensure consistency in regards to data across different tables.

What information can a data dictionary hold? Exact definition of the data elements The allocations of space in the database The reliability constraints

The following was based on: Wilson, C. (2002) Information Processing and Technology. Cambridge University Press: UK p. 44 Table NameField Name Data Type Character SizeDescriptionEssential StudentsStudent_IDNumber7This is a unique number that identifies the student. It consists of the year of enrolment and the number of student based on their grade. Y SurnameText20The last name of the student FirstNameText20The name given to the student GenderText1Either an F (female) or M (male) TeachersTeacher_IDNumber7This is a unique number that identifies the staff member. The first four are the year of employment and the last three are the teacher's number in the employment staff. Y DepartmentText3This is a 3 letter code for the department, such as ENG (English); SCI (Science)

ACTIVITY 1 Answer the following, based on what you remember from the previous slides:  Data dictionaries hold metadata; which is _________ that __________ data.  Why are data dictionaries a great help to users unfamiliar with the content of the database?  A data dictionary can ensure _______________ across different tables.  What are 4 headings used in a data dictionary?

What is Normalisation? Normalisation is a process carried out in relational databases with the purpose of eliminating redundancy within the database. The set of rules that aim to reduce this redundancy are known as Normal Forms (NF).

What do normal forms do? Normal forms divide the fields in the database into two or more tables and defines the relationships between the tables. This enables the overall topic or idea for each table to be unique. Therefore, it can be said that “each table is only made up of entities from a single entity class.” * * Wilson, C. (2002) Information Processing and Technology: The HSC Course. Cambridge University Press: UK

2 steps of normal forms: (1)Initial Normal Form (INF): This separates the fields into separate tables and then each table is given a primary key. It gives more tables than would have normally been included. Its advantage is that data in one table can be edited without affecting the content of another table.

(2) Domain Key Normal Form (DKNF): This is what establishes the links between the tables as to create relationships. A field must be established which can be common to all of the tables and this will act as the relationship.

ACTIVITY 2  What does normalisation aim to eliminate?  NF is an acronym for what? And what does it do?  INF is an acronym for which stage of the normalisation process?  What is the advantage of INF?  DKNF stands for___________?  Why is the above step vital?

Example: A school database Application of the steps:

(1) INF: The data regarding teachers and students can be separated; therefore, there is one table relating to student data and another for the teaching staff. This allows student data to be changed without affecting teachers’ data in any way.

(2) DKNF: So long as INF has been correctly conducted, then there should not be any similarities between the teacher/student tables. But to establish a link, a common ground must be found – this being a field. A field such as Name is not common between the tables due to the variety of names and unsuitability for relationships in a school database. However, Class would be a suitable and relevant field to link the two tables. CLASS

What does normalisation allow?  No problems arise in modification of the database  Redundant data is eliminated  Data can be separately edited and changed without changing another table  Database uses a reduced amount of space  Logical organisation of data

What is a schematic diagram? This is a visual representation of the model of the databases’ s design, used to show the relationship between entities (Remember – an entity is like a category of data). A type of schematic diagram is the ERD (entity relationship diagram). This shows the entity types, relationships and the characteristics of the particular relationship between the entities. These relationships are marked by lines that connect the entities.

ACTIVITY 3 STUDENTS Student ID Surname FirstName Gender Year ClassCode TEACHERS Teacher ID Surname FirstName Department ClassCode CLASSES Class ID Subject ClassCode Year Day Period Using the pen tool, draw in the relationships between the entities on the right. What is the relationship between student and teacher? What is the relationship between student and classes? What is the relationship between teacher and classes? *For each, what type of relationship is it? (One-to-one; one-to-many)

ANSWE RS To view answers, right click on word and “open hyperlink”