Database Administration


Published on

1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Database Administration

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