RELATIONAL DATABASE MODEL

Slides:



Advertisements
Similar presentations
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module J (Office 2010 Version) Implementing.
Advertisements

McGraw-Hill/Irwin ©2005 The McGraw-Hill Companies, All rights reserved ©2005 The McGraw-Hill Companies, All rights reserved McGraw-Hill/Irwin.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module J (Office 2010 Version) Implementing.
CHAPTER 4 DATABASES AND DATA WAREHOUSES A Gold Mine of Information.
MIS DATABASE SYSTEMS, DATA WAREHOUSES, AND DATA MARTS MBNA
Chapter 3 Databases and Data Warehouses Building Business Intelligence
Chapter 3 Databases and Data Warehouses: Building Business Intelligence McGraw-Hill/Irwin Copyright © 2010 by the McGraw-Hill Companies, Inc. All rights.
Chapter 3 DATABASES AND DATA WAREHOUSES Building Business Intelligence
DATABASES AND DATA WAREHOUSES A Gold Mine of Information
Extended Learning Module J (Office 2007 Version) Implementing a Database with Microsoft Access McGraw-Hill/Irwin Copyright © 2010 by the McGraw-Hill Companies,
McGraw-Hill © 2008 The McGraw-Hill Companies, Inc. All rights reserved. Chapter 3 Building Business Intelligence Chapter 3 DATABASES AND DATA WAREHOUSES.
Chapter 3 DATABASES AND DATA WAREHOUSES Building Business Intelligence
L The Difference Between Logical and Physical Views of Information l Databases and Database Management Systems l How You Can Develop Database Applications.
Chapter 3 Databases and Data Warehouses: Building Business Intelligence Copyright © 2010 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
Chapter 3 DATABASES AND DATA WAREHOUSES Building Business Intelligence
CHAPTER 3 DATABASES AND DATA WAREHOUSES. 3-2 STUDENT LEARNING OUTCOMES 1.Describe business intelligence and its role 2.Compare databases and data warehouses.
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.
MIS DATABASE SYSTEMS, DATA WAREHOUSES, AND DATA MARTS MBNA ebay
An INTRODUCTION to MICROSOFT ACESS 2000 By Dr. Ennis-Cole.
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.
Database and Data Warehouse Module B: Designing and Building a Relational Database Chapter 3.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Next Back MAP 3-1 Management Information Systems for the Information Age Copyright 2002 The McGraw-Hill Companies, Inc. All rights reserved Chapter 3 Database.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 3 Databases and Data Warehouses: Supporting the Analytics-Driven.
Chapter 3 and Module C DATABASES AND DATA WAREHOUSES Building Business Intelligence.
Storing Organizational Information - Databases
3-1 Management Information Systems for the Information Age Copyright 2004 The McGraw-Hill Companies, Inc. All rights reserved Chapter 3 Databases and Data.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
CHAPTER 3 DATABASES AND DATA WAREHOUSES. 2 OPENING CASE STUDY Chrysler Spins a Competitive Advantage with Supply Chain Management Software Chapter 2 –
McGraw-Hill/Irwin ©2005 The McGraw-Hill Companies, All rights reserved ©2005 The McGraw-Hill Companies, All rights reserved McGraw-Hill/Irwin.
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
Chapter 3 Databases and Data Warehouses: Building Business Intelligence Copyright © 2010 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
UNIVERSITI TENAGA NASIONAL “Generates Professionals” MODULE 5 : Part 1 INTRODUCTION TO DATABASE.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module J (Office 2007 Version) Implementing.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. DATABASE.
© 2017 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Introduction to DBMS Purpose of Database Systems View of Data
©2005 The McGraw-Hill Companies, All rights reserved McGraw-Hill/Irwin
© The McGraw-Hill Companies, All Rights Reserved APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
Information Systems Today: Managing in the Digital World
Chapter 1: Introduction
Fundamentals & Ethics of Information Systems IS 201
Access Creating a Database
Chapter 4 Relational Databases
Access Creating a Database
Database Management  .
3-1 Can Companies Keep Your Personal Information Secure and Private? Databases and data warehouses are organizational repositories of informationDatabases.
Databases and Information Management
What is a Database and Why Use One?
Chapter 2 Database Environment.
Case Study Creating a Database
Database.
Data Resource Management
Databases and Data Warehouses
Business Intelligence
Databases and Information Management
Introduction to DBMS Purpose of Database Systems View of Data
Chapter 1 Database Concepts.
DATABASES WHAT IS A DATABASE?
Chapter 1: Introduction
Data Resource Management
DATABASE TECHNOLOGIES
Database & Information Systems
Chapter 1: Introduction
Presentation transcript:

