Mti 10002217 050525161751
Mti 10002217 050525161751
1
Databases, Data, and Information
2
DBMS
Database software, often called a database management system (DBMS),
allows users to:
3
Quality of Data
• 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
• Valuable information should have the following characteristics:
Cost-
Accessible Useful
effective
4
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
5
Types of Data
Common data types include:
Object Attachment
6
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
7
Maintaining Data
File maintenance refers to the procedures that keep data current
Adding Modifying
records records
Deleting
records
8
Maintaining Data
• Users add new records to a file when they
obtain new data
• Users modify a record to correct
inaccurate data or update old data
• When a record no longer is needed, a user
deletes it from a file
9
Maintaining Data
• Validation compares data with a set of rules or values to find out if the data is
correct
Alphabetic /
Range check Consistency check
Numeric check
10
File Processing Versus Databases
11
12
Database Management Systems
A data dictionary contains
data about each file in the
database and each field in
those files
13
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
14
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
15
In Excel 16
Database Management Systems
• A form is a window on the screen that provides areas for entering or
modifying data in a database
17
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
18
Database Management Systems
19
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
20
Relational, Object-Oriented, and
Multidimensional Databases
• A data model consists of rules and standards that define how the database
organizes data
21
Relational 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
22
Relational Databases
• Structured Query Language (SQL) is a query language that allows users to
manage, update, and retrieve data
23
Object-Oriented 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
24
Object-Oriented Databases
25
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
26
Web Databases
• Databases on the Web allow you to:
Shop for
products or Buy or sell stocks Search for a job
services
27
Web Databases
30
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
31
Summary
• Database is a collection of data organized in a manner
that allows access, retrieval, and use of the data.
• Type of database
• Database Management Systems (DBMS)
32