The two database tables below on all the satellite sites are getting extremely loaded up and we are getting complaints from customers because they’re hosting company is shutting them down because the database is too big.
How can these be cleared remotely or stop the massive increase?
Unfortunately, it is not possible to remotely delete these entries via the MainWP Dashboard.
To reduce the size of the tables in the future, consider lowering the number of days for which the records are kept. This can be done on the same page at the top:
This is absolutely horrible. There are hundreds and hundreds of websites that are just getting clogged with database information that is not useful. Major major flaw in this reporting plugin.
Note that this will delete all records in these two tables, which means that the Pro Reports reports will not have any information about events prior to this deletion.
As always, please try the snippet on a subset of your child sites and make sure you have DB backups.
When running the script, make sure to select Return info from Child Sites.