Find levels resulting tree have if key compression is used

Assignment Help Basic Computer Science
Reference no: EM1371876

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 (i.e., record ids and page ids) are (at most) 10-byte values. The size of one disk page is 1000 bytes. The index was built in a bottom-up fashion using the bulk-loading algorithm, and the nodes at each level were filled up as much as possible.

1. How many levels does the resulting tree have?
2. For each level of the tree, how many nodes are at that level?
3. How many levels would the resulting tree have if key compression is used and it reduces the average size of each key in an entry to 10 bytes?
4. How many levels would the resulting tree have without key compression but with all pages 70 percent full?

Reference no: EM1371876

Questions Cloud

Write method to display the number by adding hundred : displayItTimesTwo(), and displayItPlusOneHundred(). Write each method to perform the task its name implies. Save the application as TestMethods.java.
Calculate the expected stock price and standard deviation : Assume that a stock price has an expected return of 16% per year and a volatility of 30% per year. When the stock price at the end of a certain day is $50,
Find the equilibrium price and the equilibrium quantity : What is the solution to the firm's long-run cost-minimization problem given that the firm wants to produce Q units of output and long-run competitive equilibrium, how much output will each firm produce
Creating market graphs and calculating equilibrium : Rochester Metro Area was hit with a major ice storm in 2003. Suppose that before ice storm of 2003, the weekly demand and supply for ice in the Rochester Metro Area were given by following equations:
Find levels resulting tree have if key compression is used : How many levels would resulting tree have if key compression is used and it decreases the average size of each key in the entry to 10 bytes?
Correlation in amount of friction in economy demand & supply : Make some research on a topic known to economists as 'friction-free' or 'low-friction' economy. Early writers on this topic foresaw many of the seismic shifts that have occurred in the market place over last one to 2-decades.
Determine size of one minute mono audio file : Digital audio transducer samples real sound at the rate of 40 kHz and assigns 8 bits to each sample. Determine the size of one minute mono audio file?
Operating and production costs analysis : Two small airlines provide shuttle service between Las Vegas and Reno. The services are alike in every respect except that Fly Right bought its airplane for $500,000, while Fly by Night rents its plane for $30,000 per year. Analyze fixed costs, Ma..
Describe a business application or information system : Create a paper in which you describe a business application or information system which you are familiar with that is critical to business processes of your company (past or present employer).

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Social policy and debate regarding children and technology

See Supreme Court Rules for more information. If Winner's three guiding maxims were utilized, how would this influence social policy and debate regarding children and technology?

  Determining line cost for three points

Points T1, T2 ,and T3 are 25 miles apart, and points C1 , C2, and C3 also are 25 miles apart. If telephone lines cost $1 per mile, determine the line cost for three?

  Sbh problem to reconstruct dna sequence from its l-mer

The SBH problem is to reconstruct a DNA sequence from its l-mer composition. Suppose that instead of a single target DNA fragment, we have two target DNA fragments

  Resilience systems without disturbing normal businesd

With an increasingly global economy when business is open 24 / 7, how do we test the resilience of our computer systems without disturbing normal business operations?

  Information system to use for stocks and trading futures

Write down some of the many considerations in selecting right information system to use for trading futures and stocks?

  Protect proprietary interest by addressing ethical issues

Advise whether you agree or disagree with CEO, specifically addressing ethical issues involved. Suppose you make a decision to hire a hacker, how would you protect your proprietary interests?

  Determining minimum size of control bus

Determine the minimum size of the control bus?

  Determine features and capacities of ram-disk storage

Determine the features and capacities (RAM, disk storage, processor speed) that Amy should include in the Web server computer that she will need for her site.

  Faulty terminations and excessive horizontal wiring spans

What do you consider the single most important reason to pay attention to faulty terminations and excessive horizontal wiring spans?

  Creating presentation to law school class on digital crime

You have been asked to present a presentation to law school class on digital crime. After presentation, a student asks why so few people are really prosecuted for computer crime.

  Explaining pros and cons of coralcdn

Provide a summary of CoralCDN. Contrast its operation with that of Akamai. What the pros and cons of CoralCDN (as compared to Akamai)?

  Determine smallest value of x for which is safe state

System has 4 processes and 5 allocatable resources. The current allocation and maximum needs are as follows: Determine the smallest value of x for which this safe state.

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