SlideServe
Menu
Préférences
© SlideServe · v2026

Database Management System

jacksonmark avatar
27 diapositives · 1.1K Views · Jan 03, 2020

Learn the step-by-step process for efficient and accurate database design through normalization. Uncover the importance of normalizing relations and identifying functional dependencies. Find out how to apply normalization concepts on practical examples.

Database Management System - slide 1
01 / 27Database Management System
1 / 17

Télécharger la présentation

Database Management System
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. DatabaseManagement System Lecture - 11

  2. Normalization Summary • A step by step process to make DB design more efficient and accurate • A strongly recommended activity performed after the logical DB design phase

  3. Normalization Summary • Un-normalized relations are more prone to errors or inconsistencies • Normalization is based on the FDs • FDs are not created rather identified by the designer/analyst

  4. Normalization Summary • Normalization forms exist up to 6NF, however, for most of the situations 3NF is sufficient • Performed through Analysis or Synthesis process

  5. Normalization Example • Identify FDs • Apply on the relevant tables; see if any normalization requirement is being violated, that is, causing some anomaly

  6. Normalization Example Different Data as mentioned in the book…

  7. PROJNAME PROJMGR Some Facts 1.Each project has a unique name, but names of employees andmanagers are not unique 2.Each project has one manager, whose name is stored in PROJMGR

  8. PROJNAME, EMPID HOURS 3. Many employees may be assigned to work on each project, and an employee may be assigned to more than one project. HOURS tells the number of hours per week that a particular employee is assigned to work on a particular project

  9. PROJNAME PROJMGR, BUDGET, STARTDATE 4. Budget stores the amount budgeted for a project, and STARTDATE gives the starting date for a project

  10. EMPID SALARY 5. Salary gives the annual salary of an employee

  11. EMPID EMPMGR 6. EMPMGR gives the name of the employee’s manager, who is not the same as the project manager

  12. EMPDEPT EMPMGR 7. EMPDEPT gives the employee’s department. Department names are unique. The employee’s manager is the manager of the employee’s department

  13. PROJNAME, EMPID RATING 8. RATING gives the employee’s rating for a particular project. The project manager assigns the rating at the end of the employee’s work on that project

  14. 2 4 4 5 6 6,7 3 8 7 PROJNAME PROJMGR, BUDGET, STARTDATE EMPID EMPNAME, SALARY, EMPMGR, EMPDEPT PROJNAME, EMPID HOURS, RATING EMPDEPT EMPMGR

  15. WORK (PROJNAME, PROJMGR, EMPID, HOURS, EMPNAME, BUDGET, STARTDATE, SALARY, EMPMGR, EMPDEPT, RATING) Original relation: New relations: PROJ ( PROJNAME, PROJMGR, BUDGET, STARTDATE) EMP ( EMPID, EMPNAME, SALARY, EMPMGR, EMPDEPT) WORK ( PROJNAME, EMPID, HOURS, RATING)

  16. PROJ ( PROJNAME, PROJMGR, BUDGET, STARTDATE) EMP ( EMPID, EMPNAME, SALARY, EMPMGR, EMPDEPT) WORK ( PROJNAME, EMPID, HOURS, RATING)

  17. PROJ ( PROJNAME, PROJMGR, BUDGET, STARTDATE) EMP ( EMPID, EMPNAME, SALARY, EMPDEPT) DEPT ( EMPDEPT, EMPMGR) WORK ( PROJNAME, EMPID, HOURS, RATING)

  18. Checking for BCNF

  19. PROJNAME PROJMGR, BUDGET, STARTDATE PROJ ( PROJNAME, PROJMGR, BUDGET, STARTDATE)

  20. EMPID EMPNAME, SALARY, EMPMGR, EMPDEPT EMP ( EMPID, EMPNAME, SALARY, EMPDEPT)

  21. PROJNAME, EMPID HOURS, RATING WORK ( PROJNAME, EMPID, HOURS, RATING)

  22. EMPDEPT EMPMGR DEPT ( EMPDEPT, EMPMGR)

  23. Physical Database Design

  24. Objective • Basic goal is data processing efficiency • Transforms logical DB design into technical specifications for storing and retrieving data • Does not include practically implementing the design however tool specific decisions are involved

  25. Inputs Required • Normalized relations • Definitions of each attribute • Descriptions of data usage • Requirements for response time, data security, backup etc. • Tool to be used

  26. Decisions Involved • Choosing data types • Grouping attributes (although normalized) • Deciding file organizations • Selecting structures • Preparing strategies for efficient access

  27. DatabaseManagement System Lecture - 21