1 / 9

Class Agenda – 09/18/2012

Class Agenda – 09/18/2012. Answer questions about the exam. Define rules of thumb for database design. Evaluate each other’s database design for HW#4. Design Heuristics - 1.

cale
Download Presentation

Class Agenda – 09/18/2012

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Class Agenda – 09/18/2012 Answer questions about the exam. Define rules of thumb for database design. Evaluate each other’s database design for HW#4.

  2. Design Heuristics - 1

  3. Examine all 1:1 relationships. Determine whether the attributes could all be placed in just one of the two entities eliminating the need for one of the two entities. • In a 1:1 relationship, the foreign key can be placed in either entity. Put the foreign key in the entity that seems most logical, has the fewest number of rows and/or also will result in the fewest number of null values.

  4. Design Heuristics - 1

  5. Design Heuristics - 1

  6. Design Heuristics - 1

  7. Evaluate design homework • Break into groups • Exchange assignments • Put your name (as the “evaluator”) on the back of the assignment • Evaluate the syntax and logic of the design

  8. “Syntax” Database Modeling Issues Does the diagram contain entities, attributes, primary keys and relationships? Is it structured using the modeling format discussed in this class? Does each entity have a primary key? Is the primary key labeled as a primary key? Is each relationship labeled with a verb or verb phrase? Does each relationship have a foreign key? Is the foreign key labeled as a foreign key?

  9. “Logic” Database Modeling Issues • Is all necessary data represented on the model? What’s missing? • Is the data grouped correctly with the appropriate entity? • Does each entity have a primary key that will yield a unique value for each row? • Are the entities related accurately? • Are the cardinalities of the relationships accurate? • Are there any M:N relationships? • Will the design yield redundant data?

More Related