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