How many levels does the resulting tree have

Assignment Help Science
Reference no: EM131099999

Exercise 10.8 Assume that you have just built a dense B+ tree index using Alternative (2) on a heap file containing 20,000 records. The key field for this B+ tree index is a 40-byte string, and it is a candidate key. Pointers (Le., record ids and page ids) are (at most) 10

  • byte values. The size of one disk page is 1000 bytes. The index built in a bottom-up fashion usingbulk-loading algorithm, and the nodes at each level were filled up much as possible.

1. How many levels does the resulting tree have?

2. For each level of the trec, how many nodes are that level?

How many levels would the resulting tree have if key compression is llsed and it reduces the average size of each key in an entry to 10 bytes?

sid name login age gpa

53831

Maclayall

maclayan@music

11

1.8

53832

Guldu

guldu@music

12

3.8

53666

Jones

 

18

3.4

53901

Jones


18

53902

Jones

jones@physics

18

3.4

53903

Jones

18

3.4

53904

Jones

jones(ggenetics

18

3.4

53905

Jones

jones@astro

18

3.4

53906

Jones

jones@chem

18

3.4

53902

Jones

18

3.8

53688

Smith

smith@ee

19

3.2

53650

Smith

smith@math

19

3.8

54001

Smith

smith@ee

19

3.5

54005

Smith

smith@cs

19

3.8

54009

Smith

19

2.2

Figure 10.30 An Instance of the Students Relation

4. How many levels would the resulting tree have without key compression but with all pages 70 percent full?

Reference no: EM131099999

Questions Cloud

Required by the equity method : a. Prepare the 2016 journal entries, required by the equity method, on Parent's books. b. Prepare the consolidation entries for 2016.
Question regarding the potential connection services : A firm is considering building a two-way network that links 11 users. The cost of building the network is $8,000. a. How many potential connection services does this network provide?
What assessments are needed to properly diagnose the client : What Diagnostic Impressions do you have of this client? What diagnoses would you identify based upon the information given? You will need to utilize the DSM-5 as well as our course texts to support your decisions.
Forest plot or practice sustainable forestry : Question 1: Explain how a timber company can determine whether to clear cut a forest plot or practice sustainable forestry. What variables will they take into account?
How many levels does the resulting tree have : Exercise 10.8 Assume that you have just built a dense B+ tree index using Alternative (2) on a heap file containing 20,000 records. The key field for this B+ tree index is a 40-byte string, and it is a candidate key. Pointers (Le., record ids and ..
Phases of bk books interviewing process : You are very impressed with the first interviewee completing both phases of BK Books's interviewing process, and she has indicated that her reservation salary is $110,000. Should you make her an offer at that salary or continue the interviewing pr..
Critically review the search for competitive advantage : BUS3005DL Strategic Management. Critically review the search for competitive advantage within either global retailing or civil aero-engine manufacturing, paying particular attention to both inside-out and outside-in views of strategy. You should u..
Additional up-front payment : Recognizing this fact, an opportunistic salesperson for the company that makes this device calls you. She indicates that, for an additional up-front payment of $27 million (not included in the above figures), her firm will deliver the device to yo..
Discuss purpose of team boundaries that leaders be aware : Mental health professionals often work as a member of a multi-disciplinary team. In this paper, discuss the purpose of the team, boundaries that leaders must be aware of, and elements that impact the effectiveness of the team.

Reviews

Write a Review

Science Questions & Answers

  Ecocide is bad for nature,

Bodley: Ecocide is bad for nature, but it helps people. True False

  The importance of water for life on earth

Describe the major experiments and scientists involved in the discovery of DNA as our hereditary material and its structure.

  An impact of increased ocean acidification

Which of the following is an impact of increased ocean acidification as caused by global climate change?

  What are our vulnerabilities and challenges

(1) Identify at least three major concerns regarding US energy policy. What are our vulnerabilities and challenges?

  Describle what psychologists mean by temperament

Describle what psychologists mean by temperament, name the 3 types of temperaments, explain how to identify it using different scales, and bring an example of evidence that temperament has a hereditary component.

  Women and healthcare 2 issues

Describe a workforce diversity plan using at least three dimensions of diversity. Additionally, explain how it relates to improved health-service delivery.

  The status which society-at-large attaches to one''s job

How, exactly, does the status which society-at-large attaches to one's job affect one's job satisfaction?

  Describe socially constructed categories

What term is used by sociologists to describe socially constructed categories based on biological traits a society defines as important? EthnicityRaceSocial groupReference groupErogenous group

  The functions of fiber and lipids in the body

Define saturated fat, unsaturated fat, trans-fatty acids, and hydrogenated fats. How are trans-fatty acids harmful?

  Potential complications created by the disaster

Identify potential complications created by this disaster besides the main disaster/danger itself.

  Energy development and management

Introduce your choice. Explain why this issue is important for humans, wildlife and the environment. Detailed description of the problem. Present specific details about your selection. This might include a specific habitat, ocean, species, forest,..

  Response to the editorial

Write a one paragraph summary followed by a one paragraph (at least) response to the editorial. here is the link to the source. http://www.nytimes.com/2015/06/04/opinion/zeynep-tufekci-mark-zuckerberg-let-me-pay-for-facebook.html?ref=opinion&_r=0

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd