CPU architecture: Intel Xeon with 64 bit cores Filesystem: Ext4 with 4KB (4096 byte) blocks The customer records are keyed by a random UUID of 128 bits Customer's Data record definition from the java file: #include cuuid> struct CustomerData { UUID uuid; char[32] name; int ytd_sales; // Customer 128 bit key' 1/ Customer name (char is 2 bytes each)? // Customer year to date sales }; Calculate the size of the internal nodes (M) for our B-tree: Calculate the size of the B-tree leaf nodes (L) for this tree make sure to include the pointer (note CPU architecture!) to keep the list of leaf nodes: UUID UIDUUID UUID UUID UUID CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData Figure #1: Visualization of our B+ Tree of height 2, customer data records, and pointers between the leaf nodes. How tall (on average) will our tree be (in terms of M) with N customer records? If we insert 30,000 CustomerData records, how tall will be tree be? If we insert 2,500,000 customers how tall will the tree be?
CPU architecture: Intel Xeon with 64 bit cores Filesystem: Ext4 with 4KB (4096 byte) blocks The customer records are keyed by a random UUID of 128 bits Customer's Data record definition from the java file: #include cuuid> struct CustomerData { UUID uuid; char[32] name; int ytd_sales; // Customer 128 bit key' 1/ Customer name (char is 2 bytes each)? // Customer year to date sales }; Calculate the size of the internal nodes (M) for our B-tree: Calculate the size of the B-tree leaf nodes (L) for this tree make sure to include the pointer (note CPU architecture!) to keep the list of leaf nodes: UUID UIDUUID UUID UUID UUID CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData CustomerData Figure #1: Visualization of our B+ Tree of height 2, customer data records, and pointers between the leaf nodes. How tall (on average) will our tree be (in terms of M) with N customer records? If we insert 30,000 CustomerData records, how tall will be tree be? If we insert 2,500,000 customers how tall will the tree be?
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
100%
We are going to design our B+ Tree to be as optimal as possible for
our old hard drives (since the management won’t buy new ones, those
cheapskates!). We want to keep the tree as short as we can and pack each disk block in the filesystem as tightly as possible. We also want to access our
data in sorted order for printing out reports, so each leaf node will have a
pointer to the next one. See figure #1 on next page for a visualization of
our tree.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 5 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education