databases. -2 competencies distinguish between the physical and logical view of data describe how...

20
DATABASES

Upload: spencer-gregory

Post on 21-Jan-2016

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

DATABASES

Page 2: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-2

Competencies

Distinguish between the physical and logical view of data

Describe how data is organized

Describe databases

Describe the five data models

Distinguish among the different databases

Recognize strategic database uses & security concerns

Page 3: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-3

Data

Facts or observations about people, places, things, and events

Two ways to view data

Physical view

Logical view

Page 4: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-4

Data Organization

Character

Field

Record

File

Database

Page 5: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-5

Key Field

Unique identifier

Common examples

Social security number

Driver’s license

Credit card account

Page 6: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-6

Batch Versus Real-Time Processing

Batch processing -- later

Real-time processing -- now

Batch Processing

Page 7: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-7

Real-Time Processing

Page 8: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-8

Databases

Sharing – one department to another

Security – passwords to access

Less data redundancy

Data integrity

Page 9: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-9

Database Management

DBMS engine

Data definition subsystem

Data manipulation subsystemQuery-by-example

Structured query language (SQL)

Application generation subsystem

Data administration subsystem

Page 10: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-10

DBMS Structure

Hierarchical database

Network database

Relational database

Multidimensional database

Object-oriented database

Page 11: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-11

Hierarchical Database

Fields or records are structured in nodes

Nodes are point connected like branches

One parent per node

Parent has several child nodes

Airlines may use a hierarchical

database

Page 12: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-12

Network Database

Hierarchical node

arrangement

Many-to-many

relationship

Page 13: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-13

Relational Database

Most flexible

Data stored in table or relation

Tables related via a common data item

Easy to use

Page 14: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-14

Multidimensional Database

A variation and an extension of the relational model

Includes a hyper cube

Good for representing complex relationships

Advantages over relationalConceptualization

Processing speed

Page 15: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-15

Object-Oriented Database

Works with unstructured data Photographs

Graphics

Audio

Video

Objects contain both data and instructions

Page 16: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-16

Types of Databases

Individual or microcomputer database

Company or sharedOperational

User

Distributed

Proprietary

Web database

Page 17: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-17

Database Uses and Issues

Strategic usesSpecial type of database called data warehouse

Data mining used to search database

SecurityDatabases are valuable

Protection necessary

Page 18: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-18

A Look to the FutureXperanto

Enhancement to searching for data

Access to structured (relational databases) and unstructured data (word processing and spreadsheet files)

Page 19: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-19

FAQs

What is data? Name the different types of data.

What is the difference between a physical and a logical view?

What is a key field?

What is a relational database?

What are the five classifications of databases?

What is data mining?

Page 20: DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five

-20

Discussion Questions

Explain how data is organized.

Discuss the difference between batch and real-time processing.

Discuss the advantages of using a database.

Describe the five DBMS models.