IS605/606: Information Systems Instructor: Dr. Boris Jukic

Slides:



Advertisements
Similar presentations
BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
Advertisements

Introduction to Databases
1 1 File Systems and Databases. 1 1 Introducing the Database 4Major Database Concepts u Data and information l Data - Raw facts l Information - Processed.
The Relational Database Model
Storing Organizational Information—Databases
Chapter 3 The Relational Model Transparencies © Pearson Education Limited 1995, 2005.
ETEC 100 Information Technology
Client/Server Databases and the Oracle 10g Relational Database
1 Basic DB Terms Data: Meaningful facts, text, graphics, images, sound, video segments –A collection of individual responses from a marketing research.
File Systems and Databases
Database Management: Getting Data Together Chapter 14.
Chapter 3. 2 Chapter 3 - Objectives Terminology of relational model. Terminology of relational model. How tables are used to represent data. How tables.
McGraw-Hill/Irwin ©2008 The McGraw-Hill Companies, All Rights Reserved DATABASES AND DATA WAREHOUSES Opening Case Searching for Revenue - Google DATABASES.
The Relational Database Model:
Ch1: File Systems and Databases Hachim Haddouti
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 3 The Relational Database Model.
Business Driven Technology Unit 2 Exploring Business Intelligence Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
BUSINESS DRIVEN TECHNOLOGY
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Michael F. Price College of Business Chapter 6: Logical database design and the relational model.
IST Databases and DBMSs Todd S. Bacastow January 2005.
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
3 The Relational Model MIS 304 Winter Class Objectives That the relational database model takes a logical view of data That the relational model’s.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Lecture 2 The Relational Model. Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical relations.
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
Database Design - Lecture 1
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
RAJIKA TANDON DATABASES CSE 781 – Database Management Systems Instructor: Dr. A. Goel.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Database Technical Session By: Prof. Adarsh Patel.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Concepts and Terminology Introduction to Database.
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 ( )
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
1 The Relational Database Model. 2 Learning Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical.
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
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Database Systems, 9th Edition 1.  In this chapter, students will learn: That the relational database model offers a logical view of data About the relational.
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 3 The Relational Database Model.
Database Systems: Design, Implementation, and Management Ninth Edition Chapter 3 The Relational Database Model.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved CHAPTER 6 DATABASES AND DATA WAREHOUSES CHAPTER 6 DATABASES AND DATA WAREHOUSES.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
1 ER Modeling BUAD/American University Mapping ER modeling to Relationships.
The Relational Model. 2 Relational Model Terminology u A relation is a table with columns and rows. –Only applies to logical structure of the database,
Introduction to Databases Dr. Osama AL Rababah. Objectives In this capture you will learn: Some common uses of database systems. The characteristics of.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 3 The Relational Database Model.
Chapter 3 The Relational Database Model. Database Systems, 10th Edition 2 * Relational model * View data logically rather than physically * Table * Structural.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 3 The Relational Database Model.
Week 2 Lecture The Relational Database Model Samuel ConnSamuel Conn, Faculty Suggestions for using the Lecture Slides.
CSCI-235 Micro-Computers in Science Databases. Database Concepts Data is any unorganized text, graphics, sounds, or videos A database is a collection.
Rationale Databases are an integral part of an organization. Aspiring Database Developers should be able to efficiently design and implement databases.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Chapter 4 Relational Databases
CHAPTER SIX OVERVIEW SECTION 6.1 – DATABASE FUNDAMENTALS
Presentation transcript:

IS605/606: Information Systems Instructor: Dr. Boris Jukic Relational Database Systems in Enterprise Information Systems

File systems File systems rely on coded file management programs to access, insert and modify their content As such, file systems are plagued by two main problems Structural dependence refers to the fact that if a file structure is changed (such as deletion or addition of a field), the related file management programs have to be modified accordingly Data dependence refers to the fact that the changes in data characteristics, such as changing a field from integer to decimal (or even just changing the length of the field), will cause the related file management programs to be changed Finally, there is a problem of data redundancy

Data Redundancy When the same data is stored in more than one location (in multiple files or multiple fields within one file) It may lead to: Data integrity (inconsistency) problems may be caused by either data entry errors or failure to update all multiple copies of the same data Data anomalies: modification, insertion and deletion

Data Redundancy in File Systems and Resulting Anomalies Modification anomaly: if PlainSounder model description changes Insertion Anomaly: if a new customer (Toyota for example) is added to the list of those who buy BetterBox product

