Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A nonprofit organization depends on a number of different types of persons for its successful operation. The organization is interested in the following attributes for

A nonprofit organization depends on a number of different types of persons for its successful operation. The organization is interested in the following attributes for all of these persons: SSN, Name, Address, City/State/Zip, and Telephone. Three types of persons are of greatest interest: employees, volunteers, and donors. Employees have only a Date Hired attribute, and volunteers have only a Skill attribute. Donors have only a relationship (named Donates) with an Item entity type. A donor must have donated one or more items, and an item may have no donors, or one or more donors. There are persons other than employees, volunteers, and donors who are of interest to the organization so that a person need not belong to any of these three groups. On the other hand, at a given time a person may belong to two or more of these groups (e.g., employee and donor).

Solve the following:

1. A full DDL statements that includes all primary keys, unique keys, foreign keys, and, check constraints.

2. You should fill your tables with many rows (main transaction tables at least 100,000 records). It is allowed to use import data utilities(like excel .etc), or writing a transcript insert statements to create random data.

3. Writing 5 complex quires to retrieve main reports you find they important in the system.(The complex queries means it should include at least one of or more of the following: aggregate function, inline queries, correlated inner query, different types of joins, set operations etc).

4. Analysis the performance of the suggested queries and apply different techniques to enhance quires like: indexing, De-normalization.

5. Re-measure performance after applying different techniques and criticize the drawbacks of each techniques and the obtained enhancement.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Next Generation Databases NoSQLand Big Data

Authors: Guy Harrison

1st Edition

1484213300, 978-1484213308

More Books

Students also viewed these Databases questions