Database Design Concepts Info1408

Slides:



Advertisements
Similar presentations
Databases MMG508. DB Properties  Definition of a database: “A database is a collection of interrelated data items that are managed as a single unit”
Advertisements

Database Management3-1 L3 Database Management Santa R. Susarapu Ph.D. Student Virginia Commonwealth University.
Database Systems: Design, Implementation, and Management Tenth Edition
Introduction to Databases
Department of Industrial Engineering Sharif University of Technology Session# 3.
Topic Denormalisation S McKeever Advanced Databases 1.
Chapter 3 Database Management
File Systems and Databases
Concepts of Database Management Sixth Edition
File Systems and Databases Hachim Haddouti
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
Database Design concepts INFO 1408 Lecture 3 What is a database?
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
8/28/97Information Organization and Retrieval Files and Databases University of California, Berkeley School of Information Management and Systems SIMS.
System Analysis and Design
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)
Relational Databases What is a relational database? What would we use one for? What do they look like? How can we describe them? How can you create one?
Database Models. Flat File The most basic way to organize data is as a flat file. You can think of this as a single table with a large number of records.
LECTURE 2 DATABASE SYSTEM CONCEPTS AND ARCHITECTURE.
Entity Relationship Modeling
DeSiamorewww.desiamore.com/ifm1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
GIS Concepts ‣ What is a table? What is a table? ‣ Queries on tables Queries on tables ‣ Joining and relating tables Joining and relating tables ‣ Summary.
GCSE Computing: A451 Computer Systems & Programming Relational Databases Databases.
Database Design - Lecture 1
By: M.Nadeem Akhtar1 The Data Base Management System (DBMS) Ch # 09.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
Database Design - Lecture 2
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Data Modelling – ERD Entity Relationship Diagram’s Entity Relationship Diagrams and how to create them. 1.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
Concepts and Terminology Introduction to Database.
HNDComputing – DeMontfort University  DeMontfort University 2011 Database Fundamentals wk2 Database Design ConceptsDatabase Design Concepts Database Design.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Database Design Principles – Lecture 3
DataBase Management Systems Introduction to Database Technology EAK 362/2 MIS LECTURE 4 PART 1.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Chapter 5 Data Resource Management. 2 I. Why do organizations store data?  Data resources must be structured and organized in some logical manner so.
Chapter 4c, Database H Definition H Structure H Parts H Types.
 2001 Prentice Hall Business Publishing, Accounting Information Systems, 8/E, Bodnar/Hopwood A field may be a single character or number, or it.
6/2/20161 Database Systems Lecture # 3 By: Asma Ahmad Jan 21 st, 2011.
1 IRU – database design part one Geoff Leese September 2009.
Fanny Widadie, S.P, M.Agr 1 Database Management Systems.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
DeSiamorePowered by DeSiaMore1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
Msigwaemhttp//:msigwaem.ueuo.com/1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
CIS 250 Advanced Computer Applications Database Management Systems.
© 2003 Prentice Hall, Inc.3-1 Chapter 3 Database Management Information Systems Today Leonard Jessup and Joseph Valacich.
Object storage and object interoperability
1 Geog 357: Data models and DBMS. Geographic Decision Making.
Sample Table Standard Notation Entity name in uppercase
Introduction to Databases Angela Clark University of South Alabama.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
DBS201: Data Modeling. Agenda Data Modeling Types of Models Entity Relationship Model.
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.
Data Resource Management Lecture 8. Traditional File Processing Data are organized, stored, and processed in independent files of data records In traditional.
DATA MODELS.
Data Resource Management
File Systems and Databases
Databases and Structured Files: What is a database?
Database Design Hacettepe University
Chapter 17 Designing Databases
Presentation transcript:

Database Design Concepts Info1408 Lecture 4 Prevalent Database Models

Objectives To introduce the main methods of organising data for applications. Flat file Hierachical database Network Database Relational database Object oriented database

FLAT file system Ordinary operating system files Contain no information to communicate the file structure or any relationship between files This information must be provided by the … ..or the user. Do not meet the definitions of a database we identified earlier. Flat Files are often used to store information that could be stored in a database. Address File House number Street Town

FLAT file system (2) If flat files are used to store database data the DBMS has ‘ ’ to allow it to translate data from the physical (flat file) into the logical layer format Flat file systems quickly become cumbersome and difficult to maintain

Flat Files Here are some flat files grouped together by type … you can see the repeating format?

Database models The Hierarchical Model (1) Similar to an chart Think of the way we structure our personal computer files into directories and subdirectories

Hierarchical Model (2) Records are connected using ‘ ’ The pointer tells the system where the related record is physically stored ….. Much as a street address tells us where a particular building is ….. Or a URL directs us to a particular webpage Each pointer establishes a ‘parent-child relationship’

Hierarchical Model (3) Parent child relationship also known as the ‘one-to-many relationship’ One parent can have many children Each child can only have one parent (a manager is responsible for many employees but each employee has only one manager)

Hierarchical Model (4) There are problems associated with setting up and maintaining this type of database caused by the ‘parent-child relationship’ (see the text book for a detailed explanation)

Hierarchical model (5) Consider this typical business situation:- CUSTOMER Consider this typical business situation:- a customer can place many orders An order can contain many details These are known as one-to-many ORDER ORDER DETAIL

Hierarchical Model (6) But most business would also recognise that:- CUSTOMER But most business would also recognise that:- An employee can be associated with many orders A product can be specified in many order details ORDER EMPLOYEE ORDER DETAIL PRODUCT

Hierarchical Model (7) CUSTOMER But if we try and show this logical linkage we break one of the fundamental rules of the parent child relationship ….each child can only have one parent There are ways of resolving this dilemma, but they introduce complexity into the construction and maintenance of the database …. Something we want to avoid (see the text book for a detailed explanation) ORDER EMPLOYEE ORDER DETAIL PRODUCT

Database Models The Network Model (2) In some ways similar to the hierarchical model in that pointers are used to link files. Pathways are more numerous and can be thought of as circular which quickly leads to Rather like walking through a forest – with multiple pathways to get to the desired destination. Maintenance overhead for technicians in keeping the ‘route map’ up to date becomes prohibitive

Network Model beware of complex pathways! (see the text book for a detailed explanation) ORDER ORDER DETAILS CUSTOMER EMPLOYEE PRODUCTS NEXT ORDER FOR THIS EMPLOYEE NEXT CUSTOMER OTHER ORDERS FOR THIS PRODUCT

Database Models The RELATIONAL Model (3) Was a truly revolutionary approach Flexible, no pre-defined pathways Ideal for ‘ ‘ queries Relates records as they are needed Instead of pointers locating physical file locations common data items (keys) are used to identify logical links between records Uses the one-to-many concept

The RELATIONAL Model The diagramming technique is known as the (ERD) CUSTOMER These are the entities ….. Things that the business wishes to keep information about CUSTOMER ORDER ORDER DETAIL CUSTOMER

The RELATIONAL Model The lines show the connections between the entities … and express the ‘one-to-many’ relationship The M denotes the ‘many’ end of the relationship CUSTOMER 1 m EMPLOYEE ORDER 1 m 1 m ORDER DETAIL PRODUCT m 1

The RELATIONAL Model This introductory module will focus around the RELATIONAL model We will look at how to draw ERD’s Refine them Implement them as databases that can function to supply real information from raw data.

Database Models The Object Oriented model (4) This is a newer model that uses the idea of objects to store data. This model is not yet fully implemented but much research is going into it’s development.

Summary We have looked at the four database models Hierachical Network Relational Object oriented

References Databases Demystified By Andy Oppel Published by McGraw Hill.