1 / 15

Database Design Concepts and Practices

Database Design Concepts and Practices. Keith T. Weber GIS Director Idaho State University. Basic Steps in Database Design. Understand and document the business’ needs. Problem statement Business object types Business relationships Business constraints Create an ERM

monte
Download Presentation

Database Design Concepts and Practices

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. Database Design Concepts and Practices Keith T. Weber GIS Director Idaho State University

  2. Basic Steps in Database Design • Understand and document the business’ needs. • Problem statement • Business object types • Business relationships • Business constraints • Create an ERM • Data and process inventory • Develop tuple types • Tuple types to tables • Integrity • Implement the database

  3. Today’s goal • Become more familiar with database design. • Learn to read and interpret a database design.

  4. Database Design • Why spend so much time and effort? • Efficiency (speed, storage) • Client satisfaction • Flexibility • Cost savings realized

  5. Design Considerations • Basic steps (described earlier) • Data types • Normalization • With >1 table, relationships must be examined

  6. Relationships • Determine where relationships exist between tables • Determine the type of relationship that exists • One-to-one • One-to-many • Many-to-one • Many-to-Many

  7. Generic Design Symbology = Database = Table

  8. Parcels Parcel_ID TRS Value Zoning Generic Table Symbology • Table name • Divider • List of all attributes stored in this table as they will appear in the table

  9. Generic Relationship Symbology Table A • Draw schema of RDB • Determine relationship fields • Connect A_ID Relate_field Table B B_ID Relate_field

  10. Symbolizing Relationship Type Table A 1..1 1..1 • One-to-one • One-to-many • Zero? A_ID Relate_field 1..1 1..M 1..1 Table B B_ID Relate_field 1..M

  11. The Relationship Type… • Is also known as the • Cardinality (ArcGIS terminology) • Multiplicity (UML terminology)

  12. Object Oriented Design • How does it fit?

  13. Process • Inception • Elaboration • Construction • Transition

  14. Elaboration Exercise • Divide into three task force teams • Red team • Green team • Blue team • Create a list of things that are: • Red • Green • Blue • Brainstorm for 5 minutes

  15. Questions? • Your assignment • Follow the ReadMe.txt document in this week’s exercise file. • Use the exercise handout as a guideline to reading and interpreting a relational database design.

More Related