-
Got Umami up and running and it's so great! Really a wonderful, wonderful product. However, I'm watching the table that's storing the pageview stats, and it's completely wild. Our site isn't really that big, but it's still adding 2-3 megabytes every day to this table. In three days it's already over 10MB. I suspect we're going to hit a gigabyte in less than a year, and if our site grows in popularity possibly much faster than that. I don't really want to clear out historical stats every few months here, so I'm wondering if I might have configured things wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
That sounds pretty normal. That's just the nature of analytics. You have to store a lot of data. We can do some table optimizations to reduce the size a bit, but then it's tradeoff between performance and disk size. We'd rather optimize for performance. You can get a $5 a month server with 25GB of space these days. |
Beta Was this translation helpful? Give feedback.
-
My umami database is 650mb large, have it running for 7 months now with 2m pageviews / 440k visitors.
Nothing unexpected though, just a lot of entries in the tables. There was another issue where someone was asking for size optimization aswell. By not storing the path of a pageview in the Thats the storage vs performance tradeoff Mike is talking about. Aggregating old data and deleting the high resolution data is really the only way to keep the footprint of the database low without performance penalties; but you're still deleting information. |
Beta Was this translation helpful? Give feedback.
-
If you look at the schema of the database you can easily reduce the size in long term analytics. As mentioned from @joshinat0r Just throw out all the strings and normalize them. The design of the database is not normalized in a lot of fields what perfectly fits the need because you cant predict all the possibilities. |
Beta Was this translation helpful? Give feedback.
That sounds pretty normal. That's just the nature of analytics. You have to store a lot of data. We can do some table optimizations to reduce the size a bit, but then it's tradeoff between performance and disk size. We'd rather optimize for performance. You can get a $5 a month server with 25GB of space these days.