Skill Development Lecture Slides
Skill Development Lecture Slides
Instructor:
Hamza Naveed
Email ID: [email protected]
Course Introduction
3
Objectives Overview
Describe
Discuss the functions
characteristics of
common to most
relational, object-
database
oriented, and
management
multidimensional
systems
databases
Identify database
design guidelines
Explain how to
and discuss the
access Web
responsibilities of
databases
database analysts
and administrators
4
Databases, Data, and Information
Database Data Information
• Collection of • Collection of • Processed
data unprocessed data
organized in items • Documents
a manner • Text • Audio
that allows • Numbers • Images
access, • Images Video
retrieval, • Audio
and use of
that data • Video
5
Databases, Data, and Information
6
Databases, Data, and Information
• Database software, often called a database management
system (DBMS), allows users to:
Create a
Add, modify, and Sort and retrieve
computerized
delete data data
database
7
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
8
Databases, Data, and Information
• Valuable information should have the following characteristics:
Organize
Accurate Verifiable Timely
d
Accessibl Cost-
Useful
e effective
9
The Hierarchy of Data
• Data is organized in layers
• Files, records, fields, characters
10
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
11
The Hierarchy of Data
• Common data types include:
AutoNumb
Text Numeric Currency
er
Attachmen
Object
t
12
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
13
Maintaining Data
• File maintenance refers to the procedures that keep data
current
Modifyi Deletin
Adding
ng g
records
records records
14
Maintaining Data
• Users add new records to a file when they obtain new data
15
Maintaining Data
• Users modify a record to correct inaccurate data or update old
data
16
Maintaining Data
• When a record no longer is needed, a user deletes it from a file
17
Maintaining Data
• Validation compares data with a set of rules or values to find
out if the data is correct
Alphabetic/ Consistency
Range check
Numeric Check check
Completeness
Check digit Other checks
check
18
File Processing Versus Databases
File processing
Database approach
system
• Each department has • Programs and users
its own set of files share data
• Used for many years • Reduce data
• Have data redundancy redundancy
• Isolate data • Improve data integrity
• Share data
• Allows easier access
• Reduces development
time
• Can be more vulnerable 19
File Processing Versus Databases
20
Database
Management
Systems
21
Database Management Systems
• A data dictionary contains data about each file in the
database and each field in those files
22
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
23
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
24
Database Management Systems
25
Database Management Systems
• A form is a window on the screen that provides areas for
entering or modifying data in a database
26
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
27
Database Management Systems
Recover Continuou
Backup Log
y utility s backup
29
Database
Management
Systems
30
Relational, Object-Oriented, and
Multidimensional Databases
• A data model consists of rules and standards that define how
the database organizes data
31
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
32
Relational, Object-Oriented, and
Multidimensional Databases
• Structured Query Language (SQL) is a query language that
allows users to manage, update, and retrieve data
33
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-
aided Hypertext
design database
database
34
Relational, Object-Oriented, and
Multidimensional Databases
35
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
36
Web Databases
• Databases on the Web allow you to:
Shop for
Buy or sell Search for a
products or
stocks job
services
37
Web Databases
38
Video: How a Photo Sharing Site
Keeps Its Data
CLICK TO START
39
Database Administration
• It is important to have a carefully designed database
40
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
Decides on proper field
data dictionary, manages
placement, defines data
security, monitors
relationship, and identifies
performance, and checks
users’ access privileges
backup and recovery
procedures
41
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
42
Summary
43