Is it maybe possible to optimize count(distinct) SQL queries? #10188
Labels
c: Performance
For when we could improve the performance / speed of Matomo.
wontfix
If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone
As I was reading this very interesting article: https://www.periscopedata.com/blog/use-subqueries-to-count-distinct-50x-faster.html I am wondering whether these findings could be applied to our SQL queries in Piwik?
We have had performance issues with processing
COUNT( DISTINCT field )
on our very large datasets... maybe there is actually a possibility to improve archiving performance. Help is most welcome!The text was updated successfully, but these errors were encountered: