1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-26519: JSON Histograms: improve histogram collection

Basic ideas:
1. Store "popular" values in their own buckets.
2. Also store ndv (Number of Distinct Values) in each bucket.

Because of #1, the buckets are now variable-size, so store the size in
each bucket.

Adjust selectivity estimation functions accordingly.
This commit is contained in:
Sergei Petrunia
2021-09-10 10:45:04 +03:00
parent d64e104810
commit f460272054
3 changed files with 5722 additions and 1318 deletions

File diff suppressed because one or more lines are too long