RELATIONAL DATABASE MODEL Database – logical collection of information you organize and access according to the logical structure of the information Relational database – uses a series of two-dimensional tables or files to store information in the form of a database McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Databases Are… Collections of information Created with logical structures With logical ties within the information With built-in integrity constraints McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Databases – Collections of Information Databases have many tables Solomon Enterprises as a concrete provider. Tables include: Order Customer Concrete Type Employee Truck McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Databases – Collections of Information McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Databases – Created with Logical Structures In databases, row numbers are irrelevant In databases, columns have logical names such as Order Date and Customer Name Data dictionary – contains the logical structure of the information in a database McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Databases – Logical Ties within the Information Logical ties must exist between the tables Logical ties are created with primary and foreign keys Primary key – field (or group of fields in some cases) that uniquely describe each record McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Databases – Logical Ties within the Information Foreign key – primary key of one file that appears in another file Foreign keys help create relationships among tables Table = file = relation (don’t confuse yourself) McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Databases – Logical Ties within the Information McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Databases – Built-in Integrity Constraints Integrity constraint – rule that helps ensure the quality of information Examples Primary keys must be unique Foreign keys cannot be blank Sales price cannot be negative Phone numbers must have an area code McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

DBMS TOOLS Database management system (DBMS) – helps you specify the logical organization for a database and access and use the information within a database Word processing software = document Spreadsheet software = workbook DBMS software = database McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

DBMS TOOLS 5 software components DBMS engine Data definition subsystem Data manipulation subsystem Application generation subsystem Data administration subsystem McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

DBMS TOOLS McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

DBMS Engine DBMS engine – accepts logical requests, converts them into their physical equivalent, and accesses the database and data dictionary DBMS engine separates the logical from the physical McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

DBMS Engine Physical view – how information is arranged, stored, and accessed on a storage device Logical view – how you (knowledge worker) need to arrange and access information Databases – you work only with logical views McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Data Definition Subsystem Data definition subsystem – helps you create and maintain the data dictionary and define the structure of the files in a database Must create data dictionary for a database before entering any information Extended Learning Module J covers this McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Data Manipulation Subsystem Data manipulation subsystem – helps you add, change, and delete information Primary interface between you and a database Views Report generators QBE tools SQL McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Views View – allows you to see the contents of a database file Similar to a spreadsheet view Make changes Sort Query McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Views Sort Find Add a new record McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Report Generators Report generator – helps you quickly define formats of reports and what information you want to see in a report Save report formats to use later Uses a wizard interface McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Report Generators Specify the fields you want in a report Specify the layout of the report McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Report Generators McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

QBE Tools Query-by-example (QBE) tool – helps you graphically design the answer to a question “What driver most often delivers concrete to Triple A Homes?” McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

QBE Tools McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

SQL Structured query language (SQL) – standardized fourth-generation language found in most DBMSs Performs same task as QBE Uses sentence structure instead Mostly used by IT people McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Application Generation Subsystem Application generation subsystem – contains facilities to help you develop transaction-intensive applications Data entry screens (called forms in Access) Programming languages Mostly used by IT people McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Data Administration Subsystem Data administration subsystem – helps you manage the overall database environment Backup and recovery Security management Query optimization Concurrency control Change management McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Data Administration Subsystem Backup and recovery Periodically back up information Recover a database after a failure Security management Who has access to what information Who can perform CRUD tasks on information McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Data Administration Subsystem Query optimization Restructure physical view to optimize response times to queries Concurrency control What happens if two people simultaneously try to change the same information? McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.

Data Administration Subsystem Change management What is the effect of structural changes to a database? What if you add a new column? What happens if you delete a column? What happens if you change a column’s attributes? McGraw-Hill © 2007 The McGraw-Hill Companies, Inc. All rights reserved.