Database BA471 – Fall 2007 Dr. V.T. Raja Oregon State University.

Slides:



Advertisements
Similar presentations
Introduction to Databases
Advertisements

ENTITY RELATIONSHIP MODELLING
Managing data Resources: An information system provides users with timely, accurate, and relevant information. The information is stored in computer files.
ETEC 100 Information Technology
Predecessor to the Database: Traditional File Processing Records are stored in files. Programs are customized to process the data.
Introduction to Database ISYS 363. File Concepts File consists of a group of records. Each record contains a group of fields. Example: Student file –SIDSnameMajorSexGPA.
Chapter 6 Methodology Conceptual Databases Design Transparencies © Pearson Education Limited 1995, 2005.
Data Modeling with ERD ISYS 363. Entity-Relationship Diagram An entity is a “thing” in the real world, such as a person, place, event for which we intend.
Relational Model Stores data as tables –Each column contains values about the same attribute –Each column has a distinct name –Each row contains values.
Data Modeling ISYS 464. Database Design Process Conceptual database design: –The process of creating a data model independent of implementation details.
Information Technology in Organizations
Database – Part 2a Dr. V.T. Raja Oregon State University.
Modeling & Designing the Database
Compe 301 ER - Model. Today DBMS Overview Data Modeling Going from conceptual requirements of a application to a concrete data model E/R Model.
Databases Dr. V.T. Raja Oregon State University. Databases – Part 1: Outline Introduction Data Hierarchy Traditional file management Terminology Database.
Entity/Relationship Modelling
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
Data Modeling Using the Entity-Relationship Model
Entity Relationship Modelling. What is Entity Relationship Modelling? The Entity-Relationship model is – ” “ a data model for high-level descriptions.
COMPUTING FOR BUSINESS AND ECONOMICS-III. Lecture no.6 COURSE INSTRUCTOR- Ms. Tehseen SEMESTER- Summer 2010.
Databases From A to Boyce Codd. What is a database? It depends on your point of view. For Manovich, a database is a means of structuring information in.
Intro to MIS – MGS351 Databases and Data Warehouses Chapter 3.
Database. Basic Definitions Database: A collection of related data. Database Management System (DBMS): A software package/ system to facilitate the creation.
Web-Enabled Decision Support Systems
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
CHAPTER 5 Data and Knowledge Management. CHAPTER OUTLINE 5.1 Managing Data 5.2 Big Data 5.3 The Database Approach 5.4 Database Management Systems 5.5.
Methodology Conceptual Databases Design
CSCI 3140 Module 2 – Conceptual Database Design Theodore Chiasson Dalhousie University.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
1 Chapter 15 Methodology Conceptual Databases Design Transparencies Last Updated: April 2011 By M. Arief
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Database Organization and Design
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Databases From A to Boyce Codd. What is a database? It depends on your point of view. For Manovich, a database is a means of structuring information in.
Data and Knowledge Management
Data and Knowledge Management
Database Design 1: Introduction and Terminology CS 320.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Module 2: Information Technology Infrastructure Chapter 5: Databases and Information Management.
Technology Guide 3 Data & Database. Agenda Definition File processing problems Database Selection criteria.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
 Entity-relationship models (ERM) Entity-relationship models (ERM)  Simple E-R Diagram Simple E-R Diagram  Weak Entity Weak Entity  Strong Entity.
CPSC 603 Database Systems Lecturer: Laurie Webster II, M.S.S.E., M.S.E.E., M.S.BME, Ph.D., P.E. Lecture 2 Introduction to a First Course in Database Systems.
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Concepts 2440: 180 Database Concepts Instructor:
Database Fundamentals CSC105 Furman University Peggy Batchelor.
Organizing Data and Information
Copyright © Curt Hill Entities and Relationships The basics and what they have to do with database.
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
advanced data modeling
DatabaseIM ISU1 Fundamentals of Database Systems Chapter 3 Data Modeling Using Entity-Relationship Model.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
CHAPTER 5 Data and Knowledge Management. CHAPTER OUTLINE 5.1 Managing Data 5.2 The Database Approach 5.3 Database Management Systems 5.4 Data Warehouses.
2/20: Ch. 6 Data Management What is data? How is it stored? –Traditional management storage techniques; problems –DBMS.
Chapter 13.3: Databases Invitation to Computer Science, Java Version, Second Edition.
Entity Relationship Diagram (ERD). Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship.
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
Howard Paul. Sequential Access Index Files and Data File Random Access.
BIS 360 – Lecture Six (Part 1) Conceptual Data Modeling (Chapter 10 and partial Chapter 12)
Database -Entity-Relationship Model 2012/03/05.
Copyright © 2013 Dorling Kindersley (India) Pvt. Ltd. Management Information Systems: Managing the Digital Firm, 12eAuthors: Kenneth C. Laudon and Jane.
Intro to MIS – MGS351 Databases and Data Warehouses
Data Modeling Using the ERD
Database Development Lifecycle
Databases and Data Warehouses Chapter 3
Databases and Information Management
What is a Database and Why Use One?
Relationships—Topics
Presentation transcript:

Database BA471 – Fall 2007 Dr. V.T. Raja Oregon State University

Databases – Part 1 : Outline Introduction Data Hierarchy Traditional file management Terminology Database DBMS Database Design Entity-Relationship Diagram

Data Hierarchy Bits Bytes (Kilo, mega, giga, tera, and peta bytes) Field (e.g., SSN, Student last name) Record File (e.g., Student file) Traditional File Management System Database

Traditional File Management Each application has specific data files related to it, containing all data needed by that application. Example: University File Management Environment Application used by Registrar’s Office Application used by Financial Aid Application used by COB Application used by Athletics Department

Some disadvantages associated with traditional file management Data Redundancy Data Inconsistency Lack of Data Integrity Duplication results in a need for more (time, space and cost) resources Application/Data Dependence Data Isolation Lack of Data Security

Terminology Database : An organized collection of data that serves many applications while minimizing the disadvantages associated with the traditional file management environment DBMS : Database Management System Software that: creates/maintains a database and enables storage and extraction of data/information for different business applications

Designing Databases Whatever DBMS you use, a database is only as good as its conceptual design. The conceptual design of a database is an abstract model of the database – based on the user/business perspective. It is common to use E-R diagrams for the conceptual (logical) design of a database.

Database Design: E-R Diagram Terminologies Entity Attributes Primary Key Relationships/Associations Entity Relationship Diagrams Logical view of database Database design documentation Facilitates communication between end-user and database developer

Entity-Relationship Diagrams: Notation Entity: Name of entity enclosed in a rectangular box; Attribute: Name of attribute enclosed within an oval shaped figure; a line connects attribute to its respective parent entity. No two attributes of an entity should have same name. Relationship: Name of relationship enclosed in a diamond shape, which is placed between two entities; 2 lines are drawn – each line connects the diamond to one of the entities. Primary Key: represented by underlining the attribute(s) that form the key.

Example Draw an ERD for the following information: SID, Sname, Address, Major, Phone, , Course#, CourseTitle, Instructor name, Instructor’s office, Instructor’s Address, Instructor’s phone#, course registration, grades and teaching assignments are to be stored. A student can take many courses A course could have different instructors in different terms An instructor can teach many courses

Different Types of Relationships Different types of relationships (between entities) are possible: m or m -1 m - n Recursive IS A relationship