Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Selectivity, cardinality estimate, equi-depth histogram?

Ook bekend als: selectivity · cardinality estimate · equi-depth histogram

Definition 22.6 University Computer Science — Year 3 · Hoofdstuk 22 — Query Processing and Optimisation

The selectivity of a condition on a relation is the fraction of its tuples that satisfy it. A cardinality estimate is the optimiser’s prediction of the number of tuples an operator will output, computed from stored statistics. An equi-width histogram of a column cuts its range into buckets of equal width and stores each bucket’s count; an equi-depth histogram cuts it at quantiles, so that every bucket holds about the same number of tuples. Within a bucket, values are assumed evenly spread, and each distinct value equally frequent.

Lees in het hoofdstuk →