the database must store an employee table consisting of 500 000records each of which 4946137
The database must store an employee table consisting of 500,000records each of which is 400 bytes long. A SSD has storage capacityof 1 TB, read bandwidth of 1 GB/sec., and a block size of 4096bytes. Answer these questions:
a) What is the total capacity of RAID 0 with 6drives?
(0.5 marks)
b) What is the total capacity of RAID 5 with 10drives?
(0.5 marks)
c) How many records can be stored per block(
blocking factor) using spanned and unspannedconfigurations?
(2 marks)
d) What is the utilization for the unspannedconfiguration?
(1 mark)
e) Assume the data is stored sequentially. Howlong does it take to read all records in the
unspannedconfiguration?
(1 mark)
f) Assume the file is physically ordered on key
K, what is the average time to retrieve a record using key
K in the
spanned configuration?
(2marks)
g) The database designer wants to add a largedescription field of 1,000 bytes to each employee record. However,this field will only have data in it 20% of the time and is onlyaccessed in 25% of the queries. The goal is to find the best recordlayout.
(3 marks) For this question calculate: The average time to read the whole table when using spanned,fixed records and no splitting. The average time to read the whole table when using spanned,variable records. The average time to read the whole table when using spannedrecords and splitting. Assume a variable length record requires 20 bytes of overhead tostore record information in addition to record data and a splitrecord also requires 20 bytes of overhead. Also, the only layoutwhose performance will change depending on the queries is the splitconfiguration as in that case the new field will be only accessed25% of the time. For the other two configurations, the entirerecord is read for all queries. . . .