Open mattab opened 8 years ago
What about using pagination for the UI in combination with limited SQL querries for much smaller date ranges? I encountered often problems when accidently clicking on visitor-log while having selected month or week. Then I get a timeout after 60 seconds, while piwik does not react on other user input.
We have experienced a case where Live SQL queries can be slow. For example the queries run for two hours or more. Here is an example of such query running slow, and the explain extended:
This occurs especially when date ranges include many days such as:
For now we cannot easily improve this so we simply document, via this issue, that there may be performance issues when Live plugin (eg. Visitor log) is used with very wide date ranges.