Improve DB Schema for performance #1139
Labels
duplicate
For issues that already existed in our issue tracker and were reported previously.
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Major
Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone
Just pushing an issue your well aware of.
The visit_log table schema needs to be corrected to avoid unnecessarily large data and index sizes.
http://dev.piwik.org/trac/wiki/DatabaseSchema
#5457
I get nowhere near 20,000 visits per day, but the index alone on my log_visits table is ~2MB w/ 14MB of data. Although it is not a bottle neck at this point I am rapidly expanding the number of sites and volume of visits tracked by Piwik.
I thought that was the intention of archives to reduce the log size?
I don't care that piwik us using ~70 MB altogether, as the archives are not commonly used during active tracking. But since an insert and join is needed on the archive and actions table for each visit, it seems like a troublesome path.
Keywords: db
The text was updated successfully, but these errors were encountered: