Closed section1 closed 1 month ago
I found this "feat(user status): automate user status for events" https://github.com/nextcloud/server/pull/40615 . it's possible to disable this feature? or at last resort modifying the code with a workaround to disable it? thanks
it's possible to disable this feature?
Disable user_status
app.
Thanks @solracsf i will try this!
Well running the same SQL query now takes 1.112 sec so i don't now if create an index or what what isn't an issue anymore...i close this case for now.
Hello I update the instance of NC from last 27.x to 28.0.10 and we see very big performace issues with Mysql. This is related to calendar/Caldav. We see queries that takes ~90secs to complete with calendars that have aprox. +3000 events, causing lots of disks Reads I/Os and CPU usage.
The slow query:
If i run this query in the mysql console returns :
The oc_calendarobjects of that calendar id returns this:
Most of the time i see various queries like this one but with different calendarid running at the same time using lots of CPU and disk I/O. The weird part for me is that when i check the logs i see this line:
The last number(86) is the second that the request spent(%T of apache logformat ), reading the api docs about apps/user_status/api/v1/heartbeat only says "Keep the status alive". I think is something related to the users status that check if exist a meeting in that period and depends of that query results sets the user status ? can disable this ? any help is welcome, thanks.