* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Miami University
Survey
Document related concepts
Serializability wikipedia , lookup
Extensible Storage Engine wikipedia , lookup
Open Database Connectivity wikipedia , lookup
Entity–attribute–value model wikipedia , lookup
Oracle Database wikipedia , lookup
Ingres (database) wikipedia , lookup
Functional Database Model wikipedia , lookup
Relational algebra wikipedia , lookup
Microsoft Jet Database Engine wikipedia , lookup
Concurrency control wikipedia , lookup
Versant Object Database wikipedia , lookup
Clusterpoint wikipedia , lookup
ContactPoint wikipedia , lookup
Transcript
CSA385 – Fall 2008 – Assignment # 5 – Page: 1 of 2 Miami University School of Engineering & Applied Science Department of Computer Science & Systems Analysis CSA385 Database Systems Uckan / Fall 2008 Assignment # 5 (Group Project) November 14, 2008 DUE: December 8, 2008 You are requested to design a relational database for the ACE Video Rental Outlet, a small, familyoperated business that rents out movie feature cassettes in a small town. A preliminary feasibility study was undertaken, and the system was analyzed. Initially, the database consists of the relations VIDEO and RENTAL, defined in the relational notation as follows: VIDEO (video-number, video-title, principal-actor, principal-actress, length, purchase-price, distributor-name, distributor-address) Candidate keys: (1) video-number (2) video-title RENTAL (video-number, customer-account-no, customer-name, customer-address, rental-date, due-date) Candidate keys: (1) {video-number, customer-account-no, rental-date} (2) {video-number, customer-name, rental-date} The data names given above are reasonably descriptive, and should reflect their meaning in most cases. The following pair dependencies have been identified: video-number video-title video-number principal-actor video-number principal-actress video-number length video-number purchase-price video-number distributor-name video-number distributor-address video-title video-number video-title principal-actor video-title principal-actress video-title length video-title purchase-price video-title distributor-name video-title distributor-address distributor-name distributor-address customer-account-no customer-name customer-account-no customer-address customer-name customer-account-no customer-name customer-address {video-number, customer-account-no, rental-date} due-date {video-number, customer-name, rental-date} due-date You are asked to complete the design of this database. Please do the following: 1. Draw dependency diagrams for the relations VIDEO and RENTAL and identify their normal forms. Explain clearly why they are in those normal forms. CSA385 – Fall 2008 – Assignment # 5 – Page: 2 of 2 2. Normalize each relation until all relations in the database are in BCNF. In each step of the normalization process, clearly indicate the normal form that the considered relation is in, the reason for it, and what you are proposing to do to convert it to equivalent relations that are in a higher normal form. After the conversion, write the new relations in the relational notation, and draw dependency diagrams for them. 3. Finally, assume that we want this database to explicitly represent the entity sets VIDEOS, DISTRIBUTORS, and CUSTOMERS, and the relationship sets DISTRIBUTED-BY and RENTALS. Accordingly, make necessary changes in the relation schemas, in each case explaining your reasoning, and give the final design of the database in the relational notation. Also, draw a detailed E-R diagram for the final database. You are required to use a word processor for your text, and a graphics package for your diagrams. I will not grade assignments that contain any handwriting or free sketch drawings.