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

  Explain how company wants corporation-s business

The company is willing to pay $30,000 for the hardware and the software together and wants the complete software product in 4 weeks. What do you tell him? Bear in mind that your company wants his corporation's business, no matter how unreasona..

  Probability of occurrence of four pairs in original sequce

What is the probability of occurrence of each of the four pairs in original sequence? Illustrate your work. What is the probability of occurrence of 0 and 1 in modified sequence?

  Describe tttc management significance of observing user

Using at least two articles for support, describe to TTTC management the significance of observing user reaction, suggestions, and innovations in prototyoping process.

  Compute average probability of symbol error of signalling

Consists of additive noise w(t) as the sample function of a gaussian process with zero mean and power spectral density No/2. Calculate the average probability of symbol error for this method of signalling

  Explain security awareness and training document

Amy walked into her office cubicle and sat down. The entire episode with the blond man had taken well over two hours of her day. Based on this case study, what security awareness and training documents and posters had an impact in this event?

  Write guide for the organization

Write a 2-3 page report recommending style manual and/or technical/legal writing guide for the organization to use and describe the reasons for your recommendations.

  Explaining gui differences and security differences

With that being said, its great that each of you pointed out the GUI differences. What about the Security differences?

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Relative risk comes form inside the organisation

Write a report on relative risk that comes form inside organisation as opposed to risk which comes from external sources.

  Cloud provider secure large amount of capital

Few organizations tend to prefer operating expense models. whether Cloud providers will continue to secure large amount of capital....or will equity firms stop their funding?

  Explaining open-source software products like linux

Intellectual property as well as increase its support of open-source software products like Linux be a successful growth strategy in the "brutally competitive marketplace" in which it operates? Why or why not?

  Give upper bound on number of training

Give an upper bound on the number of training examples sufficient to assure with 90% confidence that the learned perceptron will have true error of at most 5%. Does this bound seem realistic?

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