2 research outputs found
On Power-Law Distributed Balls in Bins and its Applications to View Size Estimation
International audienceThe view size estimation plays an important role in query optimization. It has been observed that many data follow a power law distribution. In this paper, we consider the balls in bins problem where we place balls into bins when the bin selection probabilities follow a power law distribution. As a generalization to the coupon collector's problem, we address the problem of determining the expected number of balls that need to be thrown in order to have at least one ball in each of the bins. We prove that balls are needed to achieve this where is the parameter of the power law distribution and for and for . Next, when fixing the number of balls that are thrown to , we provide closed form upper and lower bounds on the expected number of bins that have at least one occupant. For large and , we prove that our bounds are tight up to a constant factor of
On Power-Law Distributed Balls in Bins and its Applications to View Size Estimation
International audienceThe view size estimation plays an important role in query optimization. It has been observed that many data follow a power law distribution. In this paper, we consider the balls in bins problem where we place balls into bins when the bin selection probabilities follow a power law distribution. As a generalization to the coupon collector's problem, we address the problem of determining the expected number of balls that need to be thrown in order to have at least one ball in each of the bins. We prove that balls are needed to achieve this where is the parameter of the power law distribution and for and for . Next, when fixing the number of balls that are thrown to , we provide closed form upper and lower bounds on the expected number of bins that have at least one occupant. For large and , we prove that our bounds are tight up to a constant factor of