You are on page 1of 22

Chapter

11 Databases

Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Learning Objectives

1. Distinguish between the physical and logical views of data.


2. Describe how data is organized: characters, fields, records, tables, and
databases.
3. Define key fields and how they are used to integrate data in a database.
4. Define and compare batch processing and real-time processing.
5. Describe databases, including the need for databases and database
management systems (DBMS).
6. Describe the five common database models: hierarchical, network, relational,
Computing Essentials 2015

multidimensional, and object-oriented.


7. Distinguish among individual, company, distributed, and commercial databases.
8. Describe strategic database uses and security concerns.

11-2
Introduction

• Like a library, secondary storage is designed to store


information
• End users need to understand
• How information is organized in fields, records, tables and
databases
• The different types of databases and structures
• Competent end users need to be able to find
information that is stored in databases
Computing Essentials 2015

11-3
Data

• Examples of data include


• Facts or observations about people, places, things, and events
• Audio, music, photographs, and video
• Two ways to view data
• Physical view
• Logical view
Computing Essentials 2015

11-4
Data Organization

Logic view – data is organized into groups or categories


• Character
• Field
• Record
• Table
• Database

Primary Key
Computing Essentials 2015

• Unique identifier

11-5
Processing

• Batch processing
• Data is collected over a period of time and the processing happens later all at one time
Computing Essentials 2015

11-6
Processing

• Real-time processing
• Also known as online processing because it happens immediately during the transaction
Computing Essentials 2015

11-7
Databases

• Collection of integrated data


• Logically related files and records
• Databases address data redundancy
and data integrity
Advantages to having databases
• Sharing
• Security
• Less data redundancy
• Data integrity
Computing Essentials 2015

11-8
Database Management

• Database Management
System (DBMS)
• DBMS engine
• Data definition
subsystem
• Data dictionary / schema
Computing Essentials 2015

Access data dictionary form

11-9
Database Management (Cont.)

• Data manipulation subsystem


• Data Maintenance
• Analysis Tools
• Query-by-example
• Structured query language (SQL)
• Application generation
subsystem
• Data administration subsystem
Computing Essentials 2015

• Database Administrators (DBAs)


• Processing rights Access data entry form

11-10
DBMS Structure

• Database model
• DBMS programs work with data that is logically structured or arranged
• Model defined rules and standards for data in a database
• Five common data models
• Hierarchical database
• Network database
• Relational database
• Multidimensional database
• Object-oriented database
Computing Essentials 2015

11-11
Hierarchical Database

• Fields or records structured in nodes


• Nodes
• points connected like
branches of an
upside-down tree
• One parent per node
• Parent can have
several child nodes
• One-to-many relationship
Computing Essentials 2015

Return

11-12
Network Database

• Hierarchical node arrangement


• Each child node may have more
than one parent node (many-to-
many relationship)
• Pointers
• Additional connections between
parent and child
• Nodes can be reached through
multiple paths
Computing Essentials 2015

Return

11-13
Relational Database

• More flexible
• Data stored in table
called a relation
• Tables consist of rows
and columns
• Tables related via a
common data item / key
field
Computing Essentials 2015

Return

11-14
Multidimensional Database

• A variation and an extension of the relational model to include


additional dimensions, sometimes called a data cube
• Good for representing complex relationships
• Advantages over relational
• Conceptualization
• Processing speed
Computing Essentials 2015

Return

11-15
Object-Oriented Database

• Objects contain both


data and instructions
• Organize using
• Objects
• Classes
• Attributes
• Methods
Computing Essentials 2015

11-16
Types of Databases

• Individual
• Integrated files used by just one person
• Company
• Common operational or commonly used files shared in an organization
• Distributed
• Database spread geographically and accessed using database server
• Commercial
Computing Essentials 2015

• Information utilities
• Data banks available

11-17
Database Uses and Issues

• Strategic uses
• Data warehouse
• Data mining
• Security
• Databases are valuable
• Protection necessary
Computing Essentials 2015

Security: electronic
fingerprint scanner

11-18
Careers In IT

• Database administrators
• Determine the most efficient
ways to organize and access
a company’s data
• Responsible for database security
and backing up the system
• Employers look for
• Bachelors degree in Computer Science
• Technical experience
Computing Essentials 2015

• Database administrators can expect to


earn $67,000 to $98,000 annually

11-19
A Look to the Future ~ The Future of Crime Databases

• Can criminal behavior be


predicted ?
• Research institutions have
been looking into patterns
that could predict criminal
behavior
• If patterns could be found .
. . Just need to find
Computing Essentials 2015

individuals with these


characteristics

11-20
Open-Ended Questions (Page 1 of 2)

1. Describe the five logical data groups or categories.

2. What is the difference between batch processing and real-time processing?


Computing Essentials 2015

3. Identify and define the five parts of DBMS programs.

11-21
Open-Ended Questions (Page 2 of 2)

4. Describe each of the five common database models.

5. What are some of the benefits and limitations of databases? Why is


security a concern?
Computing Essentials 2015

11-22

You might also like