package
2.1.0-alpha.20180416+incompatible
Repository: https://github.com/coyle/cockroach.git
Documentation: pkg.go.dev
# Functions
EquiDepthHistogram creates a histogram where each bucket contains roughly the same number of samples (though it can vary when a boundary value has high frequency).
NewTableStatisticsCache creates a new TableStatisticsCache, with the size of the underlying statsCache set to statsCacheSize, and the size of the underlying histogramCache set to histogramCacheSize.
# Variables
No description provided by the author
No description provided by the author
# Structs
HistogramCacheKey is used as the key type for entries in the TableStatisticsCache which contain a histogram.
HistogramData encodes the data for a histogram, which captures the distribution of values on a specific column.
No description provided by the author
JSONHistoBucket is a struct used for JSON marshaling and unmarshaling of histogram data.
JSONStatistic is a struct used for JSON marshaling and unmarshaling statistics.
SampledRow is a row that was sampled.
SampleReservoir implements reservoir sampling using random sort.
A TableStatistic object holds a statistic for a particular column or group of columns.
A TableStatisticsCache contains two underlying LRU caches: (1) A cache of []*TableStatistic objects, keyed by table ID.