How to make hierarchical tables scale? (flatten, search, sub tables) #6763
Labels
c: Performance
For when we could improve the performance / speed of Matomo.
Major
Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Task
Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone
The goal of this issue is to investigate possible solutions to a set of performance and scalability problems that have affected Piwik since the beginning.
Use cases covered:
The following features don't work well when a datatable has thousands of sub-tables, as they will try to load in memory all sub-tables at once (can be many thousands tables used to build one hierarchical table report):
Search
- Searching recursively through a hierarchical DataTableFlatten
- Flattening a hierarchical data table into one-level report (Page URLs, Page titles, Events, ....)Date range
- Custom Date range processing of Actions reports (covered in Custom date range reports are slow: how to make them archive faster? #4768)Possible solutions or ideas
Search
)piwik_archive_blob_
row instead of storing each sub-table in a newpiwik_archive_blob_
row.Flatten
)?see general performance issue #6759, date range issues #4768, flatten performance issues #5098
The text was updated successfully, but these errors were encountered: