Top Banner
Concepts of Database Concepts of Database Management, Fifth Management, Fifth Edition Edition Chapter 8: Chapter 8: Database Administration Database Administration
29
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Chapter 8

Concepts of Database Concepts of Database Management, Fifth Management, Fifth

EditionEdition

Chapter 8: Chapter 8:

Database AdministrationDatabase Administration

Page 2: Chapter 8

2Concepts of Database Management, 5th Edition

Objectives

Discuss the need for database administration (DBA)

Explain the DBA’s responsibilities in formulating and enforcing database policies for access privileges, security, disaster planning, and archiving

Discuss the DBA’s administrative responsibilities for DBMS evaluation and selection, DBMS maintenance, data dictionary management, and training

Page 3: Chapter 8

3Concepts of Database Management, 5th Edition

Objectives

Discuss the DBA’s technical responsibilities for database design, testing, and performance tuning

Page 4: Chapter 8

4Concepts of Database Management, 5th Edition

Database Administration (DBA)

Resource that supervises database and use of DBMS

DBA functions are usually performed by a group

May refer to one person also called a database administrator

Page 5: Chapter 8

5Concepts of Database Management, 5th Edition

Figure 8.1:DBA Responsibilities

Page 6: Chapter 8

6Concepts of Database Management, 5th Edition

Policy Formulation and Enforcement

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

Page 7: Chapter 8

7Concepts of Database Management, 5th Edition

Figure 8.2: Access Privileges for Sam

Page 8: Chapter 8

8Concepts of Database Management, 5th Edition

Figure 8.3: Access Privileges for Paige

Page 9: Chapter 8

9Concepts of Database Management, 5th Edition

Figure 8.4: Access Privileges for Valerie

Page 10: Chapter 8

10Concepts of Database Management, 5th Edition

Figure 8.5: Attempted Security Violation by Brady

Page 11: Chapter 8

11Concepts of Database Management, 5th Edition

Figure 8.6: Attempted Security Violation by Paige

Page 12: Chapter 8

12Concepts of Database Management, 5th Edition

Figure 8.7: DBMS Supplies Security Features

Page 13: Chapter 8

13Concepts of Database Management, 5th Edition

Figure 8.8: Supplemented Security Features

Page 14: Chapter 8

14Concepts of Database Management, 5th Edition

Policy Formulation and Enforcement

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

Page 15: Chapter 8

15Concepts of Database Management, 5th Edition

Figure 8.9:Movement of Data to Archive

Page 16: Chapter 8

16Concepts of Database Management, 5th Edition

Other Database Administrative Functions

DBMS Evaluation and Selection Data definition Data restructuring Nonprocedural languages Procedural languages Data dictionary Concurrent update Backup and recovery Security Integrity

Page 17: Chapter 8

17Concepts of Database Management, 5th Edition

Other Database Administrative Functions (Con’t.)

Replication and distributed databases Limitations Documentation and training Vendor support Performance Portability Cost Future plans Other considerations

Page 18: Chapter 8

18Concepts of Database Management, 5th Edition

Other Database Administrative Functions (Con’t.)

DBMS Maintenance

Configuration changes

Upgrades for new releases

Problem resolution

Page 19: Chapter 8

19Concepts of Database Management, 5th Edition

Other Database Administrative Functions (Con’t.)

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

Page 20: Chapter 8

20Concepts of Database Management, 5th Edition

Technical 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

Page 21: Chapter 8

21Concepts of Database Management, 5th Edition

Figure 8.11: Interaction Between Test and Production Systems

Page 22: Chapter 8

22Concepts of Database Management, 5th Edition

Technical Functions (con’t.)

Performance Tuning

DBA attempts to get best performance with funding constraints

Create indexes, splitting tables, changing table design

Denormalization - process that creates a table not in 3NF to optimize performance

JOINs may be too costly to just scan data

Page 23: Chapter 8

23Concepts of Database Management, 5th Edition

Figure 8.12: Customer Table

Page 24: Chapter 8

24Concepts of Database Management, 5th Edition

Figure 8.13a: Split Customer Table

Page 25: Chapter 8

25Concepts of Database Management, 5th Edition

Figure 8.13b: Split Customer Table

Page 26: Chapter 8

26Concepts of Database Management, 5th Edition

Figure 8.14: Including Part Descriptions in OrderLine Table

Page 27: Chapter 8

27Concepts of Database Management, 5th Edition

Summary Database administration (DBA) - person or group

responsible for supervising database and use of database management system (DBMS)

DBA formulates and enforces policies about

Users who can access database

Portions of database they may access

In what manner they can access database

DBA formulates and enforces policies about security

Page 28: Chapter 8

28Concepts of Database Management, 5th Edition

Summary DBA

Creates and implements backup and recovery procedures

Formulates and enforces policies that govern the management of an archive for data

Leads effort to evaluate and select new DBMS Installs and maintains DBMS after it has been

selected and procured Maintains data dictionary, establishes naming

conventions for its contents, and provides information from it to others in the organization

Page 29: Chapter 8

29Concepts of Database Management, 5th Edition

Summary DBA

Coordinates and provides database and DBMS training

Verifies all information-level database designs, completes all physical-level database designs, and creates documentation standards

Controls production system, which is accessible only to authorized users

Tunes database design to improve performance