Chapter 8


Published on

  • Be the first to comment

  • Be the first to like this

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

No notes for slide

Chapter 8

  1. 1. Concepts of Database Management, Fifth Edition <ul><li>Chapter 8: </li></ul><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 functions are usually performed by a group </li></ul><ul><li>May refer to one person also called a database administrator </li></ul>
  5. 5. Figure 8.1: DBA Responsibilities
  6. 6. Policy Formulation and Enforcement <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. Figure 8.2: Access Privileges for Sam
  8. 8. Figure 8.3: Access Privileges for Paige
  9. 9. Figure 8.4: Access Privileges for Valerie
  10. 10. Figure 8.5: Attempted Security Violation by Brady
  11. 11. Figure 8.6: Attempted Security Violation by Paige
  12. 12. Figure 8.7: DBMS Supplies Security Features
  13. 13. Figure 8.8: Supplemented Security Features
  14. 14. Policy Formulation and Enforcement <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. Figure 8.9: Movement of Data to Archive
  16. 16. Other Database Administrative Functions <ul><li>DBMS Evaluation and Selection </li></ul><ul><ul><li>Data definition </li></ul></ul><ul><ul><li>Data restructuring </li></ul></ul><ul><ul><li>Nonprocedural languages </li></ul></ul><ul><ul><li>Procedural languages </li></ul></ul><ul><ul><li>Data dictionary </li></ul></ul><ul><ul><li>Concurrent update </li></ul></ul><ul><ul><li>Backup and recovery </li></ul></ul><ul><ul><li>Security </li></ul></ul><ul><ul><li>Integrity </li></ul></ul>
  17. 17. Other Database Administrative Functions (Con’t.) <ul><ul><li>Replication and distributed databases </li></ul></ul><ul><ul><li>Limitations </li></ul></ul><ul><ul><li>Documentation and training </li></ul></ul><ul><ul><li>Vendor support </li></ul></ul><ul><ul><li>Performance </li></ul></ul><ul><ul><li>Portability </li></ul></ul><ul><ul><li>Cost </li></ul></ul><ul><ul><li>Future plans </li></ul></ul><ul><ul><li>Other considerations </li></ul></ul>
  18. 18. Other Database Administrative Functions (Con’t.) <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>
  19. 19. Other Database Administrative Functions (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>
  20. 20. 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>
  21. 21. Figure 8.11: Interaction Between Test and Production Systems
  22. 22. 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>Create indexes, splitting tables, changing table design </li></ul></ul><ul><ul><li>Denormalization - process that creates a table not in 3NF to optimize performance </li></ul></ul><ul><ul><ul><li>JOINs may be too costly to just scan data </li></ul></ul></ul>
  23. 23. Figure 8.12: Customer Table
  24. 24. Figure 8.13a: Split Customer Table
  25. 25. Figure 8.13b: Split Customer Table
  26. 26. Figure 8.14: Including Part Descriptions in OrderLine Table
  27. 27. Summary <ul><li>Database administration (DBA) - person or group responsible for supervising database and use of database management system (DBMS) </li></ul><ul><li>DBA formulates and enforces policies about </li></ul><ul><ul><li>Users who can access database </li></ul></ul><ul><ul><li>Portions of database they may access </li></ul></ul><ul><ul><li>In what manner they can access database </li></ul></ul><ul><li>DBA formulates and enforces policies about security </li></ul>
  28. 28. Summary <ul><li>DBA </li></ul><ul><ul><li>Creates and implements backup and recovery procedures </li></ul></ul><ul><ul><li>Formulates and enforces policies that govern the management of an archive for data </li></ul></ul><ul><ul><li>Leads effort to evaluate and select new DBMS </li></ul></ul><ul><ul><li>Installs and maintains DBMS after it has been selected and procured </li></ul></ul><ul><ul><li>Maintains data dictionary, establishes naming conventions for its contents, and provides information from it to others in the organization </li></ul></ul>
  29. 29. Summary <ul><li>DBA </li></ul><ul><ul><li>Coordinates and provides database and DBMS training </li></ul></ul><ul><ul><li>Verifies all information-level database designs, completes all physical-level database designs, and creates documentation standards </li></ul></ul><ul><ul><li>Controls production system, which is accessible only to authorized users </li></ul></ul><ul><ul><li>Tunes database design to improve performance </li></ul></ul>