Title: Database Administration
1Chapter 8
2Objectives
- Discuss the need for database administration
(DBA) - 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
3Objectives
- Discuss the DBAs technical responsibilities for
database design, testing, and performance tuning
4Database Administration (DBA)
- Resource that supervises database and use of DBMS
- DBA is usually a group
- May refer to one person also called a database
administrator
5DBA Responsibilities Figure 8.1
6Policy Formulation and Implementation
- Access Privileges
- Users access the database only in ways in which
they are entitled - Security
- Access restrictions ensure database is secure
- Passwords, encryption, and views implement
security - Effective password protection critical
7Access Privileges for Sam Figure 8.2
8Access Privileges for Paige Figure 8.3
9Access Privileges for Valerie Figure 8.4
10Attempted Security Violation by Brady Figure 8.5
11Attempted Security Violation by Paige Figure 8.6
12DBMS Supplies Security Features Figure 8.7
13Supplemented Security Features Figure 8.8
14Policy Formulation and Implementation (cont.)
- Disaster Planning
- Protection against physical damage
- Use DBMS backup and recovery tools with
supplements where needed - Disaster recovery plan
- Archiving
- Place to keep corporate data
- Mass-storage device used for archiving
15Movement of Data to Archive Figure 8.9
16Policy Formulation and Implementation
- DBMS Evaluation and Selection
- Preparation of checklist
- Evaluation of various DBMSs according to selected
categories - Comparison of results
- DBMS Maintenance
- Configuration changes
- Upgrades for new releases
- Problem resolution
17Policy Formulation and Implementation (cont.)
- Data Dictionary Management
- Is essentially database catalog with wider range
of information - Updates the data dictionary
- Establishes naming conventions for tables,
fields, etc. - Creates data integrity rules
- Training
- How to use DBMS and database
18Technical Functions
- Database Design
- Establishes sound methodology for database design
- Creates documentation standards
- Manages changes
- Testing
- DBA controls production system
- Grants privileges to programmers to modify and
test software
19Interaction Between Test and Production
Systems Figure 8.11
20Technical Functions (cont.)
- Performance Tuning
- DBA attempts to get best performance with funding
constraints - Creating indexes, splitting tables, changing
table design - Denormalization
21Customer Table Figure 8.12
22Split Customer Table Figure 8.13a
23Split Customer Table Figure 8.13b
24Including Part Descriptions in OrderLine Table
Figure 8.14