Question: Information provided, We are measuring physical performance I need help with the following: Consider a Vehinterest table that contains the following attributes: custNr 8 character

Information provided, We are measuring physical performance

Information provided, We are measuring physical performance I need help with the

I need help with the following:

following: Consider a Vehinterest table that contains the following attributes: custNr 8

Consider a Vehinterest table that contains the following attributes: custNr 8 character customer number. When combined with vehType and vehMake, it is the unique key for Vehinterest vehType 5 character type of vehicle (e.g., TRUCK, SUV, VAN, ). When combined with custNr and vehMake, this is the unique key for this table. veh Make 12 character make of vehicle (e.g., 4Runner, Explorer, Prius, Connect). When combined with custNr and vehType, this is the unique key for this table. ageRangeCd customer's age range (e.g., 1:under 20, 2:20-29, 3:30-39, 4:40-49, 5:50-59, 6:60-69, 7:over 70), this is 1 byte lastActivityDt 4 byte date representing the last activity for this row email customer's email, max of 250 character, average of 36 characters streetAddress customer's street address, max of 150 characters. These average is 40 bytes. Assumptions: 1. There are 10,000,000 rows and 1 row = 1 customer 2. Data and index blocks are 4096 bytes. 3. An index entry for a B+Tree contains the key (size depends on the contents) and a Row ld which is 4 bytes. 4. There are two variable-sized attributes (email and streetAddress). Each will use a one byte length. Near the beginning of the row, there will be an additional 2 byte offset to access the streetAddress that follows the email. 5. Assume there are 200,000 customers in ageRangeCd=5. 10% of those customers are interested in SUVs. C. For a unique index (called 11) on the combination of custNr,vehType, and vehMake: what is the size of an I1 index entry? (refer to assumption #3) now many entries not in an index DIOCK IT We assume 20 bytes or overnead per index DIOCKS con my miaterm leave out overhead) now many entries are in the index? (CHANGE WORDING TO HOW MANY RECORD ENTRIES ARE ON THE LEAF LEVEL OF THE INDEX (REMEMBER EACH ENTRY IS AN INDEX ENTRY)) 10,000,000/(how many index entries we can fit in the index block) how many leaf level index blocks are needed? how many index entries are needed for the next higher level? index blocks? o index entries on the next higher level = index blocks on the next higher level = D. For index 11. how many total index blocks are needed including the leaf level? leaf level = From answers above next level root level = index blocks for index Il Consider a Vehinterest table that contains the following attributes: custNr 8 character customer number. When combined with vehType and vehMake, it is the unique key for Vehinterest vehType 5 character type of vehicle (e.g., TRUCK, SUV, VAN, ). When combined with custNr and vehMake, this is the unique key for this table. veh Make 12 character make of vehicle (e.g., 4Runner, Explorer, Prius, Connect). When combined with custNr and vehType, this is the unique key for this table. ageRangeCd customer's age range (e.g., 1:under 20, 2:20-29, 3:30-39, 4:40-49, 5:50-59, 6:60-69, 7:over 70), this is 1 byte lastActivityDt 4 byte date representing the last activity for this row email customer's email, max of 250 character, average of 36 characters streetAddress customer's street address, max of 150 characters. These average is 40 bytes. Assumptions: 1. There are 10,000,000 rows and 1 row = 1 customer 2. Data and index blocks are 4096 bytes. 3. An index entry for a B+Tree contains the key (size depends on the contents) and a Row ld which is 4 bytes. 4. There are two variable-sized attributes (email and streetAddress). Each will use a one byte length. Near the beginning of the row, there will be an additional 2 byte offset to access the streetAddress that follows the email. 5. Assume there are 200,000 customers in ageRangeCd=5. 10% of those customers are interested in SUVs. C. For a unique index (called 11) on the combination of custNr,vehType, and vehMake: what is the size of an I1 index entry? (refer to assumption #3) now many entries not in an index DIOCK IT We assume 20 bytes or overnead per index DIOCKS con my miaterm leave out overhead) now many entries are in the index? (CHANGE WORDING TO HOW MANY RECORD ENTRIES ARE ON THE LEAF LEVEL OF THE INDEX (REMEMBER EACH ENTRY IS AN INDEX ENTRY)) 10,000,000/(how many index entries we can fit in the index block) how many leaf level index blocks are needed? how many index entries are needed for the next higher level? index blocks? o index entries on the next higher level = index blocks on the next higher level = D. For index 11. how many total index blocks are needed including the leaf level? leaf level = From answers above next level root level = index blocks for index Il

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!