Owncloud size database (Mysql)

help

#1

Hello!
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!


#2

Hi,

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

https://doc.owncloud.org/server/latest/admin_manual/configuration_server/activity_configuration.html#configuring-your-owncloud-for-the-activity-app


#3

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!


#4

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