Professional Documents
Culture Documents
Eighth Edition
Chapter 8
Database Administration
Objectives
Discuss the need for database administration
Explain the DBAs responsibilities in formulating
and enforcing database policies for access
privileges, security, disaster planning, and
archiving
Discuss the DBAs administrative responsibilities
for DBMS evaluation and selection, DBMS
maintenance, data dictionary management, and
training
Discuss the DBAs technical responsibilities for
database design, testing, and performance tuning
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 2
Introduction
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 4
Access Privileges
DBA
Determines access privileges for all users
Enters appropriate authorization rules in DBMS
SQL GRANT statement
Access privilege policy
Documented by DBA
Approved by top-level management
Communicated by DBA to all users
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 5
Access Privileges (continued)
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 8
Security (continued)
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 9
Security (continued)
FIGURE 8-5: Attempted security violation by Brady, whos not an authorized user
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 10
Security (continued)
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 12
Disaster Planning (continued)
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 13
Archiving
FIGURE 8-7: Movement of order 51617 from the database to the archive
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 15
Other Database Administration
Functions
DBMS evaluation and selection
DBMS maintenance
Data dictionary management
Training
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 16
DBMS Evaluation and Selection
Data definition
Data restructuring
Nonprocedural languages
Procedural languages
Data dictionary
Concurrent update
Shared lock
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 17
DBMS Evaluation and Selection
(continued)
Backup and recovery
Security
Integrity
Replication and distributed databases
Limitations
Local area network (LAN)
Documentation and training
Context-sensitive help
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 18
DBMS Evaluation and Selection
(continued)
Vendor support
Performance
Portability
Intranet
Cost
Future plans
Other considerations
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 19
DBMS Maintenance
Installation of DBMS
Configuration changes
Upgrades for new releases
Problem resolution
Special one-time processing needs
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20
Data Dictionary Management
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 21
Training
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 22
Technical Functions
Database design
Testing
Performance tuning
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 23
Database Design
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 24
Testing
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 25
Testing (continued)
FIGURE 8-9: DBA controls the interaction between the test and production
systems
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 26
Performance Tuning
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 27
Performance Tuning (continued)
FIGURE 8-11: Result of splitting the Customer table into two tables
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 29
Performance Tuning (continued)
FIGURE 8-11: Result of splitting the Customer table into two tables (continued)
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 30
Performance Tuning (continued)
FIGURE 8-12: Including item descriptions in the OrderLine table, which creates
a first normal form table
2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted
in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 31
Summary