Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( a ) Consider a database with a relation containing 1 , 5 0 0 , 0 0 0 fixed length records. The file system

(a) Consider a database with a relation containing 1,500,000 fixed length records. The file system used by the database has a block size of 2048 bytes, of which 2000 bytes are available for the storage of records. The length of each record is 240 bytes and the length of the attribute being used as a key is 12 bytes. A block pointer takes up 6 bytes, whereas a record pointer takes up 8 bytes. The records are stored in a sequential (sorted) file, and records may not span between blocks. In order to allow for future expansion, space equivalent to one record is left free in each block.
(b) The database in part (a) has been reconfigured to use a B+Tree sec- ondary index over the relation. Assuming the same constraints as given in part (a), and replacing the free space requirement with an initial occupancy of 0.6:
(i) What is the maximum number of pointers in a non-leaf node of the index? [3 marks]
(ii) What is the minimum number of pointers in a leaf node of the index? [3 marks]
(iii) How many levels of index will initially be required? [3 marks]

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_2

Step: 3

blur-text-image_3

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

Transactions On Large Scale Data And Knowledge Centered Systems X Special Issue On Database And Expert Systems Applications Lncs 8220

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2013th Edition

3642412203, 978-3642412202

More Books

Students also viewed these Databases questions