public class IndexSegmentCostModel extends Object implements Serializable
IndexSegment
.
Note: This uses a summary description of the IndexSegment
for the
cost model. This makes sense because we generally have 100s of index segments
in scale-out and we do not want to probe them all for their exact costs.
Constructor and Description |
---|
IndexSegmentCostModel(DiskCostModel diskCostModel) |
public IndexSegmentCostModel(DiskCostModel diskCostModel)
diskCostModel
- The disk cost model.public double rangeScan(int rangeCount, int branchingFactor, int averageBytesPerLeaf, int xferBufferSize)
rangeCount
- The range count for the index scan.branchingFactor
- The branching factor for the index segments for this scale-out
index.averageBytesPerLeaf
- The average #of bytes per leaf for this scale-out index.xferBufferSize
- The size of the disk transfer buffer.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.