0% found this document useful (0 votes)
6 views42 pages

Chapter 10

The document provides an overview of databases, including definitions, characteristics, and the importance of data integrity. It discusses various database management systems, their functions, and the roles of database analysts and administrators. Additionally, it highlights the differences between file processing systems and database approaches, as well as the types of databases available.

Uploaded by

lnaaz645
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views42 pages

Chapter 10

The document provides an overview of databases, including definitions, characteristics, and the importance of data integrity. It discusses various database management systems, their functions, and the roles of database analysts and administrators. Additionally, it highlights the differences between file processing systems and database approaches, as well as the types of databases available.

Uploaded by

lnaaz645
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Discovering

Computers 2012
Your Interactive Guide
to the Digital World
Objectives Overview

Define the term,


Define the term, data
database, and explain Discuss the terms
integrity, and describe
how a database character, field, record,
the qualities of valuable
interacts with data and and file
information
information

Describe file Differentiate between a


maintenance file processing
techniques and approach and the
validation techniques database approach

See Page 513 2


for Detailed Objectives Discovering Computers 2012: Chapter 10
Objectives Overview

Describe characteristics
Discuss the functions
of relational, object-
common to most
oriented, and
database management
multidimensional
systems
databases

Identify database design


guidelines and discuss
Explain how to access
the responsibilities of
Web databases
database analysts and
administrators
See Page 513 3
for Detailed Objectives Discovering Computers 2012: Chapter 10
Databases, Data, and Information

Database Data Information

• Collection of • Collection of • Processed data


data organized unprocessed • Documents
in a manner items • Audio
that allows • Text • Images
access, • Numbers
retrieval, and • Video
• Images
use of that
data • Audio
• Video

Page 514 4
Discovering Computers 2012: Chapter 10
Databases, Data, and Information

Pages 514 – 515 5


Discovering Computers 2012: Chapter 10
Figure 10-1
Databases, Data, and Information

• Database software, often called a database


management system (DBMS), allows users to:

Create a computerized Add, modify, and


database delete data

Create forms and


Sort and retrieve data
reports from the data

Page 515 6
Discovering Computers 2012: Chapter 10
Databases, Data, and Information

• Data integrity identifies the quality of the data


• Garbage in, garbage out (GIGO) points out the
accuracy of a computer’s output depends on the
accuracy of the input

Page 516 7
Discovering Computers 2012: Chapter 10
Databases, Data, and Information

• Valuable information should have the following


characteristics:

Accurate Verifiable Timely Organized

Cost-
Accessible Useful
effective

Pages 516 - 517 8


Discovering Computers 2012: Chapter 10
The Hierarchy of Data

• Data is organized in layers


– Files, records, fields, characters

Page 517 9
Discovering Computers 2012: Chapter 10
Figure 10-2
The Hierarchy of Data

• A character is one byte


– Numbers, letters, space,
punctuation marks, or
other symbols
• A field is a combination
of one or more related
characters
– Field name
– Field size
– Data type

Page 518 10
Discovering Computers 2012: Chapter 10
Figure 10-3
The Hierarchy of Data

• Common data types include:

Text Numeric AutoNumber Currency

Date Memo Yes/No Hyperlink

Object Attachment

Page 518 11
Discovering Computers 2012: Chapter 10
The Hierarchy of Data

• A record is a group of related fields


– A primary key uniquely identifies each record
• A data file is a collection of related records

Page 519 12
Discovering Computers 2012: Chapter 10
Figure 10-4
Maintaining Data

• File maintenance refers to the procedures that


keep data current

Adding Modifying
records records

Deleting
records
Page 520 13
Discovering Computers 2012: Chapter 10
Maintaining Data

• Users add new records to a file when they obtain


new data

Page 520 14
Discovering Computers 2012: Chapter 10
Figure 10-5
Maintaining Data

• Users modify a record to correct inaccurate data


or update old data

Page 521 15
Discovering Computers 2012: Chapter 10
Figure 10-6
Maintaining Data

• When a record no longer is needed, a user deletes


it from a file

Page 522 16
Discovering Computers 2012: Chapter 10
Figure 10-7
Maintaining Data

• Validation compares data with a set of rules or


values to find out if the data is correct

Alphabetic/Numeric
Range check Consistency check
check

Completeness check Check digit Other checks

Pages 522 - 524 17


Discovering Computers 2012: Chapter 10
File Processing Versus Databases

File processing system Database approach

• Each department has its • Programs and users share


own set of files data
• Used for many years • Reduce data redundancy
• Have data redundancy • Improve data integrity
• Isolate data • Share data
• Allows easier access
• Reduces development time
• Can be more vulnerable

Pages 524 - 526 18


Discovering Computers 2012: Chapter 10
File Processing Versus Databases