Database Systems Database Systems achieve data independence and structural independence If data type of as filed is changed or a field is eliminated or a new one added, the existing management programs (queries) do NOT have to be modified If properly designed, databases have a low level of redundancy, eliminating most of the insertion, deletion and modification anomalies Logically related data instead of physically separated and unrelated files

Four (Logical) Data Models Hierarchical Model (Legacy) Standard tree-like structure Network Model (Legacy) More than one parent allowed Relational Model First truly data and structurally independent model No predetermined navigational maps as in two older models The Database technology of choice Object Model Tables become objects

RELATIONAL DATABASE ADVANTAGES Database advantages from a business perspective include Increased flexibility Increased scalability and performance Reduced information redundancy Increased information integrity (quality) Increased information security

Relational Database Management System In RMDBS, all data appears to be stored in a collection of tables (or relations), which are independent of one another, but can be linked through common entries in one of the tables' columns or fields (controlled redundancy) Relational Schema: The graph depicting relationship types between tables

Relational Schema

Reduced Data Redundancy Products Product Id Product Name Product Description Product Price 001 PlainSounder AM/FM Radio, 2 speakers $51.00 002 BetterBox Radio, CD, 6 Speakers $123.00 003 UltraX CD, MP3, 8 Speakers $270.00 Customer ID Customer Name Customer Location Product ID C1 Chrysler Germany 001 C2 Circuit City California H1 Hyundai Korea G1 GM Michigan 002 F1 Ford Motors H2 Honda Japan 003 B1 BMW Customers

Tables in RDBMS Tables: Logical constructs containing individual entity sets. Tables are always two-dimensional: rows and columns each row represents a single entity (or entity instance) from the entity set each (uniquely named) column represents one attribute each row-column intersection results in a single data value Each table must have a primary key : An attribute uniquely identifying each row (entity), satisfying the entity integrity conditions. Null value (no entry) is not permitted for a primary key. The order of rows and columns within the table is irrelevant Foreign Key is an attribute in one table whose values must either match the value of a primary key in another table or be set to null (no value). These conditions are known as referential integrity constraint.

Relationships within the relational database: One-to-one relationships: One-to many relationships: Examples: professor - class department - employee Many to-many relationships Examples: parts – product, student – class, … it is recommended to break it into a set (usually two) of one-to-may relationships through a so called composite (bridge) entity

Enterprise data planning A large component of the business informational needs can be captured by the mapping of all entities the organizations need to keep track of and the relationships among them E-R (Entity-Relationship) modeling is a standard technique that provides a simplified picture of the relationship among entities.

Keys and Relationships: transaction processing system example

RELATIONAL DATABASE ADVANTAGES Database advantages from a business perspective include Increased flexibility Increased scalability and performance Reduced information redundancy Increased information integrity (quality) Increased information security

Increased Flexibility A well-designed database should: Handle changes quickly and easily Provide users with different views A database has only one physical view Physical view – deals with the physical storage of information on a storage device such as a hard disk A database can have multiple logical views Logical view – focuses on how users logically access information to meet particular business needs

Increased Scalability and Performance A database must scale to meet increased demand, while maintaining acceptable performance levels Scalability – refers to how well a system can adapt to increased demands Performance – measures how quickly a system performs a certain process or transaction

Reduced Information Redundancy Databases reduce information redundancy Redundancy – the duplication of information or storing the same information in multiple places Inconsistency is one of the primary problems with redundant information

Increase Information Integrity (Quality) Information integrity – a measure of the quality of information Integrity constraints – rules that help ensure the quality of information Operational integrity constraints – rules that enforce basic and fundamental information-based constraints Business-critical integrity constraints – rules that enforce business rules vital to an organization’s success and often require more insight and knowledge than operational integrity constraints

Increased Information Security Information is an organizational asset and must be protected Databases offer several security features including: Passwords – provide authentication of the user Access levels – determine who has access to the different types of information Access controls – Determine types of user access, such as read-only access

DATABASE MANAGEMENT SYSTEMS Database management systems (DBMS) – software through which users and application programs interact with a database

INTEGRATING INFORMATION AMONG MULTIPLE DATABASES Organizations typically maintain multiple systems, each with its own database Integration – allows separate systems to communicate directly with each other

INTEGRATING INFORMATION AMONG MULTIPLE DATABASES Forward integration – takes information entered into a given system and sends it automatically to all downstream systems and processes

INTEGRATING INFORMATION AMONG MULTIPLE DATABASES Backward integration – takes information entered into a given system and sends it automatically to all upstream systems and processes

INTEGRATING INFORMATION AMONG MULTIPLE DATABASES Building a central repository specifically for integrated information