Question Details

(Solved) College of Computing and Informatics Database management system IT344 Assignment 1 1 Deadline: Day 07/03/2017 @ 23:59 [Total Marks : 4 ] Student...


A file has ,000 EMPLOYEE records  of fixed-length.

Consider a disk with block size bytes. A block pointer is bytes long and a record pointer is P R bytes long. Each record has the following fields: NAME (30 bytes), SSN (9 bytes), DEPARTMENTCODE (9 bytes), ADDRESS (40 bytes), PHONE (9 bytes), BIRTHDATE (8 bytes), SEX (1 byte), JOBCODE (4 bytes), SALARY (4 bytes, real number). An additional byte is used as a deletion marker.

Calculate the record size R in bytes.

Calculate the blocking factor bfr and the number of file blocks b assuming an

unspanned organization.

       C.    Suppose the file is ordered by the key field SSN and we want to construct a primary

              index on SSN. Calculate the index blocking factor bfr i .

Based on the B+tree in the Figure below, where the maximum capacity of the node is 4 and the minimum is 2. What happens if R is deleted. redraw the results.


Define the term heuristic optimization? Discuss Heuristic optimization of query trees

College of Computing and Informatics Database management system
IT344 Assignment 1
1 Deadline: Day 07/03/2017 @ 23:59
[Total Marks : 4 ]
Student Details:
Name:### ID:### CRN:###
Instructions:
This Assignment must be submitted on Blackboard via the allocated folder.
Email submission will not be accepted.
You are advised to make your work clear and well-presented, marks may be reduced for poor
presentation.
You MUST show all your work.
Late submission will result in ZERO marks being awarded.
Identical copy from students or other resources will result in ZERO marks for all involved
students.
Convert this Assignment to PDF just before submission. Pg. 1 Question ThreeQuestion Three Question One 2 Marks A file has r=30,000 EMPLOYEE records of fixed-length.
Consider a disk with block size B=512 bytes. A block pointer is P=6 bytes long and a
record pointer is P R =7 bytes long. Each record has the following fields: NAME (30
bytes), SSN (9 bytes), DEPARTMENTCODE (9 bytes), ADDRESS (40 bytes), PHONE
(9 bytes), BIRTHDATE (8 bytes), SEX (1 byte), JOBCODE (4 bytes), SALARY (4
bytes, real number). An additional byte is used as a deletion marker .
A. Calculate the record size R in bytes.
B. Calculate the blocking factor bfr and the number of file blocks b assuming an
unspanned organization.
C. Suppose the file is ordered by the key field SSN and we want to construct a primary
index on SSN. Calculate the index blocking factor bfr i . Pg. 2 Question Two Question ThreeQuestion Three
1 Marks Based on the B+tree in the Figure below, where the maximum capacity of the node is
4 and the minimum is 2. What happens if R is deleted. redraw the results . Pg. 3 Question Three Question ThreeQuestion Three
1 Marks Define the term heuristic optimization? Discuss Heuristic optimization of query trees

 


Solution details:
STATUS
Answered
QUALITY
Approved
ANSWER RATING

This question was answered on: Sep 05, 2019

PRICE: $15

Solution~000200115381.zip (25.37 KB)

Buy this answer for only: $18

This attachment is locked

We have a ready expert answer for this paper which you can use for in-depth understanding, research editing or paraphrasing. You can buy it or order for a fresh, original and plagiarism-free solution (Deadline assured. Flexible pricing. TurnItIn Report provided)

Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .
SiteLock

About this Question

STATUS

Answered

QUALITY

Approved

DATE ANSWERED

Sep 05, 2019

EXPERT

Tutor

ANSWER RATING

GET INSTANT HELP/h4>

We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.

You can also use these solutions:

  • As a reference for in-depth understanding of the subject.
  • As a source of ideas / reasoning for your own research (if properly referenced)
  • For editing and paraphrasing (check your institution's definition of plagiarism and recommended paraphrase).
This we believe is a better way of understanding a problem and makes use of the efficiency of time of the student.

NEW ASSIGNMENT HELP?

Order New Solution. Quick Turnaround

Click on the button below in order to Order for a New, Original and High-Quality Essay Solutions. New orders are original solutions and precise to your writing instruction requirements. Place a New Order using the button below.

WE GUARANTEE, THAT YOUR PAPER WILL BE WRITTEN FROM SCRATCH AND WITHIN A DEADLINE.

Order Now