Can an index be built over a combination of fields as well as over a single field?

 

Assignment 1-due 8/8

  1. Describe the following disk concepts or components.
  2. Platter and recording surface.
  3. Track.
  4. Cylinder.
  5. Read/write head.
  6. Access-arm mechanism.
  7. Describe the four steps in the transfer of data from

disk to primary memory.

  1. What is an index? Compare the concept of the index

in a book to an index in an information system.

  1. What is an indexed-sequential file?
  2. Describe how a direct search works using a B+-tree

index.

  1. Answer the following general questions about

indexes:

  1. Can an index be built over a non-unique field?
  2. Can an index be built over a field if the file is not

stored in sequence by that field?

  1. Can an index be built over a combination of fields

as well as over a single field?

  1. Is there a limit to the number of indexes that can

be built for a file?

  1. How is an index affected when a change is made

to a file? Does every change to a file affect every

one of its indexes?

  1. Can an index be used to achieve sequential

access? Explain

  1. Describe how a direct search works in a hashed file

using the division-remainder method of hashing.

  1. What is physical database design?
  2. Describe why physical database design is necessary.

 

 

 

 

 

 

 

Assignment 2 due 8/15

 

 

 

 

 

Assignment 3 due 8/15

W8 Assignment “Final Project”

Database Design

Final Project

You just took a job with a University and have been asked to track some information about the courses they offer. The previous employee was using a spreadsheet to track this information. The University is expanding from three classes to three hundred classes. Enrollment is expected to increase from around 20 students to 5,000. Your supervisors are not very tech savvy and they simply ask you to continue maintaining the spreadsheet. You feel that developing a database is a better solution.

 Here is a link to the spreadsheet currently in use

Write a proposal for the new database design to include:

  • An executive summary for the database project
  • Develop main project details
    • Explain the issues that exist with maintaining the data in its current form.
    • Explain the process of migrating the data in its current form to a well formed data model by highlighting the following in detail:
      • Identify required attributes that need to be tracked
      • Identify functional dependencies
      • Show the redesign in 1NF, 2NF, and 3NF (similar to figures 7.29, 7.31, 7.33)
    • Explain the project benefits of the data in its new form.
    • Create the E-R diagram of your relational tables using MySQL Workbench and include in proposal.
    • Propose some additional data items, which you believe may be beneficial to the University if tracked in your database (i.e. Descriptions, more info about the instructors and students, departments, etc). Describe the steps required to implement these additions.
    • Identify project risks
    • In addition to the proposal, in a separate file submit:
      • Provide the SQL statement required to create at least one of your tables.
      • Provide the SQL statement required to delete at least one of your tables.
      • Provide the SQL statement required to create a view which includes Course #, Course Name, Time, and Days only.
      • Identify at least one index, which you believe would improve performance. Explain your choice.

 

 

 

Grading Criteria  Maximum Points
Develop executive summary 10
Developed project details and assumptions 10
Explained project benefits of data in new form 10
Provided ER Diagram of data in new form 10
Create SQL Statement 10
Delete SQL Statement 10
View SQL Statement 10
Proposed valid index 10
Proposed reasonable new data items to track. 10
Identified project risks 10
Total 100

 

Type of paper Academic level Subject area
Number of pages Paper urgency Cost per page:
 Total: