Query time is very long #2427
Unanswered
Hsiao-Feng
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I have over 100K visits every day, and it takes tens of seconds to open the weekly report (on a 4 cores Ryzen 7950x server). Therefore, I had to stop using Umami because it writes millions of records in the database and does not regularly clean up and summarize them. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found that it takes 4s to query a data with 3k views. Compared with the demo on the official website, this speed is very slow. Especially when I query data for the past few months ( 200k views of 90 days ) , it takes a minute to return the results.
So I checked the
htop
dashboard when querying, and found that the CPU occupied about 30% and the memory occupied about 20% during the query. So I don't think this seems to be a server performance issue.Is there anything I can do to troubleshoot the cause?
This is my MariaDB version:
Beta Was this translation helpful? Give feedback.
All reactions