[MDEV-19220] Index aggregate functions Created: 2019-04-09  Updated: 2019-04-09

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

Type: Task Priority: Major
Reporter: Nikita Malyavin Assignee: Nikita Malyavin
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Abstract

Aggregate functions calculations could be effectively optimized by caching the values inside storage engine indexes.

Known Solutions

Some competitor products already do this:

Implementation

The known algorithmic approach is to construct an interval tree.
It can be done by augmenting Innodb B-tree index.
The constraints for aggregate function are the same as for window functions, i.e. it should follow monoid requirements.


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