Your Interactive Guide to the Digital World
Discovering
Computers 2012 Chapter 10
Managing a Database
Objectives Overview
Define the term, database, and explain
how a database interacts with data and
information Define the term, database, and explain
how a database interacts with data and
information
Define the term, data integrity, and describe the qualities of valuable
information
Define the term, data integrity, and describe the qualities of valuable
information
Discuss the terms character, field, record,
and file
Discuss the terms character, field, record,
and file
Describe file maintenance techniques and validation techniques
Describe file maintenance techniques and validation techniques
Differentiate between a file processing
approach and the database approach Differentiate between a
file processing approach and the database approach
Discovering Computers 2012: Chapter 10 2
See Page 513
for Detailed Objectives
Objectives Overview
Discuss the functions common to most database management
systems
Discuss the functions common to most database management
systems
Describe characteristics of relational, object-
oriented, and multidimensional
databases
Describe characteristics of relational, object-
oriented, and multidimensional
databases
Explain how to access Web databases
Explain how to access Web databases
Identify database design guidelines and discuss
the responsibilities of database analysts and
administrators
Identify database design guidelines and discuss
the responsibilities of database analysts and
administrators
Discovering Computers 2012: Chapter 10 3
See Page 513
for Detailed Objectives
Databases, Data, and Information
Database Database
• Collection of data organized in a manner that allows access,
retrieval, and use of that data
• Collection of data organized in a manner that allows access,
retrieval, and use of that data
DataData
• Collection of unprocessed items
• Text
• Numbers
• Images
• Audio
• Video
• Collection of unprocessed items
• Text
• Numbers
• Images
• Audio
• Video
Information Information
• Processed data
• Documents
• Audio
• Images
• Video
• Processed data
• Documents
• Audio
• Images
• Video
Discovering Computers 2012: Chapter 10 4
Page 514
Discovering Computers 2012: Chapter 10 5 Pages 514 – 515
Figure 10-1
Databases, Data, and Information
• Database software, often called a database management system (DBMS), allows users to:
Discovering Computers 2012: Chapter 10 6
Page 515
Create a computerized database
Create a computerized
database Add, modify, and delete data Add, modify, and
delete data
Sort and retrieve data
Sort and retrieve data Create forms and reports from the data
Create forms and reports from the data
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
Discovering Computers 2012: Chapter 10 7
Page 516
Databases, Data, and Information
• Valuable information should have the following characteristics:
Discovering Computers 2012: Chapter 10 8
Pages 516 - 517
Accurate
Accurate VerifiableVerifiable TimelyTimely OrganizedOrganized
Accessible
Accessible UsefulUseful Cost- effective
Cost- effective
The Hierarchy of Data
• Data is organized in layers
– Files, records, fields, characters
Discovering Computers 2012: Chapter 10 9
Page 517 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
Discovering Computers 2012: Chapter 10 10
Page 518 Figure 10-3
The Hierarchy of Data
• Common data types include:
Discovering Computers 2012: Chapter 10 11
Page 518
The Hierarchy of Data
Discovering Computers 2012: Chapter 10 12
Page 519 Figure 10-4
• A record is a group of related fields
– A primary key uniquely identifies each record
• A data file is a collection of related records
Maintaining Data
• File maintenance refers to the procedures that keep data current
Discovering Computers 2012: Chapter 10 13
Page 520
Maintaining Data
• Users add new records to a file when they obtain new data
Discovering Computers 2012: Chapter 10 14
Page 520 Figure 10-5
Maintaining Data
• Users modify a record to correct inaccurate data or update old data
Discovering Computers 2012: Chapter 10 15
Page 521 Figure 10-6
Maintaining Data
• When a record no longer is needed, a user deletes it from a file
Discovering Computers 2012: Chapter 10 16
Page 522 Figure 10-7
Maintaining Data
• Validation compares data with a set of rules or values to find out if the data is correct
Discovering Computers 2012: Chapter 10 17
Pages 522 - 524
File Processing Versus Databases
Discovering Computers 2012: Chapter 10 18
Pages 524 - 526
Discovering Computers 2012: Chapter 10 19 Page 525
Figure 10-10
Discovering Computers 2012: Chapter 10 20 Page 527
Figure 10-11
Database Management Systems
• A data dictionary contains data about each file in the database and each field in those files
Discovering Computers 2012: Chapter 10 21
Pages 527 – 528 Figure 10-12
Database Management Systems
• A DBMS provides several tools that allow users
and programs to retrieve and maintain data in the database
Discovering Computers 2012: Chapter 10 22
Page 528
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
Discovering Computers 2012: Chapter 10 23
Page 528
Discovering Computers 2012: Chapter 10 24 Page 529
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
Discovering Computers 2012: Chapter 10 25
Page 530 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
Discovering Computers 2012: Chapter 10 26
Page 531 Figure 10-16
Database Management Systems
Discovering Computers 2012: Chapter 10 27
Page 531
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
Discovering Computers 2012: Chapter 10 28
Pages 531 - 532
Database Management Systems
Discovering Computers 2012: Chapter 10 29
Page 532 Figure 10-17
Relational, Object-Oriented, and Multidimensional Databases
Discovering Computers 2012: Chapter 10 30
Page 533 Figure 10-18
• A data model consists of rules and standards that define how the database organizes data
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
Discovering Computers 2012: Chapter 10 31
Page 533 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
Discovering Computers 2012: Chapter 10 32
Page 534 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:
Discovering Computers 2012: Chapter 10 33
Page 534
Relational, Object-Oriented, and Multidimensional Databases
Discovering Computers 2012: Chapter 10 34
Page 535 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
Discovering Computers 2012: Chapter 10 35
Pages 535 - 536
Web Databases
• Databases on the Web allow you to:
Discovering Computers 2012: Chapter 10 36
Page 536
Discovering Computers 2012: Chapter 10 37 Page 536
Figure 10-23
Video: How a Photo Sharing Site Keeps Its Data
Discovering Computers 2012: Chapter 10 38
CLICK TO START
Database Administration
• It is important to have a carefully designed database
Discovering Computers 2012: Chapter 10 39
Page 537 Figure 10-24
Database Administration
Database analysts and administrators are responsible for managing and coordinating all database activities Database analysts and administrators are responsible
for managing and coordinating all database activities
Database Analyst (DA) Decides on proper field placement, defines data relationship, and identifies
users’ access privileges Database Analyst (DA) Decides on proper field placement, defines data relationship, and identifies
users’ access privileges
Database Administrator (DBA) Creates and maintains the data
dictionary, manages security, monitors performance, and checks backup and recovery
procedures
Database Administrator (DBA) Creates and maintains the data
dictionary, manages security, monitors performance, and checks backup and recovery
procedures
Discovering Computers 2012: Chapter 10 40
Page 538
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
Discovering Computers 2012: Chapter 10 41
Page 538 Figure 10-25
Summary
How data and information are valuable assets to
an organization How data and information are valuable assets to
an organization
Methods for maintaining high-
quality data Methods for maintaining high-
quality data
Assessing the quality of valuable
information Assessing the quality of valuable
information
Advantages of organizing data in
a database Advantages of organizing data in
a database
Various types of databases
Various types of databases
Roles of the database analysts and administrators
Roles of the database analysts and administrators
Discovering Computers 2012: Chapter 10 42
Page 539
Your Interactive Guide to the Digital World
Discovering
Computers 2012 Chapter 10
Managing a Database
Chapter 10 Complete
8A-44
Project due Dec. 22
• Use Access to input a list of three friends including name, email address, phone number, home
address, birthday.
• Design a Christmas card.
• Use Access to send the Christmas card via email to each friend.
• Use Access and mail merge to print Christmas card and envelop to each friend.