autocompletion of custom variable values while creating segment kills database on moderately large site #7277
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
c: Performance
For when we could improve the performance / speed of Matomo.
duplicate
For issues that already existed in our issue tracker and were reported previously.
Milestone
I manage a moderately large site (80 000 pages view and 150 000 actions daily). When creating a custom segment based on a custom variable value, piwik seems to try to suggest a list of value extracted from the database. Unfortunately, one of the sql requests used for this takes more than 10 minutes to accomplish (actually, I never let it finish since i'm always running out of patience) and literally clog my mysql server which completely freeze:
Live reports are disabled (by browser_archiving_disabled_enforce=1) in my config file and new segments are always set to be pre-processed (and i have a crontab which trigger core:achive every hour). Knowing my site might be larger than the average, I do everything to tune piwik by pre-processing as much as I can and then this "not so useful" feature I can't disable ruins it all...
The text was updated successfully, but these errors were encountered: