ssn

field notes

User Tools

Site Tools


teach:lbaw:202122:lab:04

Lab #4 :: Week of 15/11/2021 §

LBAW · Databases and Web Applications Laboratory, 2021/22
L.EIC · Bachelor in Informatics and Computing Engineering
FEUP and FCUP, U.Porto

— 

Goals §

By the end of this class, the student should be able to: 

  • Develop the relational schema from the conceptual schema. 
  • Ensure that the relational schema is in the Boyce-Codd normal form (BCNF). 
  • Document the relational database schema. 

Tasks §

  • Present the artefact A4 (Conceptual Data Model). 
  • Map the classes and relationships of the conceptual schema into relation schemas. 
  • For each relation, identify the functional dependencies (FD) that apply. 
  • If the relation is not in BCNF and there are no other impediments, look for several possible decompositions (lossless) in relations in BCNF and choose the “best decomposition” (which preserves more dependencies, that makes more sense, etc. ). 
  • If there is no satisfactory decomposition to BCNF and if the relation is no longer in 3NF, consider the decomposition lossless for 3NF, preserving the functional dependencies. 
  • Test the local PostgreSQL setup and the connection to the production PostgreSQL server. 

Materials §

Summary §

  • Develop and discuss the relational schema. 
  • Normalize and refine the relational schema. 
  • Continue the development of the EBD component. 

« Previous | Index | Next » 

teach/lbaw/202122/lab/04.txt · Last modified: 2021/11/14 19:29 by ssn

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki