Clear Database


#1

Hello

in the settings -> privacy there is an option to delete old log data from the database. Corrently, my database is around 10.3 GB and the estimated size after the purge would be 3GB. You can manually trigger the purge, but it seems to me, that this would take too long to do it in the browser. I guess the browser runs into a timeout.
Is there a command to run it via SSH console directly on the server, so I can bypass the timeout? Or is there any other option I could to, to minimize the size of my Database?

Thanks for the help.
Peter


(Matthieu Aubry) #2

Hello

Setup: How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo

The data will be deleted in the cron run, so you wont run into timeout issues