ba471 management information systems databases. database fundamentals once upon a time, there were...

19
BA471 Management Information Systems Databases

Upload: sandra-hawkins

Post on 04-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

BA471Management InformationSystems

Databases

Page 2: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

Once upon a time, there were files Containing data “Flat files” not databases

Enter data

Enter data

Enter data

OrderSystem

Orders

BillingSystem

InventorySystem

Bills

Reports

Page 3: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

Systems needed each other’s data Order data needed for bills Qty data needed for orders … etc.

Enter data

Enter data

Enter data

orders

custs

qty

OrderSystem

Orders

BillingSystem

InventorySystem

Bills

Reports

Page 4: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

So every night, data that needed to be shared had to be copied from one system to another.

What a waste of time and resources, not to mention ….redundant!

OrderInfo

CustInfo

QtyInfotransfer transfer

OrderInfo

CustInfo

OrderInfo

Page 5: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

A database is: A shared collection of data that is shared

and used for multiple purposes. Symbol =

Page 6: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

A database consists of Tables

Made up of Rows Columns

That organize data so it’s usable by people and software

Page 7: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

Advantages of database approach Minimizes redundancy Treats data as an “asset” Standardizes data “One version of the truth”

Page 8: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

Problem?

CUSTOMER

Cust. Sat.System Sales

System

BillingSystem

People

OrderSystem

Page 9: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

A DBMS is a group of programs that interface between an actual database

and a person or a PROGRAM

Page 10: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

Examples of DBMS SQL MYSQL DB2 Oracle

Page 11: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

Applications are made up of Data in databases Processes in programs

Programs change – a lot – but data is stable Creating new applications: Start with the

data (Another database advantage is that you CAN

start with the data when designing new applications.)

Page 12: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

Step 1: Define & Analyze the data Entity: A person, place, thing or event

about which you want to capture data. Relationships: Between entities. Elements or Attributes: Characteristics of

entities Allowed values

Page 13: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

Data Modeling – Designing the data A narrative & schematic model Defining entities, relationships,

elements, attributes Later, becomes a physical database

design

Page 14: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

Banking Account Data Model

Customer

AccountAccount

Type

Billing cycle

owns

has

follows

Page 15: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

Your role in Data Modeling SME Requirements analysis Data definitions

Page 16: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

In-class exercise: Western All Around Pets, Inc.

Page 17: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

WesternAll-Around Pets Pres & CEO

COO CIO

Mgr ExoticPets

Controller

Mgr DomesticPets

InventoryData

Supervisor

BusinessAnalysts

Page 18: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

Data modeling – next steps Create an ERD

Relational model Forward engineer a physical database

(DDL) Schema

Define the data Business definitions Metadata Domain

Page 19: BA471 Management Information Systems Databases. Database Fundamentals  Once upon a time, there were files Containing data “Flat files” not databases

Database Fundamentals

Data Quality issues Ways in which data quality can be

compromised Errors at data entry Software-introduced errors Deterioration over time Sabotage Honest mistakes