Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Expert Solution & Answer
Book Icon
Chapter 21, Problem 2PE

Explanation of Solution

a.

Load-balanced range partitioning function:

When partitioning data over n disks, range partitioning distributes the records by assigning adjacent attribute-value ranges-each disk.

  • Consider the user has a histogram where values are between 1 and 100

Explanation of Solution

b.

Algorithm:

The algorithm for computing a balanced range partition will be as follows:

  • Let the partitions be p1, p2, p3,….pp and the histogram range be h1, h2, h3,…hh, and the frequencies of the histogram range be n1, n2, n3,….nn.
  • Each partition consists of N/P records, so that N=i=1k(ni)
  • Construct the balanced partitioning sector,
    • Establish the value of  k1th  record, such that k1=N/P .
    • Establish the value of  k2th  record, such that k2=2 xN/P.
    • And so on till the value of kp-1th record, such that kp-1=(p-1)xN/P

Blurred answer
Students have asked these similar questions
I need help making this EER diagram in Chen Notation.
In Java I have an input in a text file that I can't submit here. So, please use it as input.txt
Perceptual acuity, according to Ram Charan, explains how Ted Turner became the first CEO to recognize the potential of 24-hour news and thereby created CNN. a) True  b) False
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education