Top Banner
THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~
27

THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

THE DATABASE ENVIRONMENT

Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information.

~ T.S. Eliot ~

Page 2: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Learning Objectives

Concretize the concepts of data, information, data management and metadata

Explain what a database is and why databases are important

Describe a database management system Differentiate between the DBMS and a database Describe the different data models and abstraction

layers Explain the similarities and differences among

DBMS products Explain DBMS history and modern uses Describe how data is physically stored in primary

and secondary storage

Page 3: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Before we begin…What’s…

Data?

Information?

Data Management?

Metadata?

Query?

Page 4: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Data or Information?

Page 5: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Where’s theData?Where’s the Metadata?

Page 6: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Where is the:

Data?Meta-Data?

Page 7: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Activity: Data or Meta-Data?

1. A Zip Code: 132442. A Zip Code is 5 Characters XXXXX3. A List of First Names: Tom, Dick, Harry4. A Picture, Like This One:5. The Name of the Picture

file FrostTrees.jpg6. When you place an order, the quantity

of the item ordered must be a number >0

Page 8: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Something strange and confusing:

Data can be information: $5 (the amount of money in my wallet)

Information can be data: I calculate student final grades, then place

them on a form sent to the registrar’s office.

Metadata can be data: The names of MP3 files in your personal

collection.

Actually it’s all about context!

Page 9: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

What is it, part duex!

Database

Database Management System (DBMS)

Page 10: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Elements of a Database

Meta-Data

Data

DatabaseData-Management

Data “In”

Information “Out”

End-User

DBMS is software. It stores the data/meta data and “enables” data-management

Page 11: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Clarification via Family Guy

Brian can write his novel on a typewriter or w/pen and paper.

But there are obvious advantages to using word processing software.

Most databases use DBMS’s just like most papers are written with word processors

Database Brian’s NovelDBMS WP Software

Page 12: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Database or DBMS?

Page 13: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Database or DBMS?

Page 14: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Database or DBMS?

Page 15: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Database or DBMS?

Page 16: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Database or DBMS?

Page 17: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Database or DBMS?

Page 18: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Database or DBMS?

Page 19: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Data or Metadata?

Database?

DBMS?

Page 20: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Data or Metadata?

Database?

DBMS?

Page 21: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Evolution of DBMSs

Page 22: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Enterprise DBMS Market Share

Product Share

Oracle 44.4%

IBM (DB2) 21.2%

Microsoft (SQL Server) 18.6%

Others: (Sybase, NCR Terdata, etc…) 5.9%Open Source (MySQL, PostgreSQL, etc…)

9.9%* Source: Computerworld 2007

Page 23: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

DBMS deployment plans 2008

* source: gartner

Page 24: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

An employable skill in the future.

Source BLS: 2008http://www.bls.gov/oes/current/oes151061.htm

Page 25: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Data Models: Abstraction Levels

Conceptual

Internal

External

Physical

Logical

Highly AbstractHardware and Software

Independent

Somewhat Abstract Hardware IndependentSoftware Dependent

Not Abstract (Concrete)Hardware and Software Dependent

Page 26: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

Elements of the DBMS Approach

Enterprise Data Model Graphical model showing high-level entities and

relationships for the organization Relational Databases

Database technology involving tables (relations) representing entities and primary/foreign keys representing relationships

Use of Internet Technology Networks and telecommunications, distributed

databases, client-server and 3-tier architectures Database Applications

Application programs used to perform database activities CRUD for database users

Page 27: THE DATABASE ENVIRONMENT Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information. ~ T.S. Eliot ~

THE DATABASE ENVIRONMENT

Questions?