[MDEV-21131] Histograms: Most-Common-Values histograms Created: 2019-11-23  Updated: 2020-01-23

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Sergei Petrunia Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: eits

Issue Links:
Relates
relates to MDEV-21130 Histograms: use JSON as on-disk format Closed

 Description   

Often, columns have a few values that are very frequent.
For this case, one can use a histogram that is a collection of (value, frequency) pairs.

There are [approximate] algorithms that allow to find most common values while using a limited amount of memory and/or basing on sample of the table.

Another important property is that most-common-value collection/storage can be generalized to tuples of multiple columns.


Generated at Thu Feb 08 09:04:49 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.