Owncloud size database (Mysql)

I drew attention to the fact that the table will not be deleted oc_activity old records from the files which have no more than 1 year.

For myself, I do not see any reason to keep these records in database since these files a long time ago is not present on the server.

Owncloud has a built-in function to optimize database?

PS I apologize if this question has already been discussed!
Thank you!


you can configure ownCloud to expire the activities after x-days like explained here:


1 Like

Thank you very much! This is what I need!
Do I understand correctly that removes only the data from the database, but the files are not touched?
Thank you!

Yes, this only removes the activity logs for a file which are x-days old from the database. The files itself are not removed.