Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
20 views20 pages

Databases, Data, and Information: Database

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

Databases, Data, and Information: Database

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

Databases, Data, and Information

Database Data Information


• Collection of • Collection of • Processed data
data organized unprocessed • Organized
in a manner items • Meaningful
that allows • Text • Useful
access, • Numbers
retrieval, and • Images
use of that • Audio
data
• Video

Page 498 © 2016 Cengage Learning®. May not be scanned, copied o 1


r duplicated, or posted to a publicly accessible website, in
Databases, Data, and Information

Page 499 © 2016 Cengage Learning®. May not be scanned, copied o 2


Figure 11-1 r duplicated, or posted to a publicly accessible website, in
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 498 © 2016 Cengage Learning®. May not be scanned, copied o 3


r duplicated, or posted to a publicly accessible website, in
Databases, Data, and Information

• Data is organized in levels


– Characters, fields records, and files

Pages 500 - 501 © 2016 Cengage Learning®. May not be scanned, copied o 4
Figure 11-2 r duplicated, or posted to a publicly accessible website, in
Databases, Data, and Information

• 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 500 5
© 2016 Cengage Learning®. May not be scanned, copied o
Figure 11-3 r duplicated, or posted to a publicly accessible website, in
Databases, Data, and Information

• A record is a group of related fields


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

Page 501 © 2016 Cengage Learning®. May not be scanned, copied o 6


Figure 11-4 r duplicated, or posted to a publicly accessible website, in
Databases, Data, and Information

• File maintenance refers to the procedures that


keep data current

Adding Modifying Deleting


records records records

Page 502 © 2016 Cengage Learning®. May not be scanned, copied o 7


r duplicated, or posted to a publicly accessible website, in
Databases, Data, and Information

• Validation compares data with a set of rules or


values to find out if the data meets certain criteria

Alphabetic/Numeric
Range check Consistency check
check

Completeness check Check digit Other checks

Page 503 © 2016 Cengage Learning®. May not be scanned, copied o 8


r duplicated, or posted to a publicly accessible website, in
File Processing Systems and Databases

File processing system Database approach


• Each department has its • Programs and users share
own set of files data
• Redundant data • Reduced data redundancy
• Isolated data • Improved data integrity
• Shared data
• Easier access
• Reduced development
time

Pages 504 - 506 © 2016 Cengage Learning®. May not be scanned, copied o 9
r duplicated, or posted to a publicly accessible website, in
File Processing Systems and Databases

Page 505 © 2016 Cengage Learning®. May not be scanned, copied o 10


Figure 11-6 r duplicated, or posted to a publicly accessible website, in
File Processing Systems and Databases

• Disadvantages of a database approach


– Can be more complex than a file processing system
– Require more memory and processing power
– Data can be more vulnerable

Page 506 © 2016 Cengage Learning®. May not be scanned, copied o 11


r duplicated, or posted to a publicly accessible website, in
File Processing Systems and Databases

• Web databases offer information about:


Television
Jobs Travel Destinations
programming

Local and
Photos Movies Videos national
weather

Sporting Legislative
events information

© 2016 Cengage Learning®. May not be scanned, copied


Page 506 or duplicated, or posted to a publicly accessible website, 12
in whole or in part.
File Processing Systems and Databases

Page 507 © 2016 Cengage Learning®. May not be scanned, copied o 13


r duplicated, or posted to a publicly accessible website, in
File Processing Systems and Databases

• A data model defines how users view the


organization of the data

Multidimensional
Relational Object-oriented
and other
database database (OODB)
database types

Page 508 © 2016 Cengage Learning®. May not be scanned, copied o 14


r duplicated, or posted to a publicly accessible website, in
Database Management Systems

• A data dictionary contains data about each file in


the database and each field in those files

Page 510 © 2016 Cengage Learning®. May not be scanned, copied o 15


Figure 11-7 r duplicated, or posted to a publicly accessible website, in
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 writer

Page 511 © 2016 Cengage Learning®. May not be scanned, copied o 16


r duplicated, or posted to a publicly accessible website, in
Database Management Systems
• A query is a request for specific data from the database
• A query language consists of simple, English-like statements that
allow users to specify the data to display, print, store, update, or
delete
• Structured Query Language (SQL) is a popular query language that
allows users to manage, update, and retrieve data

Pages 511 - 512 © 2016 Cengage Learning®. May not be scanned, copied o 17
r duplicated, or posted to a publicly accessible website, in
Database Management Systems

• Most DBMSs include query by example (QBE), a


feature that has a graphical user interface to assist
users with retrieving data

Page 512 © 2016 Cengage Learning®. May not be scanned, copied o 18


Figure 11-9 r duplicated, or posted to a publicly accessible website, in
Database Management Systems

A DBMS provides means to


ensure that only authorized
users access data
• Access privileges
• Principle of least privilege policy
Page 513 © 2016 Cengage Learning®. May not be scanned, copied o 19
r duplicated, or posted to a publicly accessible website, in
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
Page 515 © 2016 Cengage Learning®. May not be scanned, copied o 20
r duplicated, or posted to a publicly accessible website, in

You might also like