Semester 1 2019 Database Concepts Assignment 2 Due Date

Semester 1 2019 Database Conceptshit234 Assignment 2due Datefriday 1

Identify a business situation and design a database for it. Briefly describe the situation, including any unique or difficult aspects. Provide a list of business rules (assuming reasonable facts), draw an ER diagram (showing attributes, primary keys, and relationships using Chen and Crow's Feet notation), and map the ER diagram to a normalized schema in at least 3rd Normal Form. For normalization, determine functional dependencies and develop the relations accordingly, presenting your design in a clear textual format.

Paper For Above instruction

Designing a comprehensive database requires a systematic understanding of the business case and translating that understanding into a structured schema. This process not only involves creating an ER diagram but also ensuring that the database design adheres to normalization principles to avoid redundancy and maintain data integrity. The following paper elucidates each step required for the assignment, using a realistic business scenario, establishing solid business rules, and producing a normalized database schema.

Introduction: Understanding the Business Scenario

The focal point of this assignment is to select a real-life business environment where data management is critical. For illustration, consider a local art gallery that features artworks, artists, exhibitions, and visitors. This scenario offers multiple entities, relationships, and complex data interactions suitable for ER modeling and normalization exercises. The gallery maintains records of artworks, including their status, artists' details, scheduled exhibitions, and visitor registrations for tours or events.

Part A: Conceptual Design with ER Diagram

Business Situation Description

The art gallery aims to manage its operations efficiently by tracking artworks, the artists who create them, current exhibitions, and visitors. Each artwork has unique attributes such as title, medium, and year created, and relates to an artist with details like name and nationality. An artwork can be part of multiple exhibitions, each with specific dates and themes. Visitors register for exhibitions and may receive newsletters. The gallery needs to record which visitors attend which exhibitions and whether they have memberships or special access.

Unique aspects include managing the many-to-many relationship between artworks and exhibitions, handling memberships, and recording visitor attendance. The complexity lies in maintaining data consistency across related entities and supporting future expansion.

Business Rules

  • Each artwork is created by one or more artists.
  • An artist can create multiple artworks.
  • Each exhibition features one or several artworks.
  • Visitors can register for multiple exhibitions.
  • Visitors may be members, granting them preferential access.
  • Exhibitions have specific start and end dates.
  • The gallery maintains a record of artworks, artists, exhibitions, visitors, and registrations.
  • All artwork titles are unique within the system.

ER Diagram Development

Based on this scenario, the ER diagram encompasses entities such as Artist, Artwork, Exhibition, Visitor, and Registration. Attributes and primary keys are assigned, and relationships include:

  • Artist (ArtistID, Name, Nationality)
  • Artwork (ArtworkID, Title, Medium, YearCreated, ArtistID)
  • Exhibition (ExhibitionID, Theme, StartDate, EndDate)
  • Visitor (VisitorID, Name, MembershipStatus, ContactInfo)
  • Registration (RegistrationID, VisitorID, ExhibitionID, Date)

Relationships:

  • Artist (1) — (many) Artwork
  • Artwork (many) — (many) Exhibition (via Artwork_Exhibition associative entity)
  • Visitor (many) — (many) Exhibition (via Registration)

The ER diagram is drawn using Chen notation for entities and relationships, with clear notation for primary keys and attributes, as well as crow's foot notation for multiplicities.

Part B: Mapping ER Diagram to Normalized Schema

Functional Dependencies Analysis

The initial assumptions based on the ER diagram indicate the following dependencies:

  • ArtworkID → Title, Medium, YearCreated, ArtistID
  • ArtistID → Name, Nationality
  • ExhibitionID → Theme, StartDate, EndDate
  • VisitorID → Name, MembershipStatus, ContactInfo
  • RegistrationID → VisitorID, ExhibitionID, Date

Additionally, since an artwork can involve multiple artists, the relationship between artworks and artists is many-to-many, which requires a junction table (ArtworkArtist) with foreign keys, breaking the dependency into manageable relations.

Normalized Relations

  • Artists: (ArtistID, Name, Nationality)
  • Artworks: (ArtworkID, Title, Medium, YearCreated)
  • ArtworkArtist: (ArtworkID, ArtistID)
  • Exhibitions: (ExhibitionID, Theme, StartDate, EndDate)
  • Visitors: (VisitorID, Name, MembershipStatus, ContactInfo)
  • Registrations: (RegistrationID, VisitorID, ExhibitionID, Date)

Each relation complies with at least 3rd Normal Form: they have primary keys, no transitive dependencies, and non-key attributes are fully functionally dependent on the primary key.

Conclusion

This exercise illustrates the importance of systematically analyzing business requirements, establishing clear rules, and translating those into a logical ER model and normalized schema. The selected scenario—an art gallery—demonstrates complexities such as many-to-many relationships and special attributes that require careful normalization. By following this process, a robust, scalable database can be designed to meet operational needs and facilitate future data analysis.

References

  1. Elmasri, R., & Navathe, S. B. (2015). Fundamentals of Database Systems (7th ed.). Pearson.
  2. Date, C. J. (2004). An Introduction to Database Systems (8th ed.). Pearson.
  3. Silberschatz, A., Korth, H. F., & Sudarshan, S. (2010). Database System Concepts (6th ed.). McGraw-Hill.
  4. Hernandez, M. J. (2013). Database Design and Development (7th ed.). Cengage Learning.
  5. Coronel, C., & Morris, S. (2015). Database Systems: Design, Implementation, & Management (11th ed.). Cengage Learning.
  6. Kroenke, D. M., & Auer, D. J. (2014). Database Processing: Fundamentals, Design, and Implementation (13th ed.). Pearson.
  7. Chen, P. P. (1976). The Entity-Relationship Model—Toward a Unified View of Data. ACM Transactions on Database Systems, 1(1), 9–36.
  8. Codd, E. F. (1970). A Relational Model of Data for Large Shared Data Banks. Communications of the ACM, 13(6), 377–387.
  9. Maier, D. (1983). The Theory of Relational Databases. Computer Science Press.