Owncloud causes MySQL to use all disk resources.
Owncloud is polling the database repetitively even when nothing is being done on the user side, causing the MySQL database to consume full disk IO. I am running on a Windows Server with Apache as my web server.
@ringmaster can you please have a look ?
Sorry, this doesn't happen for me at all. When I leave the UI connected, it polls the server periodically (heartbeat), but even then there is minimal MySQL load. When I push the server, it's usually Apache or IIS that has most of the load, not MySQL, whose load is quite minimal. Maybe some more details about anything unique/different in this install could prove out what might be causing it, but based only on the above, it could be anything from an odd configuration to lack of memory to bad HDD.
I found the table, oc_file_map is being written to for 5 seconds after each folder request and is causing large load on the MySQL server. Is there any way to rectify this?
Maybe https://github.com/owncloud/core/issues/6553 ?
I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version.
Please open a new issue if you still encounter this problem with the latest stable version and then please use the issue template. You can also contribute directly by providing a patch – see the developer manual. :)
Thank you!