Page 525 19
Discovering Computers 2012: Chapter 10
Figure 10-10
Database Management Systems

Page 527 20
Discovering Computers 2012: Chapter 10
Figure 10-11
Database Management Systems

• A data dictionary contains data about each file in


the database and each field in those files

Pages 527 – 528 21


Discovering Computers 2012: Chapter 10
Figure 10-12
Database Management Systems

• A DBMS provides several tools that allow users


and programs to retrieve and maintain data in the
database Query language

Query by example

Form

Report generator

Page 528 22
Discovering Computers 2012: Chapter 10
Database Management Systems

• A query language consists of simple, English-like


statements that allow users to specify the data to
display, print, or store
• Query by example (QBE) provides a GUI to assist
users with retrieving data

Page 528 23
Discovering Computers 2012: Chapter 10
Database Management Systems

Page 529 24
Discovering Computers 2012: Chapter 10
Figure 10-13
Database Management Systems

• A form is a window on the screen that provides


areas for entering or modifying data in a database

Page 530 25
Discovering Computers 2012: Chapter 10
Figure 10-15
Database Management Systems

• A report generator allows users to design a report


on the screen, retrieve data into the report
design, and then display or print the report

Page 531 26
Discovering Computers 2012: Chapter 10
Figure 10-16
Database Management Systems

A DBMS provides means to


ensure that only authorized users
access data at permitted times
• Access privileges
• Principle of least privilege
Page 531 27
Discovering Computers 2012: Chapter 10
Database Management Systems

• A DMBS provides a variety of techniques to


restore the database to a usable form in case it is
damaged or destroyed

Backup Log

Recovery Continuous
utility backup
Pages 531 - 532 28
Discovering Computers 2012: Chapter 10
Database Management Systems

Page 532 29
Discovering Computers 2012: Chapter 10
Figure 10-17
Relational, Object-Oriented, and
Multidimensional Databases
• A data model consists of rules and standards that
define how the database organizes data

Page 533 30
Discovering Computers 2012: Chapter 10
Figure 10-18
Relational, Object-Oriented, and
Multidimensional Databases
• A relational database
stores data in tables
that consist of rows and
columns
– Each row has a primary
key
– Each column has a
unique name
• A relationship is a link
within the data

Page 533 31
Discovering Computers 2012: Chapter 10
Figure 10-20
Relational, Object-Oriented, and
Multidimensional Databases
• Structured Query Language (SQL) is a query
language that allows users to manage, update,
and retrieve data

Page 534 32
Discovering Computers 2012: Chapter 10
Figure 10-21
Relational, Object-Oriented, and
Multidimensional Databases
• An object-oriented database (OODB) stores data
in objects
• Examples of applications appropriate for an
object-oriented database include:
Multimedia Groupware
database database

Computer-
Hypertext
aided design
database
database
Page 534 33
Discovering Computers 2012: Chapter 10
Relational, Object-Oriented, and
Multidimensional Databases

Page 535 34
Discovering Computers 2012: Chapter 10
Figure 10-22
Relational, Object-Oriented, and
Multidimensional Databases
• A multidimensional database can store data in more
than two dimensions of data
– Sometimes known as a hypercube
– Can consolidate data much faster than a relational database
• A data warehouse is a huge database that stores and
manages the data required to analyze historical and
current transactions

Pages 535 - 536 35


Discovering Computers 2012: Chapter 10
Web Databases

• Databases on the Web allow you to:

Shop for
products or Buy or sell stocks Search for a job
services

Make airline Register for Check semester


reservations college classes grades

Page 536 36
Discovering Computers 2012: Chapter 10
Web Databases

Page 536 37
Discovering Computers 2012: Chapter 10
Figure 10-23
Database Administration

• It is important to have a carefully designed


database

Page 537 38
Discovering Computers 2012: Chapter 10
Figure 10-24
Database Administration

Database analysts and administrators are responsible


for managing and coordinating all database activities

Database Administrator (DBA)


Database Analyst (DA)
Creates and maintains the data
Decides on proper field
dictionary, manages security,
placement, defines data
monitors performance, and
relationship, and identifies
checks backup and recovery
users’ access privileges
procedures

Page 538 39
Discovering Computers 2012: Chapter 10
Database Administration

• Employees should learn


how to use the data in
the database effectively
– Interact with database
– Identify new data for the
database
– Maintain the database

Page 538 40
Discovering Computers 2012: Chapter 10
Figure 10-25
Summary

How data and


Methods for Assessing the
information are
maintaining high- quality of valuable
valuable assets to
quality data information
an organization

Advantages of Roles of the


Various types of
organizing data in database analysts
databases
a database and administrators

Page 539 41
Discovering Computers 2012: Chapter 10
Discovering
Computers 2012
Your Interactive Guide
to the Digital World
Chapter 10 Complete

You might also like