Databases Dr. V.T. Raja Oregon State University. Databases – Part 1: Outline Introduction Data Hierarchy Traditional file management Terminology Database.

Slides:



Advertisements
Similar presentations
Entity Relationship (E-R) Modeling Hachim Haddouti
Advertisements

1 Database Theoretic Basis Entity Relationship (E-R) Modeling Database Theoretic Basis Entity Relationship (E-R) Modeling.
ENTITY RELATIONSHIP MODELLING
PowerPoint Presentation by Charlie Cook Copyright © 2004 South-Western. All rights reserved. Chapter 3 Database Management Systems Database Management.
Database BA471 – Fall 2007 Dr. V.T. Raja Oregon State University.
Managing data Resources: An information system provides users with timely, accurate, and relevant information. The information is stored in computer files.
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.
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.
FIRST COURSE Microsoft Access (Basics). XP Objectives Define the terms field, record, table, relational database, primary key, and foreign key. Learn.
Relational Model Stores data as tables –Each column contains values about the same attribute –Each column has a distinct name –Each row contains values.
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.
Introduction to Database. File Formats Comma delimited file –"s1","peter",3 –"s2","paul",2.5 –"s3","mary",3.5 –Demo: Excel – Data/Import Extended Markup.
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
Class Number – CS 304 Class Name - DBMS Instructor – Sanjay Madria Instructor – Sanjay Madria Lesson Title – ER Model.
Compe 301 ER - Model. Today DBMS Overview Data Modeling Going from conceptual requirements of a application to a concrete data model E/R Model.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Entity/Relationship Modelling
Introduction to Data bases concepts
COURSE REGISTRATION SYSTEM Case study IST2101. Case Study: Course Registration (1) IST2102 You are helping Penn State create a course registration system.
Chapter 3 Data Modeling Using the Entity- Relationship (ER) Model Dr. Bernard Chen Ph.D. University of Central Arkansas.
Data Modeling Using the Entity-Relationship Model
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.
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.
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
1 Chapter 15 Methodology Conceptual Databases Design Transparencies Last Updated: April 2011 By M. Arief
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
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
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.
1 Chapter 1 Introduction. 2 Introduction n Definition A database management system (DBMS) is a general-purpose software system that facilitates the process.
Database Design 1: Introduction and Terminology CS 320.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Fanny Widadie, S.P, M.Agr 1 Database Management Systems.
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,
1 CSE 2337 Introduction to Data Management Textbook: Chapter 1.
1 Database & DBMS The data that goes into transaction processing systems (TPS), also goes to a database to be stored and processed later by decision support.
 Entity-relationship models (ERM) Entity-relationship models (ERM)  Simple E-R Diagram Simple E-R Diagram  Weak Entity Weak Entity  Strong Entity.
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Concepts 2440: 180 Database Concepts Instructor:
DatabaseCSIE NUK1 Fundamentals of Database Systems Chapter 1 Database and Database Users.
Database Fundamentals CSC105 Furman University Peggy Batchelor.
Organizing Data and Information
WXGE 6101 DATABASE CONCEPTS & IMPLEMENTATIONS. Lesson Overview The Relational Model Terminology of relational model. Properties of database relations.
Managing Data Resources. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits that represents a single.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
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)
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.
CSE 412/598 DATABASE MANAGEMENT COURSE NOTES 3. ENTITY-RELATIONSHIP CONCEPTUAL MODELING Department of Computer Science & Engineering Arizona State University.
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)
Data Modeling with ERD ISYS 363.
MBI 630: Week 9 Conceptual Data Modeling and Designing Database 6/10/2016.
Database -Entity-Relationship Model 2012/03/05.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
ENTITY RELATIONSHIP DIAGRAM. Objectives Define terms related to entity relationship modeling, including entity, entity instances, attribute, relationship.
Data Modeling Using the ERD
Database Development Lifecycle
What is a Database and Why Use One?
Presentation transcript:

Databases 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) Database

Traditional File Management Environment 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

Disadvantages associated with Traditional File Management Environment

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 A software that creates/maintains a database and enables storage and extraction of data/information for different business applications Example : Microsoft Access

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 – from the user/business perspective. It has been a common practice to use E-R diagrams for the conceptual design of a database.

Database Design: E-R Diagram Terminologies Entity (also known as an entity class) Attributes (or Attribute Types) Key Relationships/Associations Entity Relationship Diagrams Logical view of database; Database design documentation Facilitates communication between user and database developer

Entity-Relationship Diagrams Representation: Entity: Name of each entity enclosed in a separate rectangular shape figure; Attribute type: Name of attribute type enclosed within an oval/circle shaped figure; a line is drawn to connect the attribute type to its respective parent entity. No two attribute types will 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. Key: represented by underlining the attribute(s) that form the key.

Examples The following info is to be stored in a database. SID, Sname, Address, Major, Phone, , Course#, CourseTitle, Instructorname, Instructor’s office, Instructor’s Address, Instructor’s phone#, course registration, grades and teaching assignment. 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 between entities are possible: 1-1; 1-M or M-1; M-M Recursive IS A relationship